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

Problems with FIELDImageR Installation #56

Open
mfm2174 opened this issue Nov 26, 2023 · 2 comments
Open

Problems with FIELDImageR Installation #56

mfm2174 opened this issue Nov 26, 2023 · 2 comments

Comments

@mfm2174
Copy link

mfm2174 commented Nov 26, 2023

I need help with the installation of FIELDimage package.

I followed all the instructions and I could download everything, unfortunately today I was unable to run FIELDimageR and I had to remove all the packages related to it.

Now, I’m trying to download everything and it appears the following messages with DEVTOOLS:

devtools::install_github(“OpenDroneMap/FIELDimageR”)
devtools::install_github(“filipematias23/FIELDimageR”)

ERROR: dependency ‘EBImage’ is not available for package ‘FIELDimageR’

removing ‘C:/Users/Maggie/AppData/Local/R/win-library/4.3/FIELDimageR’
Warning message:
In i.p(…) :
installation of package ‘C:/Users/Maggie/AppData/Local/Temp/Rtmpwn6zds/file22cc5f8f3d78/FIELDimageR_0.6.0.tar.gz’ had non-zero exit status
In the other site, when I try to install: FIELDimageR_0.6.0.tar.gz (FIELDimageR_0.1.6) and (FIELDimageR_0.4.1) appears the following message:

install.packages(“FIELDimageR_0.6.0.tar.gz”, repos = NULL, type=“source”)

Installing package into ‘C:/Users/Maggie/AppData/Local/R/win-library/4.3’
(as ‘lib’ is unspecified)
ERROR: dependency ‘EBImage’ is not available for package ‘FIELDimageR’

removing ‘C:/Users/Maggie/AppData/Local/R/win-library/4.3/FIELDimageR’
Warning in install.packages :
installation of package ‘FIELDimageR_0.6.0.tar.gz’ had non-zero exit status

Even devtools is givin problems, unable to download it.

I’m still working on it. I tried with several R versions and even downloaded LINUX MINT in order to work with DOCKER. But I’m at home right now and my internet is not soo good. When I come back to the lab I’ll work on it, but I’m seriously looking for other options, because that package had given a lot of problems to many people. It is an excellent job but unfortunately it’s unsustainable to work like that.

@filipematias23
Copy link
Collaborator

Hi there, yyou need to install "EBImage": https://bioconductor.org/packages/release/bioc/html/EBImage.html

Here is the code:

if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("EBImage")
devtools::install_github(“OpenDroneMap/FIELDimageR”)
devtools::install_github(“filipematias23/FIELDimageR”)

You may need to install some other packages... Check in the error msg about missing package "...". One example is the package 'caret' that always ask people to download it first!

Hope it helps!

@mfm2174
Copy link
Author

mfm2174 commented Nov 28, 2023

Hi,

I still have the problem, see the error message:

tentando a URL 'https://cloud.r-project.org/src/contrib/DescTools_0.99.51.tar.gz'
Content type 'application/x-gzip' length 2644614 bytes (2.5 MB)

downloaded 2.5 MB

ERROR: failed to lock directory ‘/home/mfm2174/R/x86_64-pc-linux-gnu-library/4.1’ for modifying
Try removing ‘/home/mfm2174/R/x86_64-pc-linux-gnu-library/4.1/00LOCK-terra’

  • installing source package ‘DescTools’ ...
    ** package ‘DescTools’ successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs

ERROR: compilation failed for package ‘DescTools’

  • removing ‘/home/mfm2174/R/x86_64-pc-linux-gnu-library/4.1/DescTools’
  • installing source package ‘raster’ ...
    ** package ‘raster’ successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs

I'm trying to download DescTools from Linux prompt but I'm having problems.

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