Skip to content

Commit

Permalink
remove unused suggested packages
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed Jan 10, 2025
1 parent acd1013 commit 9a9a0f9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,15 @@ Imports:
tidyr,
utils
Suggests:
AUC,
devtools,
Eunomia (>= 2.0.0),
ggplot2,
gridExtra,
IterativeHardThresholding,
knitr,
markdown,
Metrics,
mgcv,
parallel,
plyr,
polspline,
pool,
readr,
ResourceSelection,
ResultModelManager (>= 0.2.0),
Expand Down
2 changes: 1 addition & 1 deletion R/SklearnClassifierSettings.R
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ setSVM <- function(C = list(1, 0.9, 2, 0.1),
tryCatch({
reticulate::import("sklearn")
}, error = function(e) {
stop("scikit-learn in a python environment reachable by reticulate is required to use the Python models")
stop("Cannot import scikit-learn in python. scikit-learn in a python environment reachable by reticulate is required to use the Python models. Please check your python setup with reticulate::py_config() followed by reticulate::import('sklearn')")

Check warning on line 833 in R/SklearnClassifierSettings.R

View check run for this annotation

Codecov / codecov/patch

R/SklearnClassifierSettings.R#L833

Added line #L833 was not covered by tests
})
checkIsClass(seed, c("numeric", "integer"))
checkIsClass(cacheSize, c("numeric", "integer"))
Expand Down
1 change: 0 additions & 1 deletion extras/PackageMaintenance.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ OhdsiRTools::fixHadesLogo()
OhdsiRTools::formatRFolder()
OhdsiRTools::checkUsagePackage("PatientLevelPrediction")
OhdsiRTools::updateCopyrightYearFolder()
devtools::spell_check()

# Create manual and vignettes
unlink("extras/PatientLevelPrediction.pdf")
Expand Down

0 comments on commit 9a9a0f9

Please sign in to comment.