stumash / CoursePlanner

http://conucourseplanner.online
MIT License
5 stars 3 forks source link

Minor issue with course data scraper #31

Closed Davidster closed 7 years ago

Davidster commented 7 years ago

If you try to run the course data scraper (Rscript scrape-course-data.r) without first creating the folder course-info-jsonfiles/, the script will encounter the following error:

Error in writeLines(prettify(toJSON(full.course.strings)), file.connection) :
  cannot open the connection
In addition: Warning message:
In writeLines(prettify(toJSON(full.course.strings)), file.connection) :
  cannot open file 'course-info-jsonfiles/ENCS_full-course-info.json': No such file or directory
Execution halted

Suggested fix: the script should create the folder before trying to put files into it.

stumash commented 7 years ago

started development on branch enhancement-31

stumash commented 7 years ago

yes I know we are struggling with a branch naming convention here