Closed heaston-indecon closed 7 months ago
In line 186 of utils_sv fun_i is NA which is not caught by the is.null() check. Therefore, fun_i is still called even though it is NA.
Fixed by adding an "or is na()" catch into the is.null check on line 198 of FrEDI SV: has_fun_i <- !(fun_i |> is.null() | fun_i %>% is.na())
has_fun_i <- !(fun_i |> is.null() | fun_i %>% is.na())
In line 186 of utils_sv fun_i is NA which is not caught by the is.null() check. Therefore, fun_i is still called even though it is NA.