From a30696cd6d05fc8a6ba9821d0ecc795c0afcf29a Mon Sep 17 00:00:00 2001 From: kaz-yos Date: Mon, 13 Jul 2020 05:19:39 -0400 Subject: [PATCH] Add rmarkdown to Suggests Experienced the following in winbuild * checking re-building of vignette outputs ... [1s] WARNING Error(s) in re-building vignettes: --- re-building 'introduction.Rmd' using rmarkdown Warning in engine$weave(file, quiet = quiet, encoding = enc) : The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it. Error: processing vignette 'introduction.Rmd' failed with diagnostics: The 'markdown' package should be declared as a dependency of the 'tableone' package (e.g., in the 'Suggests' field of DESCRIPTION), because it contains vignette(s) built with the 'markdown' package. Please see https://github.com/yihui/knitr/issues/1864 for more information. --- failed re-building 'introduction.Rmd' --- re-building 'smd.Rmd' using rmarkdown Warning in engine$weave(file, quiet = quiet, encoding = enc) : The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it. Error: processing vignette 'smd.Rmd' failed with diagnostics: The 'markdown' package should be declared as a dependency of the 'tableone' package (e.g., in the 'Suggests' field of DESCRIPTION), because it contains vignette(s) built with the 'markdown' package. Please see https://github.com/yihui/knitr/issues/1864 for more information. --- failed re-building 'smd.Rmd' SUMMARY: processing the following files failed: 'introduction.Rmd' 'smd.Rmd' Error: Vignette re-building failed. --- DESCRIPTION | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 68621ae..c036e10 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -39,7 +39,8 @@ Suggests: ggplot2, knitr, geepack, - lme4 + lme4, + rmarkdown URL: https://github.com/kaz-yos/tableone VignetteBuilder: knitr RoxygenNote: 7.1.1