-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi,
I'm simply trying to install package's GLM3r but I can't even differents ways used and tried... I'm sorry if it's seems so simple for all of you but I'm beginner and I'm blocking...
So, I'm using 4.1.1 R version and I'm tried to install the package with differents codes :
library(devtools)
install_github(repo = 'GLEON/GLM3r', force = TRUE)
library("devtools")
devtools::install_github("GLEON/GLM3r")
But a same error message is happening :
devtools::install_github("GLEON/GLM3r")
Downloading GitHub repo GLEON/GLM3r@HEAD
Error: Failed to install 'GLM3r' from GitHub:
create process 'C:/PROGRA1/R/R-411.1/bin/x64/Rcmd.exe' (system error 267, Nom de répertoire non valide.
) @win/processx.c:1040 (processx_exec)
I'm also tried to use 3.6.2 R version but 'rcmdcheck' and 'sessioninfo' dependencies are not available for package 'devtools' and it's impossible to install them too. It's globally a sames error messages for them, e.g install.packages("sessioninfo") :
install.packages("sessioninfo")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘D:/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependency ‘cli’
There are binary versions available but the source versions are later:
binary source needs_compilation
cli 2.5.0 3.1.0 TRUE
sessioninfo 1.1.1 1.2.0 FALSE
Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/cli_2.5.0.zip'
Content type 'application/zip' length 534931 bytes (522 KB)
downloaded 522 KB
package ‘cli’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Max¤µ\AppData\Local\Temp\RtmpWqE9wL\downloaded_packages
installing the source package ‘sessioninfo’
trying URL 'https://cran.rstudio.com/src/contrib/sessioninfo_1.2.0.tar.gz'
Content type 'application/x-gzip' length 171167 bytes (167 KB)
downloaded 167 KB
- installing source package 'sessioninfo' ...
** package 'sessioninfo' correctement décompressé et sommes MD5 vérifiées
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'cli' 2.5.0 is being loaded, but >= 3.1.0 is required
Calls: ... namespaceImportFrom -> asNamespace -> loadNamespace
Exécution arrêtée
ERROR: lazy loading failed for package 'sessioninfo' - removing 'D:/Documents/R/win-library/3.6/sessioninfo'
Warning in install.packages :
installation of package ‘sessioninfo’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\Max¤µ\AppData\Local\Temp\RtmpWqE9wL\downloaded_packages’
Same complications for "Rtools" package who his version is out of bounds (necessary package for "devtools") :
install.packages("Rtools")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘D:/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘Rtools’ is not available (for R version 3.6.2)
av <- available.packages(filters=list())
av[av[, "Rtools"] == pkg, ]
Error in av[, "Rtools"] : subscript out of bounds
View(av)
Then, I even can't install devtools's package and even with that I don't know at all if it will be possible after to install from github the GLM3r package ...
If ever you can help me thank you verry verry much...
Max