Submitting Homeworks

To submit your homework assignments, you first need to clone your GitHub Classroom Assignment repository into your computer by following the steps below. You need to do this once only.

  1. Ctr+Click (to open in a new window) the GitHub Classroom Assignment invite link: https://classroom.github.com/a/1UbG5jvV
  2. If the Join the classroom screen appears, select your name from the list. If your name is not listed, let the instructor know.
  3. Click Accept this assignment
  4. Wait few second for GitHub Classroom to create your repository copy
  5. Refresh the webpage and a link should appear. If not, wait few more seconds and try again.
  6. Click the link to the created repository
  7. Click the Code button –> Open with GitHub Desktop
  8. Select an appropriate Local path on your machine –> click Clone
  9. Select For my own purposes option –> click Continue
  10. From the Repository menu –> select Show in Explorer/Finder
  11. From the opened menu, double-click the file ending in Rproj

After cloning your repository to your machine, you need to perform the following steps for each homework assignments:

  1. Add the Quarto .qmd file of the homework assignment to the homeworks folder
  2. Open the _quarto.yml file and add the name of your homework assignment .qmd file into the appropriate place–notice how the sample files are mentioned. This step will ensure your homework assignment appear in the website after carrying out the remaning steps
  3. When finishing a coherent part the assignment, hit the Render Book button located in the Build pane located in the upper-right area of RStudio and inspect the generated website. If satisfied, head to GitHub Desktop –> write a meaningful commit message, eg, Complete HW1 activity 3 –> commit –> push.
  4. When done and ready for grading, redo the previous step but make sure your commit message say something like “HW1 ready for grading”.