darwin-eu-dev / PaRe

PaRe (Package Reviewer) is the successor of the DependencyReviewer package.
https://darwin-eu-dev.github.io/PaRe/
3 stars 3 forks source link

error on check against whitelist #47

Closed ilovemane closed 1 year ago

ilovemane commented 1 year ago

Hi @mvankessel-EMC ,

I get an error when running the check against whitelist for both patientprofiles and drugutilisation. All I did was knitting the code from the parereport generated from PaRe::addPareArticle(repo). All other part of the checks runs fine

image

mvankessel-EMC commented 1 year ago

Looks like pak can't install ggplot2, because there is a conflict with MASS, which requires R >= 4.4. You could try updating R to 4.4.x.

I'm not entirely sure why this is happening, because if you follow the dependency trail, neither requires R 4.4.x, looking at CRAN. ggplot2 requires >3.3, and MASS >4.0.

ilovemane commented 1 year ago

The latest R version of R is 4.3.1 which I am using.

mvankessel-EMC commented 1 year ago

You can try to manually resolve the conflict with MASS, and or any other conflicts that occur with your locally installed packages.

mvankessel-EMC commented 1 year ago

I've looked into this further, I can't exactly figure out what changed, but I've implemented a work around. I'm planning to submit PaRe 0.1.12 to CRAN to soon. You can use the rc branch version in the mean time.

remotes::install_github("darwin-eu-dev/PaRe@rc")
mvankessel-EMC commented 1 year ago

@ilovemane 0.1.12 is on CRAN, let me know if it's fixed.