Skip to content

Commit

Permalink
HELP: Be more explicit that argument 'logical' for availableCores() i…
Browse files Browse the repository at this point in the history
…s ignored on Linux [#92] [ci skip]
  • Loading branch information
HenrikBengtsson committed Dec 10, 2022
1 parent c30d30a commit 27a54b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions R/availableCores.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
#' @param na.rm If TRUE, only non-missing settings are considered/returned.
#'
#' @param logical Passed to
#' \code{\link[parallel]{detectCores}(logical = logical)}, which, if supported,
#' returns the number of logical CPUs (TRUE) or physical CPUs/cores (FALSE).
#' \code{\link[parallel]{detectCores}(logical = logical)}, which,
#' _if supported_, returns the number of logical CPUs (TRUE) or physical
#' CPUs/cores (FALSE).
#' At least as of R 4.2.2, `detectCores()` this argument on Linux.
#' This argument is only if argument `methods` includes `"system"`.
#'
#' @param default The default number of cores to return if no non-missing
Expand Down
6 changes: 4 additions & 2 deletions man/availableCores.Rd

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

0 comments on commit 27a54b5

Please sign in to comment.