isuues in installing rspatial package from the gihub repo

At first thought had some issues with my devtools so i had to install it but that dint work i just installed devtools but rspatial din't install anyway

install.packages("devtools")
devtools::install_github("rspatial/rspatial")

library(rspatial)
d <- sp_data('precipitation')
head(d)

the rspatial too threw this error

Error: .onLoad failed in loadNamespace() for 'pkgload', details:
  call: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
  error: there is no package called ‘backports’

Looks like the backports dependency is missing. Try

install.packages("backports")

and come back if that doesn't do it.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.