Create the Outputs folder if it does not already exist.
Outputs
dir.create("./Outputs", showWarnings = FALSE)
write_csv(rates, "./Outputs/Cancer_rates.csv")