RMarkdown path issue for file read-in #61
Labels
episode:reproducible code
Issues related to episode 5. Minimal Reproducible Code
help wanted
Extra attention is needed
type:discussion
Discussion or feedback about the lesson
type:workflow
Issues relating to the workflow
If we move our episodes from .md to .Rmd, then we're going to have a file path issue. Annoyingly, RMarkdown defaults to the directory where it is stored when reading in files, whereas R scripts default to the project root directory. We could use the
here()
package, but I'm afraid that's going to be a lot of cognitive load for our learners. But then they are probably going to be working in R scripts that don't necessarily match our RMarkdown file exactly. How should we handle this?The text was updated successfully, but these errors were encountered: