Rmarkdown as a dependency for HaSa Installation
When installing the HaSa, I ran in that errorMessage:
✔checking for file ‘/tmp/RtmpYvq8rC/filedeb185557a1/R-package/DESCRIPTION’ ...
─ preparing ‘HaSa’:
✔checking DESCRIPTION meta-information ...
─ installing the package to build vignettes
E creating vignettes (2.9s)
--- re-building ‘Habitat_Sampler_Usage.Rmd’ using rmarkdown
Error: processing vignette 'Habitat_Sampler_Usage.Rmd' failed with diagnostics:
The 'rmarkdown' package should be installed and declared as a dependency of the 'HaSa' 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 ‘Habitat_Sampler_Usage.Rmd’
SUMMARY: processing the following file failed: ‘Habitat_Sampler_Usage.Rmd’
Fehler: Vignette re-building failed.
As the message already says: rmarkdown isnt declared as a dependency of HaSa so it doesnt install automatically.
After the manual installation with
the installation went through smoothly.