Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ashshaksharifdeen opened this issue Jun 19, 2023 · 1 comment

Comments

@ashshaksharifdeen
Copy link

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

@nfahlgren
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants