-
Notifications
You must be signed in to change notification settings - Fork 7
problem during installing Rswarm and Rvsearch #16
Description
hi,
i'm countering issue installing Rswarm (and Rvsearch) :
path <- file.path(tempfile(pattern="Rswarm-"), "Rswarm")
dir.create(path, recursive=TRUE)
repo <- clone("https://github.com/lerch-a/Rswarm.git", path)
cloning into 'C:\Users\abate\AppData\Local\Temp\RtmpU561F2\Rswarm-25acf6e2dcc/Rswarm'...
Receiving objects: 1% (1/51), 21 kb
Receiving objects: 11% (6/51), 21 kb
Receiving objects: 21% (11/51), 21 kb
Receiving objects: 31% (16/51), 21 kb
Receiving objects: 41% (21/51), 21 kb
Receiving objects: 52% (27/51), 21 kb
Receiving objects: 62% (32/51), 21 kb
Receiving objects: 72% (37/51), 21 kb
Receiving objects: 82% (42/51), 21 kb
Receiving objects: 92% (47/51), 21 kb
Receiving objects: 100% (51/51), 21 kb, done.
clone("https://github.com/torognes/swarm.git", file.path(path, "src", "swarm"))
cloning into 'C:\Users\abate\AppData\Local\Temp\RtmpU561F2\Rswarm-25acf6e2dcc/Rswarm/src/swarm'...
Receiving objects: 1% (43/4233), 63 kb
Receiving objects: 11% (466/4233), 127 kb
Receiving objects: 21% (889/4233), 407 kb
Receiving objects: 31% (1313/4233), 463 kb
Receiving objects: 41% (1736/4233), 575 kb
Receiving objects: 51% (2159/4233), 688 kb
Receiving objects: 61% (2583/4233), 856 kb
Receiving objects: 71% (3006/4233), 1640 kb
Receiving objects: 81% (3429/4233), 2649 kb
Receiving objects: 91% (3853/4233), 3545 kb
Receiving objects: 100% (4233/4233), 3666 kb, done.
Local: master C:/Users/abate/AppData/Local/Temp/RtmpU561F2/Rswarm-25acf6e2dcc/Rswarm/src/swarm
Remote: master @ origin (https://github.com/torognes/swarm.git)
Head: [4bf8bfc] 2021-04-26: revert static_cast removal (compilation errors with GCC 4.8 and 4.9)
install(path)
checking for file 'C:\Users\abate\AppData\Local\Temp\RtmpU561F2\Rswarm-25acf6e2dcc\Rswarm/DESCRIPTION' ... checking for file 'C:\Users\abate\AppData\Local\Temp\RtmpU561F2\Rswarm-25acf6e2dcc\Rswarm/DESCRIPTION' ... √ checking for file 'C:\Users\abate\AppData\Local\Temp\RtmpU561F2\Rswarm-25acf6e2dcc\Rswarm/DESCRIPTION'
- preparing 'Rswarm':
checking DESCRIPTION meta-information ... checking DESCRIPTION meta-information ... √ checking DESCRIPTION meta-information
- cleaning src
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- building 'Rswarm_0.99.1.tar.gz'Running "C:/PROGRA
1/R/R-401.2/bin/x64/Rcmd.exe" INSTALL
"C:\Users\abate\AppData\Local\Temp\RtmpU561F2/Rswarm_0.99.1.tar.gz"
--install-tests
- installing to library 'C:/Users/abate/Documents/R/win-library/4.0' * installing source package 'Rswarm' ... ** using staged installation ** libs aucune DLL n'a pas été créé ERROR: compilation failed for package 'Rswarm' * removing 'C:/Users/abate/Documents/R/win-library/4.0/Rswarm' Error in (function (command = NULL, args = character(), error_on_status = TRUE, :
System command 'Rcmd.exe' failed, exit status: 1, stdout & stderr were printed
Type .Last.error.trace to see where the error occurred
.Last.error.trace
Stack trace:
- devtools:::install(path)
- pkgbuild::with_build_tools(required = FALSE, callr::rcmd("INSTALL", ...
- withr::with_path(rtools_path(), code)
- base:::force(code)
- callr::rcmd("INSTALL", c(install_path, opts), echo = !quiet, ...
- callr:::run_r(options)
- base:::with(options, with_envvar(env, do.call(processx::run, ...
- base:::with.default(options, with_envvar(env, do.call(processx::run, ...
- base:::eval(substitute(expr), data, enclos = parent.frame())
- base:::eval(substitute(expr), data, enclos = parent.frame())
- callr:::with_envvar(env, do.call(processx::run, c(list(bin, args = real_cmd ...
- base:::force(code)
- base:::do.call(processx::run, c(list(bin, args = real_cmdargs, ...
- (function (command = NULL, args = character(), error_on_status = TRUE, ...
- throw(new_process_error(res, call = sys.call(), echo = echo, ...
x System command 'Rcmd.exe' failed, exit status: 1, stdout & stderr were printed
Do you know how can I resolve it please.
I'm on W10.
Thanks