You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
carlosparadis
changed the title
Directory Doesn't Get Created in Causal Flaw Analysis Notebook
Create Directories Automatically in Notebooks
Dec 5, 2023
I think the bigger consideration here relates somewhat to #230, which is thinking through the folder organization more carefully for both rawdata and analysis in Kaiaulu, including reusing files across Notebooks, which your project is an example of.
The config and the project folder organization have evolved a bit since the config was last refactored (neither of these Notebooks even existed then). I will give it some thought. Feel free to add any other references where code breaks due to the absence of not making new folders.
https://github.com/sailuh/kaiaulu/blob/ffd5f300e0c66c70ccc2beefcb7ab7da9ee9408c/vignettes/causal_flaws.Rmd#L132C1-L132C1
Running this line will result in
No such file or directoryError in file(con, "w") : cannot open the connection
We can insert a create directory function above this line, e.g., dir.create(paste0(project_path))
The text was updated successfully, but these errors were encountered: