OpenDroneMap / FIELDimageR

FIELDimageR: A R package to analyze orthomosaic images from agricultural field trials. This package is a compilation of functions to analyze pos-mosaicking images from research fields, and allows to: crop the image; remove soil effect; build vegetation indices; rotate the image; build the plot shapefile; extract information for each plot; and evaluate stand count, canopy percentage, and plant height.
GNU General Public License v2.0
239 stars 90 forks source link

"spatialEco" ERROR during install #49

Open benlopez15 opened 11 months ago

benlopez15 commented 11 months ago

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'

Eri2726 commented 11 months ago

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?

filipematias23 commented 11 months ago

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.