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
230 stars 89 forks source link

dependencies error #40

Open AndrewJD93 opened 1 year ago

AndrewJD93 commented 1 year ago

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 commented 1 year ago

Trydevtools::install_github("OpenDroneMap/FIELDimageR")  --------------------------------------------------------  Massimiliano LANDINI

Il martedì 10 gennaio 2023 04:51:56 CET, AndrewJD93 ***@***.***> ha scritto:  

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

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

AndrewJD93 commented 1 year ago

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

AndrewJD93 commented 1 year ago

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'

any suggestions as to what this means?

ScymnusRIP commented 1 year ago

To install terra package use remotes::install_github("rspatial/terra") then try again to reinstall FIELDimageR after R restart. Be sure to have installed RTools (if you have windows) https://cran.r-project.org/bin/windows/Rtools/


Massimiliano LANDINI Italy

On 20/01/2023 03:44, AndrewJD93 wrote:

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?

— Reply to this email directly, view it on GitHub https://github.com/OpenDroneMap/FIELDimageR/issues/40#issuecomment-1397859155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYDPHZ7UY3V3ZKSUMXGVJLWTH3YTANCNFSM6AAAAAATWFKWRQ. You are receiving this because you commented.Message ID: @.***>

-- This email has been checked for viruses by Avast antivirus software. www.avast.com