Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
paudelsushil opened this issue Feb 21, 2025 · 1 comment

Comments

@paudelsushil
Copy link

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.

@edzer
Copy link
Member

edzer commented Feb 22, 2025

Please reinstall spacetime and gstat.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants