if (file.exists("renv/activate.R")) { source("renv/activate.R") } else { message("The file 'renv/activate.R' does not exist.") }