Package fails to install
Consol output:
'> remotes::install_github("RS-eco/traitdata", build_vignettes = T, force=T) Downloading GitHub repo RS-eco/traitdata@HEAD ── R CMD build ───────────────────────────────────────────────────────────────────── ✔ checking for file ‘/private/var/folders/wn/4525434s1xxgzc623cqwtyjr0000gn/T/RtmprwROqA/remotes101fa6089c8bd/RS-eco-traitdata-5560f5a/DESCRIPTION’ ... ─ preparing ‘traitdata’: ✔ checking DESCRIPTION meta-information ─ installing the package to build vignettes E creating vignettes (46.8s) --- re-building ‘access-data.Rmd’ using rmarkdown --- finished re-building ‘access-data.Rmd’
--- re-building ‘data_info.Rmd’ using rmarkdown --- finished re-building ‘data_info.Rmd’
--- re-building ‘island-birds.Rmd’ using rmarkdown --- finished re-building ‘island-birds.Rmd’
--- re-building ‘migbehav_birds.Rmd’ using rmarkdown --- finished re-building ‘migbehav_birds.Rmd’
--- re-building ‘morpho-indices.Rmd’ using rmarkdown
Quitting from lines 54-68 [unnamed-chunk-2] (morpho-indices.Rmd) Error: processing vignette 'morpho-indices.Rmd' failed with diagnostics: there is no package called 'patchwork' --- failed re-building ‘morpho-indices.Rmd’
--- re-building ‘pantheria.Rmd’ using rmarkdown --- finished re-building ‘pantheria.Rmd’
--- re-building ‘passerines.Rmd’ using rmarkdown --- finished re-building ‘passerines.Rmd’
--- re-building ‘trait_glossary.Rmd’ using rmarkdown --- finished re-building ‘trait_glossary.Rmd’
SUMMARY: processing the following file failed: ‘morpho-indices.Rmd’
Error: Vignette re-building failed. Execution halted Error: Failed to install 'traitdata' from GitHub: ! System command 'R' failed'
Seems like you are missing the patchwork package for an installation with vignettes.
So either install the patchwork package or try setting build_vignettes=FALSE when running the install_github function.
Best,
RS-eco
On 6 September 2024 01:23:41 CEST, ite248 @.***> wrote:
Consol output:
'> remotes::install_github("RS-eco/traitdata", build_vignettes = T, force=T) Downloading GitHub repo @.*** ── R CMD build ───────────────────────────────────────────────────────────────────── ✔ checking for file ‘/private/var/folders/wn/4525434s1xxgzc623cqwtyjr0000gn/T/RtmprwROqA/remotes101fa6089c8bd/RS-eco-traitdata-5560f5a/DESCRIPTION’ ... ─ preparing ‘traitdata’: ✔ checking DESCRIPTION meta-information ─ installing the package to build vignettes E creating vignettes (46.8s) --- re-building ‘access-data.Rmd’ using rmarkdown --- finished re-building ‘access-data.Rmd’
--- re-building ‘data_info.Rmd’ using rmarkdown --- finished re-building ‘data_info.Rmd’
--- re-building ‘island-birds.Rmd’ using rmarkdown --- finished re-building ‘island-birds.Rmd’
--- re-building ‘migbehav_birds.Rmd’ using rmarkdown --- finished re-building ‘migbehav_birds.Rmd’
--- re-building ‘morpho-indices.Rmd’ using rmarkdown
Quitting from lines 54-68 [unnamed-chunk-2] (morpho-indices.Rmd) Error: processing vignette 'morpho-indices.Rmd' failed with diagnostics: there is no package called 'patchwork' --- failed re-building ‘morpho-indices.Rmd’
--- re-building ‘pantheria.Rmd’ using rmarkdown --- finished re-building ‘pantheria.Rmd’
--- re-building ‘passerines.Rmd’ using rmarkdown --- finished re-building ‘passerines.Rmd’
--- re-building ‘trait_glossary.Rmd’ using rmarkdown --- finished re-building ‘trait_glossary.Rmd’
SUMMARY: processing the following file failed: ‘morpho-indices.Rmd’
Error: Vignette re-building failed. Execution halted Error: Failed to install 'traitdata' from GitHub: ! System command 'R' failed'
-- Reply to this email directly or view it on GitHub: https://github.com/RS-eco/traitdata/issues/3 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
Ah that worked. Thank you!