Last chance! 50% off unlimited learning
Sale ends in
These functions are the extensions that allow stepper objects to work with vctrs.
# S3 method for almanac_stepper
vec_arith(op, x, y, ...)# S3 method for almanac_stepper.almanac_stepper
vec_ptype2(x, y, ..., x_arg = "", y_arg = "")
# S3 method for almanac_stepper.almanac_stepper
vec_cast(x, to, ..., x_arg = "", to_arg = "")
See the corresponding vctrs function for the exact return value.
An arithmetic operator as a string.
Objects.
Used to pass along error message information.
Used to pass along error message information.
library(vctrs)
vec_arith("+", as.Date("2019-01-04"), workdays(1))
Run the code above in your browser using DataLab