Skip to content

Conversation

@gbdias
Copy link

@gbdias gbdias commented Jun 9, 2025

The warning message for a call to a function named fw() was referring to f(), when it should refer to fw() instead.

fw <- function() {
  cat("1\n")
  warning("W1")
  cat("2\n")
  warning("W2")
  cat("3\n")
  warning("W3")
}

fw()
#> 1
#> 2
#> 3
#> Warning messages:
#> 1: In f() : W1
#> 2: In f() : W2
#> 3: In f() : W3

The warning message for a call to a function named fw() was referring to f(), when it should refer to fw() instead.
@gbdias gbdias changed the title typo in Conditions.Rmd Fix typo in Conditions.Rmd Jun 9, 2025
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.

1 participant