OpenDroneMap/FIELDimageR

Install FIELDimageR.Extra

benlopez15 opened this issue · 4 comments

I am having trouble installing FIELDimageR.Extra and below is what I get. Any thoughts on this?  
devtools::install_github("filipematias23/FIELDimageR.Extra")

devtools::install_github("filipematias23/FIELDimageR.Extra")
Downloading GitHub repo filipematias23/FIELDimageR.Extra@HEAD
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────
✔ checking for file 'C:\Users\benlopez\AppData\Local\Temp\RtmpWAvMQ3\remotes18a0293c3591\filipematias23-FIELDimageR.Extra-42d2558/DESCRIPTION'
─ preparing 'FIELDimageR.Extra':
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building 'FIELDimageR.Extra_0.0.2.tar.gz'

  • installing source package 'FIELDimageR.Extra' ...
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
    there is no package called 'leafsync'
    Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
    Execution halted
    ERROR: lazy loading failed for package 'FIELDimageR.Extra'
  • removing 'C:/Users/benlopez/AppData/Local/Programs/R/R-4.3.1/library/FIELDimageR.Extra'
    Warning message:
    In i.p(...) :
    installation of package ‘C:/Users/benlopez/AppData/Local/Temp/RtmpWAvMQ3/file18a0339a5655/FIELDimageR.Extra_0.0.2.tar.gz’ had non-zero exit status

Hey there,

Seems you need to install the package 'leafsync'.

Check this part in the msg:

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'leafsync'

Hope it helps,
Filipe

It seems even after installing this library, the error still persists.

`

package ‘leaflet.providers’ successfully unpacked and MD5 sums checked package ‘viridis’ successfully unpacked and MD5 sums checked package ‘leaflet’ successfully unpacked and MD5 sums checked package ‘leafsync’ successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\HP\AppData\Local\Temp\RtmpqEnGDJ\downloaded_packages > devtools::install_github("filipematias23/FIELDimageR.Extra") Downloading GitHub repo filipematias23/FIELDimageR.Extra@HEAD ── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────── ✔ checking for file 'C:\Users\HP\AppData\Local\Temp\RtmpqEnGDJ\remotes29787a481cdc\filipematias23-FIELDimageR.Extra-590a964/DESCRIPTION' (445ms) ─ preparing 'FIELDimageR.Extra': ✔ checking DESCRIPTION meta-information ... ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building 'FIELDimageR.Extra_0.0.2.tar.gz' Installing package into ‘C:/Users/HP/AppData/Local/R/win-library/4.3’ (as ‘lib’ is unspecified) * installing *source* package 'FIELDimageR.Extra' ... ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called 'caret' Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted ERROR: lazy loading failed for package 'FIELDimageR.Extra' * removing 'C:/Users/HP/AppData/Local/R/win-library/4.3/FIELDimageR.Extra' Warning message: In i.p(...) : installation of package ‘C:/Users/HP/AppData/Local/Temp/RtmpqEnGDJ/file29783b775e4c/FIELDimageR.Extra_0.0.2.tar.gz’ had non-zero exit status --   > | > > `

Hi there,

Now you need to install the package "caret" ... Normally, R says what is missing!

Check the msg: there is no package called 'caret'

You need to go installing any extra necessary package that your PC needs ... Just go checking the Error msg and installing them... ok

Hope it helps,
Filipe

Thank you @filipematias23! I was having the same problem as @benlopez15, but after installing the package "leafsync", there are no more issues with the installation of the package 'FIELDimageR.Extra'.