diff --git a/inst/rmarkdown/templates/bericht/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/bericht/skeleton/skeleton.Rmd index 9aac53f8..71e4a529 100644 --- a/inst/rmarkdown/templates/bericht/skeleton/skeleton.Rmd +++ b/inst/rmarkdown/templates/bericht/skeleton/skeleton.Rmd @@ -27,7 +27,7 @@ report_metacheckable(params$dois, lang = lang) ``` ```{r filter, include = FALSE} -dois <- params$doi[is_metacheckable(params$doi)] +dois <- params$dois[is_metacheckable(params$dois)] enough <- length(dois) > 1 ``` @@ -39,7 +39,7 @@ cat("Es verbleiben nicht genügend DOIs für einen Test.") Die folgende Analyse bezieht sich nur auf die verbleibenden **`r length(dois)`** DOIs. -```{r import, eval = enough, include = FALSE} +```{r import, include = FALSE} cr <- get_cr_md(dois) mcres <- cr_compliance_overview(cr) ``` diff --git a/inst/rmarkdown/templates/report/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/report/skeleton/skeleton.Rmd index 9f084fd8..e46c2c25 100644 --- a/inst/rmarkdown/templates/report/skeleton/skeleton.Rmd +++ b/inst/rmarkdown/templates/report/skeleton/skeleton.Rmd @@ -25,7 +25,7 @@ report_metacheckable(params$dois, lang = lang) ``` ```{r filter, include = FALSE} -dois <- params$doi[is_metacheckable(params$doi)] +dois <- params$dois[is_metacheckable(params$dois)] enough <- length(dois) > 1 ``` @@ -37,7 +37,7 @@ cat("Not enough DOIs remain to run the test.") The following analysis covers only the remaining **`r length(dois)`** DOIs. -```{r import, eval = enough, include = FALSE} +```{r import, include = FALSE} cr <- get_cr_md(dois) mcres <- cr_compliance_overview(cr) ```