cole-trapnell-lab / monocle3

Other
333 stars 100 forks source link

spData #544

Open tanasa opened 2 years ago

tanasa commented 2 years ago

Do the functions in Monocle3 (eg graph_test() )requires the package spData ?.

When I am trying to install spData, the message I do receive is :

make: *** [geos_methods.o] Error 1
ERROR: compilation failed for package ‘terra’
* removing ‘/home/btanasa/.R/terra’
ERROR: dependency ‘terra’ is not available for package ‘raster’
* removing ‘/home/btanasa/.R/raster’
ERROR: dependency ‘raster’ is not available for package ‘spData’
* removing ‘/home/btanasa/.R/spData’
ERROR: dependency ‘spData’ is not available for package ‘spatialreg’
* removing ‘/home/btanasa/.R/spatialreg’

The downloaded source packages are in
    ‘/local/scratch/btanasa/slrmtmp.28511097/Rtmp2S7dNY/downloaded_packages’
Warning messages:
1: In install.packages("spData", dependencies = TRUE) :
  installation of package ‘terra’ had non-zero exit status
2: In install.packages("spData", dependencies = TRUE) :
  installation of package ‘raster’ had non-zero exit status
3: In install.packages("spData", dependencies = TRUE) :
  installation of package ‘spData’ had non-zero exit status
4: In install.packages("spData", dependencies = TRUE) :
  installation of package ‘spatialreg’ had non-zero exit status
> knn_test_res <- graph_test(cds,  neighbor_graph="knn", cores=7)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called ‘spData’
chairchild commented 2 years ago

you should install dependent package terra and raster. As the information, your terra was not installed correctly. you can check the erro log, and installed what they need (maybe gdal-lib or PROJ).

brgew commented 1 year ago

Hi,

Is this still a problem?

Thank you, Brent