Closed jeslo328 closed 1 year ago
From the output above, this is what sticks out:
In file(filename, "r", encoding = encoding) : cannot open file 'renv/activate.R': No such file or directory
That suggests that your renv setup is in an invalid state, without an renv/activate.R
file but with source("renv/activate.R")
in your local .Rprofile
.
If you want to use renv for the project (bbr doesn't require users manage their dependencies in any particular way), you could try this to fix the setup:
remove source("renv/activate.R")
from your project's .Rprofile
(it's also possible that that line is in another initialization file, but that'd be unusual)
call renv::init(bare = TRUE)
from an R console for that project
renv::install("devtools")
if it's not already in your project's renv library
devtools::install_github("metrumresearchgroup/bbr", ref = "main")
@jeslo328 I think this is likely an issue with your renv setup, and I can't think of anything on bbr's end that would be responsible. So I'm going to close this, but please feel free to follow up with more details, and we'll try to help if we can.
Hello Im trying to install bbr package but i cant devtools::install_github("metrumresearchgroup/bbr", ref = "main")
Installing package into ‘/SFS/user/ctc/lohydas/WORK/doravirine/renv/library/R-4.2/x86_64-pc-linux-gnu’ (as ‘lib’ is unspecified)