ropensci / MODIStsp

An "R" package for automatic download and preprocessing of MODIS Land Products Time Series
https://docs.ropensci.org/MODIStsp
GNU General Public License v3.0
155 stars 51 forks source link

installation failed #214

Closed Cassie-Qiu68 closed 4 years ago

Cassie-Qiu68 commented 4 years ago

Hi @karthik ,

I am very insterested in the MODIStsp package and I am trying to install the package, however, it always failed and error says: "Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : namespace 'raster' 3.1-5 is already loaded, but >= 3.3.13 is required" In fact, I have updated the raster package.

When I try to use github to install, error also occured as: "Error: Failed to install 'unknown package' from GitHub: Send failure: Connection was reset"

My system is Window 10. Looking forward to your kind help, thanks advance!

lbusett commented 4 years ago

hi @Cassie-Qiu68

For problem 1) try reinstalling the raster package on a fresh R session For problem 2), what command are you issuing, when trying to install from github ?

Lorenzo

Cassie-Qiu68 commented 4 years ago

Hi @lbusett

Many thanks for you help. I have solve the problem and install it successfully. I guess the failure was caused by the version of R. Although I re-installed the raster several times, the version is not the newest. After I update the R from 3.5.2 to the 4.0.2, the update for raster package is successful.

Sijing