Closed cansavvy closed 3 years ago
Ugh. Windows is still failing. I thought I had it on that last one.
I've ran out of ideas on how to fix this right now. Will return to it later.
Going to retry this one more time now that the zip file doesn't have that weird folder (https://github.com/jhudsl/DaSL_Course_Template_Bookdown/issues/200)
Nope:
cannot open file './docs/coursera/resources/images/home/rstudio/DaSL_Course_Template_Bookdown/docs/coursera/01-intro_files/figure-html/1YmwKdIy9BeQ3EShgZhvtb3MgR8P6iDX4DfFD65W_gdQ_gcc4fbee202_0_141.png': No such file or directory
But alternatively I may just get rid of that coursera folder because we don't really need it.
Abandoning this strategy for another solution: #56 This PR is no longer relevant.
It appears
rprojroot
doesn't always work consistently on windows operating systems. I think that is the problem behind #49.Edit: nope that wasn't the problem. Turns out Windows was having trouble unzipping the file to begin with and that had to do with its assumption that the example data zip file was a text file instead of a zip file like it is. So this is fixed by using
mode = "wb"
upon downloading withdownload.file()
.