FIELDimageR icon indicating copy to clipboard operation
FIELDimageR copied to clipboard

Couldn't able to install FIELDimageR pacakage both using zip file format and devtools intsallation method

Open ashshaksharifdeen opened this issue 1 year ago • 1 comments

I have properly gone through the documentation on the page. I install R 4.30, rstudio, rtools as well when giving this bellow command install.packages("devtools") devtools::install_github("OpenDroneMap/FIELDimageR") i am getting this error : Installing package into ‘C:/Users/Asus/AppData/Local/R/win-library/4.3’ (as ‘lib’ is unspecified)

  • installing source package 'FIELDimageR' ... ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading Error: object 'elide' is not exported by 'namespace:maptools' Execution halted ERROR: lazy loading failed for package 'FIELDimageR'

  • removing 'C:/Users/Asus/AppData/Local/R/win-library/4.3/FIELDimageR' Warning message: In i.p(...) : installation of package ‘C:/Users/Asus/AppData/Local/Temp/RtmpuKAye4/file5b43a3ad8f/FIELDimageR_0.3.3.tar.gz’ had non-zero exit status

    is there any specific version of R that needs to be installed?

    I have tried this method as well : 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.2.tar.gz", repos = NULL, type="source") # Make sure to use the right version (e.g. 0.3.2)

but i am still facing error to install i have placed the zip folder in the folder where i opens the R file but i am getting below error unzip("FIELDimageR-master.zip") Warning message: In unzip("FIELDimageR-master.zip") : error 1 in extracting from zip file

any suggestion or any help would be really helpful this is really great library for plant phenotyping. if anyone assist on this problem i could able do some research using this for my learning purpose

ashshaksharifdeen avatar Jun 19 '23 12:06 ashshaksharifdeen

It should be fixed now, they moved elide from maptools to sp

nfahlgren avatar Jun 22 '23 20:06 nfahlgren