ERROR: dependencies ‘FeatureExtraction’, ‘PatientLevelPrediction’, ‘OhdsiSharing’ are not available for package ‘oneyearhypertension’
Issue while loading Prediction package in R Studio.
When we click on Install and Restart button.
Tried to install above package with below command and success:
command:
install.packages(“drat”)
drat::addRepo(“OHDSI”)
install.packages(‘FeatureExtraction’)
Error:
.onLoad failed in loadNamespace() for ‘rJava’, details:
call: inDL(x, as.logical(local), as.logical(now), …)
error: unable to load shared object ‘C:/Users/gmehta1/Documents/R/win-library/3.6/rJava/libs/x64/rJava.dll’:
LoadLibrary failure: The specified module could not be found.
Error: package ‘DatabaseConnector’ could not be loaded
In addition: Warning message:
package ‘DatabaseConnector’ was built under R version 3.6.2
Execution halted
ERROR: lazy loading failed for package ‘FeatureExtraction’
- removing ‘C:/Users/gmehta1/Documents/R/win-library/3.6/FeatureExtraction’
Warning in install.packages :
installation of package ‘FeatureExtraction’ had non-zero exit status