Expected match: "The `nonsense` package is required"
Actual message: "The package `nonsense` is required for `test`."
In general you shouldn’t be testing the contents of error messages that come from another package, since those can change at any point. Can you look into expect_snapshot() please? It allows you to monitor changes to messages without causing failures in CRAN checks. See https://testthat.r-lib.org/articles/snapshotting.html
Hello, I see this problem in revdep checks:
In general you shouldn’t be testing the contents of error messages that come from another package, since those can change at any point. Can you look into
expect_snapshot()
please? It allows you to monitor changes to messages without causing failures in CRAN checks. See https://testthat.r-lib.org/articles/snapshotting.htmlWe plan to release rlang 1.0.0 in 2 to 4 weeks.