I have been unable to install Achilles in my Environment in AWS. The following errors occur:
** building package indices
** installing vignettes
‘RunningAchilles.Rmd’ using ‘UTF-8’
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for ‘SqlRender’:
.onLoad failed in loadNamespace() for ‘rJava’, details:
call: inDL(x, as.logical(local), as.logical(now), …)
error: unable to load shared object ‘C:/Users/afisher/Documents/R/win-library/4.0/rJava/libs/i386/rJava.dll’:
LoadLibrary failure: %1 is not a valid Win32 application.
Error : package ‘SqlRender’ could not be loaded
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for ‘i386’
- removing ‘C:/Users/afisher/Documents/R/win-library/4.0/Achilles’
Error: Failed to install ‘Achilles’ from GitHub:
(converted from warning) installation of package ‘C:/Users/afisher/AppData/Local/Temp/RtmpGuxuoZ/file5b34209046fe/Achilles_1.6.3.tar.gz’ had non-zero exit status
install_github(“OHDSI/SqlRender”)
Downloading GitHub repo OHDSI/SqlRender@master
√ checking for file ‘C:\Users\afisher\AppData\Local\Temp\RtmpGuxuoZ\remotes5b34362f7096\OHDSI-SqlRender-1de08b0/DESCRIPTION’ (515ms)
- preparing ‘SqlRender’: (766ms)
√ checking DESCRIPTION meta-information … - checking for LF line-endings in source and make files and shell scripts (504ms)
- checking for empty or unneeded directories
- building ‘SqlRender_1.6.6.tar.gz’
Error: Failed to install ‘SqlRender’ from GitHub:
(converted from warning) package ‘SqlRender’ is in use and will not be installed
install_github(“OHDSI/SqlRender@release”)
Error in parse_repo_spec(repo) :
Invalid git repo specification: ‘OHDSI/SqlRender@release’
Here is my R version output
R.Version()
$platform
[1] “x86_64-w64-mingw32”
$arch
[1] “x86_64”
$os
[1] “mingw32”
$system
[1] “x86_64, mingw32”
$status
[1] “”
$major
[1] “4”
$minor
[1] “0.1”
$year
[1] “2020”
$month
[1] “06”
$day
[1] “06”
$svn rev
[1] “78648”
$language
[1] “R”
$version.string
[1] “R version 4.0.1 (2020-06-06)”
$nickname
[1] “See Things Now”
Environment Variables:
install statements:
library(devtools)
library(rJava)
install_github(“ohdsi/DatabaseConnector”)
install_github(“ohdsi/SqlRender”)
install_github(“ohdsi/Achilles”)