Skip to content

Commit 14fb9c8

Browse files
author
Lei Song
committed
Use one core for examples
1 parent 12aa933 commit 14fb9c8

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

R/suspicious_env_outliers.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@
5555
#' env_vars <- system.file(
5656
#' 'extdata/bioclim_tanzania_10min.tif',
5757
#' package = 'itsdm') %>% read_stars() %>%
58-
#' slice('band', c(1, 5, 12, 16))
58+
#' slice('band', c(1, 5, 12))
5959
#'
6060
#' occ_outliers <- suspicious_env_outliers(
6161
#' occ = occ_virtual_species, variables = env_vars,
62-
#' z_outlier = 3.5, outliers_print = 4L)
62+
#' z_outlier = 3.5, outliers_print = 4L, nthreads = 1)
6363
#'
6464
#' occ_outliers
6565
#' plot(occ_outliers)

cran-comments.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Resubmission (version 0.2.1)
2+
3+
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.
4+
15
## Update (version 0.2.1)
26

37
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.

man/suspicious_env_outliers.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)