Displaying 4 results from an estimated 4 matches for "grp2analysis_missinginonecondt".
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://...
2018 Jul 10
2
RMarkdown Vignettest in R packages with child is failing in package build
...f 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
document into the main document.
While th...
2018 Sep 14
1
Problem building rmarkdown vignettes with child
...down 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, child = child_docs}
```
When running
devtoo...
2018 Jul 10
0
RMarkdown Vignettest in R packages with child is failing in package build
...blem 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 ot...