Displaying 4 results from an estimated 4 matches for "includemissinginone".
2018 Jul 10
2
RMarkdown Vignettest in R packages with child is failing in package build
...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_vignettes, it fails when building the package with...
2018 Sep 14
1
Problem building rmarkdown vignettes with child
...ldDocument}
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 works fine. However,
devtools::clean_vignettes()
devtools::build() # or R CMD build PACKAGE
Fails with the diagnostic:
** building package indices
** ins...
2018 Jul 13
1
RMarkdown Vignettest in R packages with child is failing in package build
...nettes 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...
2018 Jul 10
0
RMarkdown Vignettest in R packages with child is failing in package build
...> 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...