Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use expect_snapshot(error = TRUE) instead of expect_error() #6150

Merged
merged 4 commits into from
Oct 24, 2024

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix an anticipated spring cleaning issue.
Briefly, it does exactly as the title says.

@teunbrand teunbrand changed the base branch from main to upkeep-2024-10 October 24, 2024 10:05
@teunbrand teunbrand merged commit b747212 into tidyverse:upkeep-2024-10 Oct 24, 2024
13 checks passed
@teunbrand teunbrand deleted the expect_snapshot branch October 24, 2024 10:06
teunbrand added a commit that referenced this pull request Oct 30, 2024
* record upkeep date

* `usethis::use_mit_licence()`

* fix broken urls

* `usethis:::use_codecov_badge()`

* `usethis::use_lifecycle()`

* `usethis::use_tidy_logo()` &
`pkgdown::build_favicons(overwrite = TRUE)`

* Alt text for cheat sheet link

* Use `knitr::convert_chunk_header(type = "yaml")` (#6149)

* Use `expect_snapshot(error = TRUE)` instead of `expect_error()` (#6150)

* replace `expect_error()` by `expect_snapshot(error = TRUE)`

* censor machine dependent paths in snapshots

* commit snapshots

* skip gnarly snapshots

* Bump R version

* `usethis::use_tidy_description()`

* distribute `test-guides.R`

* convert chunk headers

* regenerate snapshots after moving guides

* adapt to gtable 0.3.6

* use 'core developer team' as copyright holder

* replace `expect_warning()`

* fix non portable file path check

* Hmisc 5.2-0 requires R >= 4.2.0
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