On the 2023-07-04 run of sequester_unpaid_projects.R, multiple people with no name were sent emails that had "NA for the body. The "to" part of the address had only an email. They looked like this:
Other people got complete normal emails. I suspect an NA name component caused the body to be NA as it also includes the name. Ths test verifies that assertion:
The str_replace* functions do not tolerate NAs in the replacement strings. NAs in the replacement strings need to be converted ot a viable string before they are used.
On the 2023-07-04 run of
sequester_unpaid_projects.R
, multiple people with no name were sent emails that had "NA for the body. The "to" part of the address had only an email. They looked like this:Other people got complete normal emails. I suspect an NA name component caused the body to be NA as it also includes the name. Ths test verifies that assertion:
The
str_replace*
functions do not tolerate NAs in the replacement strings. NAs in the replacement strings need to be converted ot a viable string before they are used.