Patrick Giraudoux
2022-Jan-31 12:53 UTC
[Rd] trouble with package loading: Function found when exporting methods from the namespace ‘raster’ which is not S4 generic: ‘all.equal’
This contribution below from Roger Bivand seems to answer the issue raised on this thread. Actually it matches quite well Zhian and Duncan's suspicions, doesn'it ? Best, Patrick -------- Message transf?r? -------- Sujet?: Follow-up on R-devel Date?: Mon, 31 Jan 2022 12:23:57 +0000 De?: Roger Bivand <Roger.Bivand at nhh.no> Pour?: Patrick Giraudoux <patrick.giraudoux at univ-fcomte.fr> Dear Patrick, Could you follow up on R-package-devel and R-devel that (from https://github.com/rspatial/terra/issues/514): CRAN has not yet updated terra to 1.5-12 for R 4.1.2 (since two weeks it is still the previous version). I will send a new version to CRAN this weekend, hopefully it will get build for windows. What happens is that raster is dependent on that version of terra (or later), so you should first do install.packages('terra') (once Windows terra_1.5-17.zip is published and on your mirror) and then install.packages('raster') Best wishes, Roger [[alternative HTML version deleted]]