@NinjaS
After running the script fix:
file_path <- file.edit(file.path(find.package("swirl"),"Courses","R_Programming","Logic","lesson.yaml"))
file_url <- "https://raw.githubusercontent.com/daniel-j-miller/swirl_courses/master/R_Programming/Logic/lesson.yaml"
download.file(file_url, file_path)
I still get an error: Error in download.file(file_url, file_path) : invalid 'destfile' argument
Any suggestions?