Displaying 1 result from an estimated 1 matches for "referencingchilddocu".
2018 Sep 14
1
Problem building rmarkdown vignettes with child
...tte with optional child documents.
Since all markdown files in the vingette folder are build when
executing R CMD build
I did place the child documents in
/inst/ParametrizedReportChid/
so they are excluded from the build.
I do reference them from the markdown file in the vignette folder by:
```{r referencingChildDocument}
child_docs <- "Grp2Analysis_MissingInOneCondtion.Rmd"
if(!sum(NAinfo$nrProteins > 0) > 0){
child_docs <- "Grp2Analysis_Empty.Rmd"
}
child_docs <- system.file("ParametrizedReportsChild",child_docs,package
= "SRMService")
```
```{r includ...