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

Error installing #1

Open
juandavidgutier opened this issue Jul 2, 2022 · 2 comments
Open

Error installing #1

juandavidgutier opened this issue Jul 2, 2022 · 2 comments

Comments

@juandavidgutier
Copy link

Hello @Larsvanderlaan

I am installing causalglm, with this command:

if(!require(devtools)) {
install.packages(devtools)
}
devtools::install_github("tlverse/causalglm")

However, I get this message error:

Failed to install 'sl3' from GitHub:
System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr (last 10 lines):
E> ** inst
E> ** byte-compile and prepare package for lazy loading
E> Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
E> namespace 'rlang' 0.4.11 is already loaded, but >= 1.0.0 is required
E> Calls: ... namespaceImport -> loadNamespace -> namespaceImport -> loadNamespace
E> Ejecución interrumpida
E> ERROR: lazy loading failed for package 'sl3'
E> * removing 'C:/Users/juand/AppData/Local/Temp/RtmpoLY6Lw/Rinste68c13136b81/sl3'
E> -----------------------------------
E> ERROR: package installation failed

I appreciate your cooperation.

@Larsvanderlaan
Copy link
Collaborator

Hi,
Could you try running this command: "devtools::install_github("tlverse/sl3", ref = "Larsvanderlaan-formula_fix")". I was able to install causalglm locally. If that does not work, can you also try: "devtools::install_github("tlverse/sl3")".

@juandavidgutier
Copy link
Author

Hi @Larsvanderlaan,

I followed your suggestion. However, when I try to run the command: "install_github("tlverse/causalglm", dependencies = TRUE)", I get this error message: ERROR: dependency 'doMC' is not available for package 'causalglm'

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