Nothing
Code
yearly() %>% recur_on_month_of_year("Janu")
Condition
Error in `recur_on_month_of_year()`:
! `"janu"` must be a month name or abbreviation.
month > 12
or month < 1
Code
(expect_error(yearly() %>% recur_on_month_of_year(13)))
Output
<error/rlang_error>
Error in `recur_on_month_of_year()`:
! `month` can only take values in [1, 12].
Code
(expect_error(yearly() %>% recur_on_month_of_year(0)))
Output
<error/rlang_error>
Error in `recur_on_month_of_year()`:
! `month` can only take values in [1, 12].
Code
(expect_error(yearly() %>% recur_on_month_of_year(-1)))
Output
<error/rlang_error>
Error in `recur_on_month_of_year()`:
! `month` can only take values in [1, 12].
month
must be a character / integerCode
yearly() %>% recur_on_month_of_year(30.5)
Condition
Error in `recur_on_month_of_year()`:
! Can't convert from `month` <double> to <integer> due to loss of precision.
* Locations: 1
month
can't be missingCode
yearly() %>% recur_on_month_of_year(NA_integer_)
Condition
Error in `recur_on_month_of_year()`:
! `month` can't contain missing values.
i Missing values were detected at 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.