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

can't install from GitHub #7

Open
eosnas opened this issue Oct 19, 2020 · 4 comments
Open

can't install from GitHub #7

eosnas opened this issue Oct 19, 2020 · 4 comments
Assignees

Comments

@eosnas
Copy link
Contributor

eosnas commented Oct 19, 2020

I tried to install AKaerial from GitHub. First time I tried, I got an error about 'not being able to update the package 'rlang'. I checked and there was no package 'rlang' in my directory, so I shut down R and tried again. Second try gave me this:

devtools::install_github("USFWS/AKaerial", ref = "master", build_vignettes = TRUE)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘rlang’

Is this a namespace issue or is it on my side? Using R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

And RStudio Version 1.1.453

@eosnas
Copy link
Contributor Author

eosnas commented Oct 21, 2020

This seems to be caused by various dependencies of devtools and/or some interactions with RStudio and not AKaerial. See the link swirldev/swirl#709 and the links within. Uninstalling various packages, and installing AKaerial again worked after several tries.

@eosnas eosnas closed this as completed Oct 21, 2020
@eosnas eosnas reopened this Oct 22, 2020
@JLD-FWS
Copy link

JLD-FWS commented Oct 23, 2020

Had the same issue. First, had to install Rtools (https://cran.r-project.org/bin/windows/Rtools/history.html). Then, when installing AKaerial, I would prompt through to update all necessary packages. But, the install seemed to stop/fail if there was a package that required R to restart. So, I manually updated those packages (i.e., Tools -> Install Packages; "rlang" among about 5 others). After that, install seemed to work and was able to reproduce the example Figures/Tables on my machine.

@eosnas eosnas closed this as completed Jul 5, 2023
@eosnas
Copy link
Contributor Author

eosnas commented Nov 15, 2023

Current version of AKaerial cannot be istalled with newer versions of R

@eosnas eosnas reopened this Nov 15, 2023
@eosnas eosnas pinned this issue Nov 15, 2023
@eosnas
Copy link
Contributor Author

eosnas commented Nov 16, 2023

Should add troubleshooting guidance to readme.

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