Skip to content

Commit

Permalink
Removed gbm and nnet dependencies due to ALEPlot test code; tests sho…
Browse files Browse the repository at this point in the history
…uld not run on CRAN
  • Loading branch information
tripartio committed Feb 6, 2024
1 parent 7763cc3 commit 5534067
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ale
Title: Interpretable Machine Learning and Statistical Inference with Accumulated Local Effects (ALE)
Version: 0.2.0.20240205
Version: 0.2.0.20240206
Authors@R: c(
person("Chitu", "Okoli", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-5574-7572")),
Expand All @@ -14,11 +14,9 @@ Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
Suggests:
ALEPlot,
gbm,
gridExtra,
knitr,
mgcv,
nnet,
readr,
rmarkdown,
testthat (>= 3.0.0)
Expand Down
4 changes: 3 additions & 1 deletion tests/testthat/test-ALEPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

# Do not run these on CRAN so that the required packages are not included
# as dependencies.
skip_on_cran()
# https://community.rstudio.com/t/skip-an-entire-test-file-on-cran-only/162842
if (!identical(Sys.getenv("NOT_CRAN"), "true")) return()


## nnet -----------------

Expand Down

0 comments on commit 5534067

Please sign in to comment.