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

Issue with downloading glatos - R version 4.4.2 #250

Open
jordannabergman opened this issue Nov 4, 2024 · 1 comment
Open

Issue with downloading glatos - R version 4.4.2 #250

jordannabergman opened this issue Nov 4, 2024 · 1 comment

Comments

@jordannabergman
Copy link

Hi there - I just installed a new R version and my code no longer seems to work for the glatos package. Here's what I get using the following code:

install.packages("remotes")
library(remotes)
remotes::install_github("jsta/glatos")

Downloading GitHub repo jsta/glatos@HEAD
Skipping 3 packages not available: rgeos, rgdal, gdalUtils
── R CMD build ─────────────────────────────────────────────────────────────────────────
✔ checking for file 'C:\Users\JordannaBergman\AppData\Local\Temp\RtmpkHXVNj\remotes372459e775dc\jsta-glatos-f1e27cf/DESCRIPTION' ...
─ preparing 'glatos': (10.7s)
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts (464ms)
─ checking for empty or unneeded directories
─ building 'glatos_0.4.0.tar.gz'

Installing package into ‘C:/Users/JordannaBergman/AppData/Local/R/win-library/4.4’
(as ‘lib’ is unspecified)
ERROR: dependencies 'gdalUtils', 'rgdal', 'rgeos' are not available for package 'glatos'

  • removing 'C:/Users/JordannaBergman/AppData/Local/R/win-library/4.4/glatos'
    Warning message:
    In i.p(...) :
    installation of package ‘C:/Users/JORDA~1/AppData/Local/Temp/RtmpkHXVNj/file37247f9b35/glatos_0.4.0.tar.gz’ had non-zero exit status

I can't seem to find a way to download the other required packages - do you mind helping me out? Thank you!!

@mhpob
Copy link
Contributor

mhpob commented Nov 5, 2024

You're trying to install a fork of a (much) older version of the package. Try:

remotes::install_github("ocean-tracking-network/glatos")

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