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

dependencies error #40

Open
AndrewJD93 opened this issue Jan 10, 2023 · 4 comments
Open

dependencies error #40

AndrewJD93 opened this issue Jan 10, 2023 · 4 comments

Comments

@AndrewJD93
Copy link

Hi,
Its probably something that I am overlooking (Its been a few years since I used R). When I entered the code install.packages("FIELDimageR_........ I get this error message:

ERROR: dependencies 'EBImage', 'attempt', 'config', 'DT', 'fftwtools', 'git2r', 'maptools', 'DescTools', 'raster', 'rgdal', 'scales', 'sp', 'foreach', 'doParallel', 'plyr', 'spatialEco' are not available for package 'FIELDimageR'

Would greatly appreciate any suggestions.
Yours most confused

@ScymnusRIP
Copy link

ScymnusRIP commented Jan 10, 2023 via email

@AndrewJD93
Copy link
Author

it returned this error message:
In install.packages("devtools") :
installation of package ‘devtools’ had non-zero exit status

@AndrewJD93
Copy link
Author

I found the issue it was the version of R. I updated it started downloading until it got to this stage:
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called 'terra'
Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
ERROR: lazy loading failed for package 'FIELDimageR'

  • removing 'C:/Users/........../AppData/Local/Programs/R/R-4.2.2/library/FIELDimageR'
    Warning messages:
    1: In i.p(...) : installation of package ‘terra’ had non-zero exit status
    2: In i.p(...) :
    installation of package ‘C:/Users/......../AppData/Local/Temp/RtmpojcaHq/file4454383d71f3/FIELDimageR_0.3.3.tar.gz’ had non-zero exit status

any suggestions as to what this means?

@ScymnusRIP
Copy link

ScymnusRIP commented Jan 20, 2023 via email

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