Skip to content

Commit

Permalink
Avoid workaround with dev vctrs
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jun 7, 2023
1 parent 64a389e commit b15f598
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Imports:
tibble,
tidyselect,
utils,
vctrs
vctrs (>= 0.6.2.9000)
Suggests:
arrow,
constructive,
Expand All @@ -49,3 +49,5 @@ RoxygenNote: 7.2.3
Config/testthat/edition: 3
Config/testthat/parallel: false
Config/testthat/start-first: as_duckplyr_df, mutate, filter, count-tally
Remotes:
r-lib/vctrs#1847
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ importFrom(dplyr,desc)
importFrom(dplyr,distinct)
importFrom(dplyr,do)
importFrom(dplyr,dplyr_col_modify)
importFrom(dplyr,dplyr_reconstruct)
importFrom(dplyr,dplyr_row_slice)
importFrom(dplyr,explain)
importFrom(dplyr,filter)
Expand Down
6 changes: 2 additions & 4 deletions R/dplyr_reconstruct.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Generated by 02-duckplyr_df-methods.R

# Avoid harmful stripping of attributes in base implementation
dplyr_reconstruct <- function(data, template) {
UseMethod("dplyr_reconstruct", template)
}
#' @importFrom dplyr dplyr_reconstruct
NULL

#' @export
dplyr_reconstruct.data.frame <- function(data, template) {
Expand Down

0 comments on commit b15f598

Please sign in to comment.