Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RMarkdown path issue for file read-in #61

Open
kaijagahm opened this issue Oct 2, 2024 · 0 comments
Open

RMarkdown path issue for file read-in #61

kaijagahm opened this issue Oct 2, 2024 · 0 comments
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

Comments

@kaijagahm
Copy link
Collaborator

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?

@kaijagahm kaijagahm added help wanted Extra attention is needed type:workflow Issues relating to the workflow episode:reproducible code Issues related to episode 5. Minimal Reproducible Code type:discussion Discussion or feedback about the lesson labels Oct 2, 2024
xortizross added a commit that referenced this issue Oct 16, 2024
Created a data folder and added the .csv file we have been using so that RMarkdown can read it. Related to issue #61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant