Closed sjevelazco closed 2 years ago
This happens because of changes between raster and terra (terra used to depend on raster, now it is the other way around). This problem should go away when terra gets updated on CRAN (in January). Can you test your package with the development version of terra instead?
I installed the development version, and it works. Thanks
Hello Robert
Please, could you tell me on which date the new version of terra will be available on CRAN?
Thank you.
El mar, 14 dic 2021 a las 10:23, Robert Hijmans @.***>) escribió:
Closed #443 https://github.com/rspatial/terra/issues/443.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rspatial/terra/issues/443#event-5766151197, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGW3YWF7EIX7UYIE43R3HLLUQ6DT7ANCNFSM5J6QBXEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
--
Santiago J. E. Velazco, PhD
Postdoctoral researcher.
Department of Botany and Plant Sciences. University of California - Riverside
https://twitter.com/Santiag43066556 https://www.researchgate.net/profile/Santiago_Velazco3 https://orcid.org/0000-0002-7527-0967
I plan to send it to CRAN this weekend or early next week.
Hi I am developing a package and using raster and terra as dependencies. Yesterday, after updating my R, terra, and raster packages, I had an error that does not allow me to install my package correctly. This error seems to be related to the last version of raster and terra package. See the error message below
*devtools::install_github("sjevelazco/flexsdm") E> Error: package slot missing from signature for generic 'coerce' E> and classes Raster, SpatRaster E> cannot use with duplicate class names (the package may need to be re-installed) E> Execution halted E> ERROR: lazy loading failed for package 'flexsdm' E> removing 'C:/Users/santi/AppData/Local/Temp/RtmpGKCIF0/Rinst6281b104f0c/flexsdm' E> ----------------------------------- E> ERROR: package installation failed**
Also, started to appear an error in the test workflow, which I presume must be associated with the installation error above.
Run covr::codecov() Error: Error in file(con, "r") : cannot open the connection Calls: -> package_coverage -> add_hooks -> readLines -> file
In addition: Warning messages:
1: In utils::install.packages(repos = NULL, lib = tmp_lib, pkg$path, :
installation of package 'D:/a/flexsdm/flexsdm' had non-zero exit status
2: In file(con, "r") :
cannot open file 'C:/Users/runneradmin/AppData/Local/Temp/RtmpIJSb1N/R_LIBS19b42a3730ff/flexsdm/R/flexsdm': No such file or directory
Execution halted
Error: Process completed with exit code 1.
I would appreciate any help. My package is under review for publication.
Thank you in advance