coatless-rpkg / assignr

Tools for Educators Writing Assignments in RMarkdown
https://r-pkg.thecoatlessprofessor.com/assignr/
42 stars 7 forks source link

allow file dependencies to live in folders #13

Closed daviddalpiaz closed 3 years ago

daviddalpiaz commented 3 years ago

Allow "main" folder to utilize sub-directories such as data or img.

coatless commented 3 years ago

Good catch! Though, in the future, we probably want to migrate to an R analysis project structure. (e.g. restricting to pulling files from data/ and images/ and so on.

daviddalpiaz commented 3 years ago

My hubris has come back to bite me. Didn't thoroughly test. Files are being copied, but not into folders like img. Will see if I can fix later, but at a quick glance, the solution isn't clear to me.