Skip to content

Commit

Permalink
Use one core for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Lei Song committed Jun 11, 2023
1 parent 12aa933 commit 14fb9c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/suspicious_env_outliers.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
#' env_vars <- system.file(
#' 'extdata/bioclim_tanzania_10min.tif',
#' package = 'itsdm') %>% read_stars() %>%
#' slice('band', c(1, 5, 12, 16))
#' slice('band', c(1, 5, 12))
#'
#' occ_outliers <- suspicious_env_outliers(
#' occ = occ_virtual_species, variables = env_vars,
#' z_outlier = 3.5, outliers_print = 4L)
#' z_outlier = 3.5, outliers_print = 4L, nthreads = 1)
#'
#' occ_outliers
#' plot(occ_outliers)
Expand Down
4 changes: 4 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Resubmission (version 0.2.1)

Reduce the example run time for `suspicious_env_outliers` to pass the check. This time, force the example to use only one core, so the ratio of elapsed time to user time should be smaller.

## Update (version 0.2.1)

This is a minor update for the package, addressing the recent upgrade of the `fastshap` package and lightening the examples to run in under 5 seconds.
Expand Down
4 changes: 2 additions & 2 deletions man/suspicious_env_outliers.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 14fb9c8

Please sign in to comment.