Skip to content

Commit

Permalink
Fix install error. (suggests dplyr 1.0, which is almost 4 years old)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Feb 15, 2024
1 parent 3eab2b4 commit 055cb4b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ vignettes.awk
^\.gitattributes$
_pkgdown.yml
docs
pkgdown/
pkgdown
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ SystemRequirements: GDAL (>= 2.0.1), GEOS (>= 3.4.0),
PROJ (>= 4.8.0), sqlite3
Collate:
'RcppExports.R'
'import-standalone-s3-register.R'
'init.R'
'import-standalone-s3-register.R'
'crs.R'
'bbox.R'
'read.R'
Expand Down
6 changes: 0 additions & 6 deletions R/tidyverse.R
Original file line number Diff line number Diff line change
Expand Up @@ -666,12 +666,6 @@ pillar_shaft.sfc <- function(x, ...) {

#nocov start
register_all_s3_methods = function() {
has_dplyr_1.0 =
requireNamespace("dplyr", quietly = TRUE) &&
utils::packageVersion("dplyr") >= "0.8.99.9000"

if (!has_dplyr_1.0) stop("dplyr (>= 1.0) is required.", call. = FALSE)

s3_register("dplyr::dplyr_reconstruct", "sf")
s3_register("dplyr::anti_join", "sf")
s3_register("dplyr::arrange", "sf")
Expand Down

0 comments on commit 055cb4b

Please sign in to comment.