OHDSI / PatientLevelPrediction

An R package for performing patient level prediction in an observational database in the OMOP Common Data Model.
https://ohdsi.github.io/PatientLevelPrediction
187 stars 88 forks source link

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck =vI[[i]]) : #114

Closed jepark315 closed 5 years ago

jepark315 commented 5 years ago

I'm trying to install this package with different versions but this same error pops up. What is the problem going on?

schuemie commented 5 years ago

Could you provide the rest of the error message?

Also, could you provide the output of sessionInfo()?

jepark315 commented 5 years ago

Sure! I'm sorry those picutres look terrible but this is my best for now.. Please tell me if there's any info needed to make it work.

kakaotalk_20190201_160242656 kakaotalk_20190201_160244221

schuemie commented 5 years ago

Well, the error message suggests you're missing some dependency, but for some reason the characters of the error message are not showing properly (probably something to do with the Korean character set).

Are you using drat or devtools to install PatientLevelPrediction?

Also, could you tell me what version of devtools you're running:

packageVersion("devtools")
jepark315 commented 5 years ago

I didn't use drat or devtools.(I'm not able to use any of those..) I just downloaded files and moved to the server. I think version of dependency is causing the error but have no idea how I could figure it out.

jreps commented 5 years ago

do you still have the issue with the latest code in master?

jepark315 commented 5 years ago

do you still have the issue with the latest code in master?

Yes, I couldn't fix it. Any comment would be so much helpful :)

chandryou commented 5 years ago

@jreps, it is possible to install PLP package without Python?

jreps commented 5 years ago

It should install without python, but the python functions will not work, only lasso logistic regression, knn and gradient boosting. @jepark315, did you try with the latest code committed 5 hours ago? I think I had some issue similar to yours at some point over the past few days but it was fixed in the latest commit. Do you have all the dependancies listed in the package installed (these are found in the description file)?

jepark315 commented 5 years ago

@jreps Thanks to you, I checked the dependancies again and solved this issue so simply. Thank you very much for your comment :)