Skip to content
Prev 18663 / 21312 Next

[Bioc-devel] LazyData: false and accessing data in the YAML section of an Rmd document

Hi,

I with BiocCheck I am getting a warning that my packages uses LazyData: 
true.

So far some of the package vignettes loaded the data in the params 
section of the Rmd file e.g.,

---
title:
...
...
params:
   configuration:  !r data(prolfqua::data_ionstar); 
quote(prolfqua::data_ionstar$filtered()$config )
   project_conf: NULL
   data: !r quote( prolfqua::data_ionstar$filtered()$data )
...
---


However, this will not work with LazyData false. What is the 
bioconductor way of loading the data in the Rmd file Yaml section?

If anyone wonders, why do I need it. By this I can reuse the vignette 
with a different dataset.

Best Witold