bbartholdy / endgame

Semi-continuous deployment of my PhD dissertation
https://myphd.netlify.app
Creative Commons Attribution 4.0 International
8 stars 0 forks source link

Awkward solution for broken paths in included articles #5

Open bbartholdy opened 1 year ago

bbartholdy commented 1 year ago

When articles are included as submodules, the paths to data within manuscript .qmd/.rmd files are broken. This is solved by creating a new setup chunk in the dissertation chapter with corrected filepaths.

Possible solution:

Include derived data as .rda files usethis::use_data() produced from the raw data, and that way can use devtools::load_all() to load data instead of filepaths.