File: zzz.R

package info (click to toggle)
r-cran-rsample 0.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,696 kB
  • sloc: sh: 13; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 624 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# nocov start

.onLoad <- function(libname, pkgname) {
  if (dplyr_pre_1.0.0()) {
    vctrs::s3_register("dplyr::mutate", "rset", method = mutate_rset)
    vctrs::s3_register("dplyr::arrange", "rset", method = arrange_rset)
    vctrs::s3_register("dplyr::filter", "rset", method = filter_rset)
    vctrs::s3_register("dplyr::rename", "rset", method = rename_rset)
    vctrs::s3_register("dplyr::select", "rset", method = select_rset)
    vctrs::s3_register("dplyr::slice", "rset", method = slice_rset)
  } else {
    vctrs::s3_register("dplyr::dplyr_reconstruct", "rset", method = dplyr_reconstruct_rset)
  }
}

# nocov end