You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install gstudio and getting an issue similar to this resolved one: #7
When I run install.packages("gstudio") I get the following error:
`Installing package into ‘C:/Users/Katie/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘gstudio’ is not available for this version of R
I've also tried running remotes::install_github("dyerlab/popgraph")
Which has resulted in:
`Installing package into ‘C:/Users/Katie/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
installing source package 'popgraph' ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'rlang' 1.0.4 is already loaded, but >= 1.0.6 is required
Calls: ... asNamespace -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'popgraph'
removing 'C:/Users/Katie/AppData/Local/R/win-library/4.2/popgraph'
Warning messages:
1: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Users\Katie\AppData\Local\R\win-library\4.2\00LOCK\rlang\libs\x64\rlang.dll to C:\Users\Katie\AppData\Local\R\win-library\4.2\rlang\libs\x64\rlang.dll: Permission denied
2: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Users\Katie\AppData\Local\R\win-library\4.2\00LOCK\cli\libs\x64\cli.dll to C:\Users\Katie\AppData\Local\R\win-library\4.2\cli\libs\x64\cli.dll: Permission denied
3: In i.p(...) : installation of package ‘vctrs’ had non-zero exit status
4: In i.p(...) : installation of package ‘digest’ had non-zero exit status
5: In i.p(...) :
installation of package ‘C:/Users/Katie/AppData/Local/Temp/Rtmp6XUO8q/file3fd07577405e/popgraph_1.5.3.tar.gz’ had non-zero exit status`
Activity
rpeimlelke commentedon Jan 26, 2024
Hi
I have the same problem. Can anyone help?
dyerlab commentedon Jan 29, 2024
The error message above says that you need to update your 'rlang' packages. That is what the following lines in the R installer output mean
I would recommend an update of all packages then return and try again.