1
0
Fork 0
mirror of https://github.com/sensebox/opensensmapr synced 2025-04-05 21:00:27 +02:00

fix delayed method loading

regression from 6a42357ec3
This commit is contained in:
Norwin 2018-10-19 23:35:19 +02:00
parent c4da876761
commit c89cd274a5

View file

@ -31,9 +31,11 @@ register_s3_method <- function(pkg, generic, class, fun = NULL) {
)
}
register_s3_method('dplyr', 'filter', 'sensebox')
register_s3_method('dplyr', 'mutate', 'sensebox')
register_s3_method('dplyr', 'filter', 'osem_measurements')
register_s3_method('dplyr', 'mutate', 'osem_measurements')
register_s3_method('sf', 'st_as_sf', 'sensebox')
register_s3_method('sf', 'st_as_sf', 'osem_measurements')
.onLoad = function(libname, pkgname) {
register_s3_method('dplyr', 'filter', 'sensebox')
register_s3_method('dplyr', 'mutate', 'sensebox')
register_s3_method('dplyr', 'filter', 'osem_measurements')
register_s3_method('dplyr', 'mutate', 'osem_measurements')
register_s3_method('sf', 'st_as_sf', 'sensebox')
register_s3_method('sf', 'st_as_sf', 'osem_measurements')
}