Assignment 2 (30%)

The ?? package is designed to ??

In this assignment, you will act as a maintainer of the package, fixing problems that have been reported by users.

You will be given a GitHub repository containing the package, and the problems that have been reported are provided as issues. For each issue:

  1. Create a reprex that demonstrates the problem as a comment in the issue.
  2. Fix the problem in the package code.
  3. Add a comment to the issue explaining the bug and the fix, including a link to the commit containing the fix.
  4. Add unit test(s) to the package that confirms the problem is fixed.
  5. Close the issue.

The bug report may not fully describe the extent of the problem, and it may not really be a bug in the package. So you will need to understand what the functions are supposed to do, and then think about why the user has reported the problem. If you believe the problem isn’t a bug, you should instead explain the intended behaviour and update the documentation to better explain what the function does.

In some cases, the problem reported may highlight a weakness in the package beyond the immediate issue. In these cases, you should also address the underlying weakness, and explain what you have done in the issue.

Notes

  1. The package will be developed on GitHub Classroom. Each team will be given a private repository for the assignment. The state of the repository at the time of the deadline will be counted as your submission. Commits after the deadline will be ignored.

  2. Each team member must contribute at least four substantive commits across multiple days. If the team mark is x, but a team member has not contributed adequately, that team member will receive a mark of 0 (for 0 commits), 0.25x (for 1 commit), 0.5x (for 2 commits), 0.75x (for 3 commits). A maximum of 3 commits on any day will count in this calculation.

  3. Generative AI tools may be used in guided ways in this assessment, but you must explain how it was used, including prompts where relevant. Each assignment must include an AI statement. Evidence of AI use that is not mentioned in the statement will result in penalties being applied. Any work submitted for a mark must:

    1. represent a sincere demonstration of your human efforts, skills and subject knowledge that you will be accountable for;
    2. adhere to the guidelines for AI use set for the assessment task;
    3. reflect the University’s commitment to academic integrity and ethical behaviour.

    Inappropriate AI use and/or AI use without acknowledgement will be considered a breach of academic integrity. See Learn HQ for more information.




Due: 5 May 2026
  Join GitHub Classroom