pbs-assess / gfiscamutils

:hammer: Utilities for https://github.com/pbs-assess/gfiscam models, including loading, plotting, and table-making
0 stars 1 forks source link

Unable to build package in R 4.4.0 #6

Closed grinnellm closed 5 months ago

grinnellm commented 6 months ago

Seems like maybe the issue is that the rgeos package has been archived?

==> devtools::document(roclets = c('rd', 'collate', 'namespace')) ℹ Updating gfiscamutils documentation ℹ Loading gfiscamutils Error in load_imports(path) : The package "rgeos" is required. Calls: suppressPackageStartupMessages ... load_imports -> deps_check_installed -> check_installed Execution halted Exited with status 1.

==> Rcmd.exe INSTALL --preclean --no-multiarch --with-keep.source gfiscamutils

install.packages("rgeos") Warning in install.packages : package ‘rgeos’ is not available for this version of R A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

https://cran.r-project.org/web/packages/rgeos/index.html

cgrandin commented 6 months ago

Yes. rgeos is obsolete now and no longer supported. Delete this line and re-build the docs: https://github.com/pbs-assess/gfiscamutils/blob/de164b339b62249e62827485e83d0cb64240b2c4/DESCRIPTION#L31

If there are any functions from rgeos in your branch then you need to recode those not using rgeos

grinnellm commented 5 months ago

Thanks Chris, I forgot this was just the Herring branch (I assume it's fixed on Main).