search for: grp2analysis_empty

Displaying 4 results from an estimated 4 matches for "grp2analysis_empty".

2018 Jul 13
1
RMarkdown Vignettest in R packages with child is failing in package build
...h 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#Writing-package-vignettes] : "All other files needed to...
2018 Jul 10
2
RMarkdown Vignettest in R packages with child is failing in package build
...ettes 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 document into the main document. While this report renders executing rmarkdown::render or devtools::build_vign...
2018 Sep 14
1
Problem building rmarkdown vignettes with child
...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_vingettes() devtools::build() # or R CMD build PACKAGE all wo...
2018 Jul 10
0
RMarkdown Vignettest in R packages with child is failing in package build
...hank 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 > document into the main document. > > > While this...