is_jholiday fails if the date argument contains NA.
Here is the reproducible test case.
zipangu::is_jholiday(c("2019-01-01", NA, "2021-01-01"))
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'x' in selecting a method for function 'as_date': missing value where TRUE/FALSE needed
is_jholiday fails if the date argument contains NA. Here is the reproducible test case.
Created on 2022-02-21 by the reprex package (v2.0.1)