diff --git a/DESCRIPTION b/DESCRIPTION index ca0c50d7b..1065bba92 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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), diff --git a/R/SklearnClassifierSettings.R b/R/SklearnClassifierSettings.R index 0d1ed99c2..bcb25c5d0 100644 --- a/R/SklearnClassifierSettings.R +++ b/R/SklearnClassifierSettings.R @@ -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')") }) checkIsClass(seed, c("numeric", "integer")) checkIsClass(cacheSize, c("numeric", "integer")) diff --git a/extras/PackageMaintenance.R b/extras/PackageMaintenance.R index ba1ee177c..cfdd6442d 100644 --- a/extras/PackageMaintenance.R +++ b/extras/PackageMaintenance.R @@ -24,7 +24,6 @@ OhdsiRTools::fixHadesLogo() OhdsiRTools::formatRFolder() OhdsiRTools::checkUsagePackage("PatientLevelPrediction") OhdsiRTools::updateCopyrightYearFolder() -devtools::spell_check() # Create manual and vignettes unlink("extras/PatientLevelPrediction.pdf")