FIELDimageR icon indicating copy to clipboard operation
FIELDimageR copied to clipboard

"spatialEco" ERROR during install

Open benlopez15 opened this issue 1 year ago • 2 comments

Below is the code i used to install the package and i get the error "dependency 'spactialEco'. What can I do to fix this? I also tried installing from github using devtools with no success.

setwd("C:/R/FIELDimageR") # ~ is the path from where you saved the file.zip unzip("FIELDimageR-master.zip") file.rename("FIELDimageR-master", "FIELDimageR") shell("R CMD build FIELDimageR") # or system("R CMD build FIELDimageR") install.packages("FIELDimageR_0.3.3.tar.gz", repos = NULL, type="source") # Make sure to use the right version (e.g. 0.3.2) unzip("FIELDimageR_0.3.3.tar.gz")

install.packages("FIELDimageR_0.3.3.tar.gz", repos = NULL, type="source") # Make sure to use the right version (e.g. 0.3.2) ERROR: dependency 'spatialEco' is not available for package 'FIELDimageR'

  • removing 'C:/Users/benlopez/AppData/Local/Programs/R/R-4.3.1/library/FIELDimageR' Warning in install.packages : installation of package ‘FIELDimageR_0.3.3.tar.gz’ had non-zero exit status

benlopez15 avatar Oct 13 '23 14:10 benlopez15

Hi, The same issue happened and I would like to know about the solution.

I thought I should install specialEco, so I tried to install it, but I couldn't. Because currently spatialEco windows Flavor is ERROR on CRAN, and I can't install it because I'm a Windows user.

How can I solve this problem?

Eri2726 avatar Oct 15 '23 14:10 Eri2726

Hi everyone, we are working on updating FIELDimageR and for now we are removing polyPerimeter and spacialEco from the package... Installation seems working ok now... Thanks for understanding.

filipematias23 avatar Oct 21 '23 15:10 filipematias23