coatless-rpkg / assignr

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

Allow nested folder depth #14

Closed coatless closed 3 years ago

coatless commented 3 years ago

Iterates on #13 by @daviddalpiaz to fully realize #3

Process is:

  1. Jump into the folder where the homework is stored.
  2. Determine all files and folders under a relative linking scheme
  3. Return to original working directory
  4. Copy all files into the appropriate output directories while maintaining the relative linking structure.
  5. ??
  6. Profit!
coatless commented 3 years ago

@daviddalpiaz should be fixed.

Try it out here:

if(!requireNamespace('remotes')) install.packages('remotes')

remotes::install_github('r-assist/assignr@allow-nested-folder-depth')
daviddalpiaz commented 3 years ago

Perfect.

coatless commented 3 years ago

@daviddalpiaz let's get you some reviewer credit for the PR.

c.f. https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-request-reviews https://github.com/features/code-review/