Skip to content

Commit

Permalink
unofficially back to 3.6 to not break other packages
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Jul 9, 2024
1 parent b267f8b commit e0de8fe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ License: MIT + file LICENSE
URL: https://poissonconsulting.github.io/chk/, https://github.com/poissonconsulting/chk/
BugReports: https://github.com/poissonconsulting/chk/issues/
Depends:
R (>= 4.0)
R (>= 3.6)
Imports:
lifecycle,
methods,
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# chk 0.9.2

- No longer support R 3.6 as dependency `evaluate` of suggested dependency `testthat` switched to 4.0.
- No longer officially supports R 3.6 as dependency `evaluate` of suggested dependency `testthat` switched to 4.0.
- `check_key()` now preserves active status of `sfc` column of `sf` object.
- Fixed `vld_join(by = NULL)` with R 4.5.

Expand Down
6 changes: 6 additions & 0 deletions R/internal.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@

anyDuplicated(x)
}

# remove when no longer support R < 3.6.0
str2lang <- function(text) {
ex <- parse(text = text, keep.source = FALSE)
ex[[1L]]
}

0 comments on commit e0de8fe

Please sign in to comment.