Reputation: 129
Installed newer R-version 4.3.2, but now I can't install RDCOMClient-package:
install.packages("RDCOMClient")
Warning in install.packages :
package ‘RDCOMClient’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
>
Is there any way to request an update from the creators? Another source?
As a last resort, is there a substitute? Thanks!
UPDT1: Didn't know that, or had forgotten, in any ways - I get this error:
install.packages("RDCOMClient", repos = "http://www.omegahat.net/R", type = "win.binary")
Warning in install.packages :
unable to access index for repository http://www.omegahat.net/R/bin/windows/contrib/4.3:
cannot open URL 'http://www.omegahat.net/R/bin/windows/contrib/4.3/PACKAGES'
package ‘RDCOMClient’ is available as a source package but not as a binary
Warning in install.packages :
package ‘RDCOMClient’ is not available as a binary package for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Trying installation from github, as suggested from the other thread, also does not work for me:
library("devtools")
Loading required package: usethis
> install_github('omegahat/RDCOMClient')
Downloading GitHub repo omegahat/RDCOMClient@HEAD
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file 'C:\Users\cfg010\AppData\Local\Temp\RtmpWeVLP3\remotes5bec30bc74ad\omegahat-RDCOMClient-c8f708a/DESCRIPTION'
─ preparing 'RDCOMClient':
✔ checking DESCRIPTION meta-information ...
─ cleaning src
Warning in system2(command, args, stdout = NULL, stderr = NULL, ...) :
'CreateProcess' failed to run 'C:\rtools43\usr\bin\make.exe -f "C:/PROGRA~1/R/R-43~1.2/share/make/clean.mk" -f Makevars.win clean'
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building 'RDCOMClient_0.96-1.tar.gz'
'\\lvnuser.ad.lvn.se\cfg010$\Mina Dokument\R'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
* installing *source* package 'RDCOMClient' ...
** using staged installation
** libs
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"), :
'CreateProcess' failed to run 'C:\rtools43\usr\bin\make.exe -f "Makevars.win" -f "C:/PROGRA~1/R/R-43~1.2/etc/x64/Makeconf" -f "C:/PROGRA~1/R/R-43~1.2/share/make/winshlib.mk" compilers'
* removing 'C:/Program Files/R/R-4.3.2/library/RDCOMClient'
Warning message:
In i.p(...) :
installation of package ‘C:/Users/cfg010/AppData/Local/Temp/RtmpWeVLP3/file5bec77bf3e83/RDCOMClient_0.96-1.tar.gz’ had non-zero exit status
>
UPDT2:
Running devtools::find_rtools()
or devtools::find_rtools(4.3)
both return [1] TRUE
and Found in Rtools 4.3 installation folder [1] TRUE
- so check on that I presume.
I assume you meant that td <- tempfile()
should be tf <- tempfile()
? If so running the entrie thing sadly does not work:
tf <- tempfile()
> dir.create(tf)
> withr::with_libpaths(new=tf,devtools::install_github("omegahat/RDCOMClient"))
Downloading GitHub repo omegahat/RDCOMClient@HEAD
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file 'C:\Users\cfg010\AppData\Local\Temp\RtmpWeVLP3\remotes5bec59ec78c9\omegahat-RDCOMClient-c8f708a/DESCRIPTION'
─ preparing 'RDCOMClient': (354ms)
✔ checking DESCRIPTION meta-information ...
─ cleaning src
Warning in system2(command, args, stdout = NULL, stderr = NULL, ...) :
'CreateProcess' failed to run 'C:\rtools43\usr\bin\make.exe -f "C:/PROGRA~1/R/R-43~1.2/share/make/clean.mk" -f Makevars.win clean'
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building 'RDCOMClient_0.96-1.tar.gz'
Installing package into ‘C:/Users/cfg010/AppData/Local/Temp/RtmpWeVLP3/file5bec9d77a51’
(as ‘lib’ is unspecified)
'\\lvnuser.ad.lvn.se\cfg010$\Mina Dokument\R'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
* installing *source* package 'RDCOMClient' ...
** using staged installation
** libs
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"), :
'CreateProcess' failed to run 'C:\rtools43\usr\bin\make.exe -f "Makevars.win" -f "C:/PROGRA~1/R/R-43~1.2/etc/x64/Makeconf" -f "C:/PROGRA~1/R/R-43~1.2/share/make/winshlib.mk" compilers'
* removing 'C:/Users/cfg010/AppData/Local/Temp/RtmpWeVLP3/file5bec9d77a51/RDCOMClient'
Warning message:
In i.p(...) :
installation of package ‘C:/Users/cfg010/AppData/Local/Temp/RtmpWeVLP3/file5bec72a7255c/RDCOMClient_0.96-1.tar.gz’ had non-zero exit status
Upvotes: 0
Views: 47