Davis Vaughan
Davis Vaughan
I currently hack around this in almanac for character -> Dates https://github.com/DavisVaughan/almanac/blob/9767f9341f044a95ed900a9f1c0777f03c05dd82/R/utils.R#L20-L44
I think much of the type-common slowdown could be fixed by making `vec_ptype()` a generic, then by giving integer64 a fast `vec_ptype.integer64()` method. I drafted a PR to make vec-ptype...
It would be nice to have this in a single place that we could link to. For example, in documentation: ``` #' `vec_identify_runs()` returns a vector of [identifiers](faq-glossary) ```
Actually it looks like `future::getGlobalsAndPackages()` is passing `mustExist = FALSE` down to globals, so in theory it should have "worked" already. I think this is the true issue: ``` r...
I am also now remembering that in furrr this is a "common gotcha". Each argument to the function you are going to parallelize has to be evaluated once so it...
It is worth noting that `future_map()` fails, but `future_lapply()` works. That only works because of the fact that `future_lapply()` converts the input to a list with `as.list()` before the globals...
Once `packagesOf()` is fixed, it would also be good to ensure that `future::getGlobalsAndPackages()` does indeed remove `dbConnect()` from the list of `$globals` that it returns, since it will instead come...
You can technically find the methods registered for the generic with `attr(utils::methods("["), "info")`, although that gives them all, and not in the cleanest form (the package isn't cleanly separated out...
Fixed by https://github.com/HowardHinnant/date/commit/529a09267f6f4b1f3ac0ab11864ef452be92dd10
I like `morph()` the most out of all of these. It implies some kind of stretching/shrinking of the data without implying any direction. And it is fairly short.