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

Install FIELDimageR.Extra #54

Open
benlopez15 opened this issue Nov 4, 2023 · 4 comments
Open

Install FIELDimageR.Extra #54

benlopez15 opened this issue Nov 4, 2023 · 4 comments

Comments

@benlopez15
Copy link

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
@filipematias23
Copy link
Collaborator

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

@martinchez
Copy link

martinchez commented Nov 21, 2023

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 --   > | > > `

@filipematias23
Copy link
Collaborator

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

@IJTaladrid
Copy link

IJTaladrid commented Dec 15, 2023

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'.

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

4 participants