Displaying 3 results from an estimated 3 matches for "nrproteins".
2018 Jul 13
1
RMarkdown Vignettest in R packages with child is failing in package build
Dear Duncan,
Thank you, got it working with your advice.
I did placed the child markdown documents into inst/ParametrizedReportsChild
And this is the code in the main vignette by which I include them:
child_docs <- "Grp2Analysis_MissingInOneCondtion.Rmd_t"
if(!sum(NAinfo$nrProteins > 0) > 0){
child_docs <- "Grp2Analysis_Empty.Rmd_t"
}
child_docs <- system.file(file.path("ParametrizedReportsChild",child_docs),package
= "SRMService")
However, according to writing package vignettes
[https://cran.r-project.org/doc/manuals/R-exts.html...
2018 Sep 14
1
Problem building rmarkdown vignettes with child
...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 includeMissingInOne, child = child_docs}
```
When running
devtools::clean_vignettes()
devtools::build_v...
2018 Jul 10
2
RMarkdown Vignettest in R packages with child is failing in package build
Dear List,
I am working on moving some Rmarkdown reports into the vignettes
folder of a package. While I was able to solve to problem of
parametrized reports in vignettes folder thanks to your invaluable
help (Thank you), I am now struggling with the following problem.
One of the reports which I am moving to vignettes includes the following code :
```{r}
child_docs <-