Nothing
day > 31
or day < -31
or day == 0
Code
(expect_error(yearly() %>% recur_on_day_of_month(32)))
Output
<error/rlang_error>
Error in `recur_on_day_of_month()`:
! `day` can only take values in [-31, -1] and [1, 31].
Code
(expect_error(yearly() %>% recur_on_day_of_month(-32)))
Output
<error/rlang_error>
Error in `recur_on_day_of_month()`:
! `day` can only take values in [-31, -1] and [1, 31].
Code
(expect_error(yearly() %>% recur_on_day_of_month(0)))
Output
<error/rlang_error>
Error in `recur_on_day_of_month()`:
! `day` can only take values in [-31, -1] and [1, 31].
day
must be an integerCode
yearly() %>% recur_on_day_of_month(30.5)
Condition
Error in `recur_on_day_of_month()`:
! Can't convert from `day` <double> to <integer> due to loss of precision.
* Locations: 1
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.