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

Remove ellipsis dependency + address deprecation warnings #105

Merged
merged 7 commits into from
Jun 27, 2024
Merged

Remove ellipsis dependency + address deprecation warnings #105

merged 7 commits into from
Jun 27, 2024

Conversation

olivroy
Copy link
Contributor

@olivroy olivroy commented Jun 26, 2024

In favour of rlang since ellipsis is deprecated. https://rlang.r-lib.org/news/index.html#argument-intake-1-0-0

While running tests, I noticed some deprecation warnings, that I took care of

  • Remove context(..) in tests (the context is now derived from test file name)
  • expect_equivalent(...) -> expect_equal(..., ignore_attr = TRUE)
  • aes_string("x", "y") -> aes(.data$x, .data$y) (this required me to use usethis::use_import_from("rlang", ".data") as suggested in ggplot2 in packages vignette
  • Remove covr from Suggests, as the test-coverage action installs the package already.
  • Removed trailing whitespace

@olivroy olivroy changed the title Remove ellipsis dependencies Remove ellipsis dependency + address deprecation warnings Jun 26, 2024
@alexpghayes alexpghayes merged commit 92fa9de into alexpghayes:main Jun 27, 2024
11 checks passed
@olivroy
Copy link
Contributor Author

olivroy commented Jun 27, 2024

the test-coverage action can be fixed by following steps outlined in r-lib/actions#834

@olivroy olivroy deleted the ellipsis branch June 27, 2024 17:21
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