Skip to content

Conversation

hadley
Copy link
Member

@hadley hadley commented Aug 7, 2025

No description provided.

@hadley hadley requested a review from gaborcsardi August 7, 2025 19:42
@hadley
Copy link
Member Author

hadley commented Aug 7, 2025

@gaborcsardi would you mind taking a quick skim through on most of these, but focussing some attention on my changes to the parallel errors.

Copy link
Member

@gaborcsardi gaborcsardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had some minor comments.

R/parallel.R Outdated
@@ -110,7 +107,7 @@ default_num_cpus <- function() {
if (!is.null(ncpus)) {
ncpus <- suppressWarnings(as.integer(ncpus))
if (is.na(ncpus)) {
abort("`getOption(Ncpus)` must be an integer")
cli::cli_abort("{.fn getOption}({.arg Ncpus}) must be an integer.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is weird, maybe use {.code ... instead? Or at least double quote the option name?

@hadley hadley merged commit 0cea43e into main Aug 8, 2025
11 checks passed
@hadley hadley deleted the cli-errors branch August 8, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants