The Tidyverse packages are introduced, installed and loaded in earlier lessons. fs package is installed when install.packages("tidyverse"). Therefore, I propose using the fs package for file system manipulation. I think the fs package offers many advantages...
cross platform
many useful functions beyond the base-R equivalents
library(fs) # https://fs.r-lib.org/. fs is a cross-platform, uniform interface to file system operations via R.
dir_create("data")
dir_create("data_output")
dir_create("fig_output")
data viz lesson | code @ lines 55-57
The Tidyverse packages are introduced, installed and loaded in earlier lessons.
fs
package is installed when install.packages("tidyverse"). Therefore, I propose using the fs package for file system manipulation. I think the fs package offers many advantages...Original
Proposed