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

installation isuse #248

Open
SP977 opened this issue Oct 18, 2024 · 5 comments
Open

installation isuse #248

SP977 opened this issue Oct 18, 2024 · 5 comments

Comments

@SP977
Copy link

SP977 commented Oct 18, 2024

I got following error message while installing the package directly from the github:

Error: Failed to install 'glatos' from GitHub:
Failed to R CMD build package, try build = FALSE.

@chrisholbrook
Copy link
Collaborator

What operating system and version of R are you running? And please provide the code you used to install.

@SP977
Copy link
Author

SP977 commented Oct 18, 2024

What operating system and version of R are you running? And please provide the code you used to install.

Windows 11 Enterprise/Microsoft 64-bit
RStudio 2024.09.0 version

code used:
install.packages("remotes")
install_github('ocean-tracking-network/glatos', build_vignettes = TRUE)

@jdpye
Copy link
Member

jdpye commented Oct 18, 2024

Could you try

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

@SP977
Copy link
Author

SP977 commented Oct 18, 2024

got following error:
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'rlang' 0.4.11 is being loaded, but >= 1.1.0 is required
Calls: ... asNamespace -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'glatos'

  • removing 'C:/Users/spaudel/OneDrive - TPWD/Documents/R/R-4.1.1/library/glatos'
    Warning message:
    In i.p(...) :
    installation of package ‘C:/Users/spaudel/AppData/Local/Temp/Rtmpum45OE/file6a946c4e5750/glatos_0.8.0.tar.gz’ had non-zero exit status

@chrisholbrook
Copy link
Collaborator

Update or reinstall rlang, then restart R session and try the install again.

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

3 participants