search for: child_docs

Displaying 5 results from an estimated 5 matches for "child_docs".

2018 Jul 10
2
RMarkdown Vignettest in R packages with child is failing in package build
...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 <- "Grp2Analysis_MissingInOneCondtion.Rmd_t" if(TRUE){ child_docs <- "Grp2Analysis_Empty.Rmd_t" } ``` ```{r includeMissingInOne, child = child_docs} ``` # this is line 351 from the error message which depending on a test outcome includes one or the other Rmarkdown...
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, accor...
2018 Sep 14
1
Problem building rmarkdown vignettes with child
...cuments. 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 includeMissingInOne, c...
2018 Jul 10
0
RMarkdown Vignettest in R packages with child is failing in package build
...as 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 <- "Grp2Analysis_MissingInOneCondtion.Rmd_t" > if(TRUE){ > child_docs <- "Grp2Analysis_Empty.Rmd_t" > } > > ``` > > ```{r includeMissingInOne, child = child_docs} > ``` > # this is line 351 from the error message > > which dependi...
2018 Nov 07
1
Problem building rmarkdown vignettes with child
Hello, This is a problem I posted about already some time ago: https://stat.ethz.ch/pipermail/r-devel/2018-September/076786.html Finally, I did had some time to create a minimal package to reproduce the problem that vignettes with child can not be build. https://github.com/wolski/RmarkdownVignetteProblem The problem basically is that while all the vignettes can be build by running