===============================
R CMD BUILD
===============================
* checking for file ‘spbtest3/DESCRIPTION’ ... OK
* preparing ‘spbtest3’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
--- re-building ‘test2.Rmd’ using rmarkdown
Error: processing vignette 'test2.Rmd' failed with diagnostics:
The 'rmarkdown' package should be installed and declared as a dependency of the 'spbtest3' package (e.g., in the 'Suggests' field of DESCRIPTION), because the latter contains vignette(s) built with the 'rmarkdown' package. Please see https://github.com/yihui/knitr/issues/1864 for more information.
--- failed re-building ‘test2.Rmd’
--- re-building ‘test3.Rmd’ using rmarkdown
Error: processing vignette 'test3.Rmd' failed with diagnostics:
The 'rmarkdown' package should be installed and declared as a dependency of the 'spbtest3' package (e.g., in the 'Suggests' field of DESCRIPTION), because the latter contains vignette(s) built with the 'rmarkdown' package. Please see https://github.com/yihui/knitr/issues/1864 for more information.
--- failed re-building ‘test3.Rmd’
--- re-building ‘test4.Rmd’ using rmarkdown
Error: processing vignette 'test4.Rmd' failed with diagnostics:
The 'rmarkdown' package should be installed and declared as a dependency of the 'spbtest3' package (e.g., in the 'Suggests' field of DESCRIPTION), because the latter contains vignette(s) built with the 'rmarkdown' package. Please see https://github.com/yihui/knitr/issues/1864 for more information.
--- failed re-building ‘test4.Rmd’
--- re-building ‘spbtest3.Rnw’ using Sweave
--- finished re-building ‘spbtest3.Rnw’
--- re-building ‘test.Rnw’ using Sweave
--- finished re-building ‘test.Rnw’
SUMMARY: processing the following files failed:
‘test2.Rmd’ ‘test3.Rmd’ ‘test4.Rmd’
Error: Vignette re-building failed.
Execution halted