Skip to content

Commit

Permalink
Add rmarkdown to Suggests
Browse files Browse the repository at this point in the history
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 yihui/knitr#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 yihui/knitr#1864 for more information.
  --- failed re-building 'smd.Rmd'

SUMMARY: processing the following files failed:
  'introduction.Rmd' 'smd.Rmd'

Error: Vignette re-building failed.
  • Loading branch information
kaz-yos committed Jul 13, 2020
1 parent e555ccc commit a30696c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Suggests:
ggplot2,
knitr,
geepack,
lme4
lme4,
rmarkdown
URL: https://github.com/kaz-yos/tableone
VignetteBuilder: knitr
RoxygenNote: 7.1.1

0 comments on commit a30696c

Please sign in to comment.