I would love to take advantage of usethis::use_course(), but I keep getting the following error:
> usethis::use_course(shortURL, destdir = getwd())
Downloaded: 1.26 MB (100%)
β Downloaded ZIP file to 'C:/Users/ajf/OneDrive/Teaching/FSAN830 - Spring2019/testUseThisDownload/2TnwCYe'
Error in if (length(unique_top) > 1 || !is_directory) { :
missing value where TRUE/FALSE needed
Here is reproducible code:
# longer URL:
# https://github.com/flyaflya/lotr-tidy/raw/master/rFilesForDataVizClass.zip
shortURL = "https://bit.ly/2TnwCYe"
usethis::use_course(shortURL, destdir = getwd())
Any help/guidance is greatly appreciated. I would love to use this feature all the time.