My team is writing interactive lessons in R using Swirl (swirlify package). We were testing opening the lesson .csv file to see if it would work for users, however, came across the error in the image below. We ran 1install_course()1 in lesson_launchpad.R, and selected Data_Science_For_Lawyers.csv, then came across the error.

I have the latest version of R and RStudio, but am unsure of what the "#" package is and how to get it! Any information greatly appreciated. Thank you!
Github Repository: https://github.com/UCL-DSS/LegalTech
There is a
#in file./LegalTech/Data_Science_For_Lawyers_Course/Lesson_One_-_Getting_Started/dependson.txt. Once I remove that and recompile the course, I get the next error.Note that at least
initLesson.RandcustomTests.RincludeHello. You may want to comment that out.How I came to this conclusion? To load a lession you need to run install the lesson and then export the pack into
swcfile. Looking into this file turned out to be a dead end as it's a binary file. Looking at the messages produced byswirlI got a hint - "Attempting to load lesson dependencies". I entered this into the search bar of swirl GitHub repository and found this line of code. Reading through the code up and down I found line 120 that mentions filedependson.txt. Looking at the contents of this file I saw that it contains a hash character. I removed it, recompiled the course and it solved this particular error.