gstat icon indicating copy to clipboard operation
gstat copied to clipboard

package or namespace load failed for 'gstat': package slot missing from signature for generic 'coerce' and classes STFDF, RasterBrick

Open paudelsushil opened this issue 1 year ago • 1 comments

install.packages('gstat') Installing package into 'C:/Users/clark/AppData/Local/R/win-library/4.4' (as 'lib' is unspecified) Warning: unable to access index for repository http://cloudyr.github.io/drat/bin/windows/contrib/4.4: cannot open URL 'http://cloudyr.github.io/drat/bin/windows/contrib/4.4/PACKAGES' trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.4/gstat_2.1-3.zip' Content type 'application/zip' length 2360522 bytes (2.3 MB) downloaded 2.3 MB

package 'gstat' successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\clark\AppData\Local\Temp\RtmpCmYU6H\downloaded_packages

library("gstat") Error: package or namespace load failed for 'gstat': package slot missing from signature for generic 'coerce' and classes STFDF, RasterBrick cannot use with duplicate class names (the package may need to be re-installed)

I tried many ways to make it happen but could not succeed.

paudelsushil avatar Feb 21 '25 20:02 paudelsushil

Please reinstall spacetime and gstat.

edzer avatar Feb 22 '25 11:02 edzer