From 443ab961a874eedee9071a8d1312ca8000088246 Mon Sep 17 00:00:00 2001 From: Rob Hyndman Date: Mon, 22 Apr 2024 14:47:15 +1000 Subject: [PATCH] Fixed assignment numbers --- assignments/A3.qmd | 4 ++-- assignments/A4.qmd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assignments/A3.qmd b/assignments/A3.qmd index 7d74b5e..6f5af1e 100644 --- a/assignments/A3.qmd +++ b/assignments/A3.qmd @@ -25,7 +25,7 @@ Marks will be awarded for clean and efficient code, and for good design. ```{r} #| output: asis source(here::here("course_info.R")) -submit(schedule, "Assignment 4") +submit(schedule, "Assignment 3") ``` # Some suggestions @@ -84,5 +84,5 @@ Below are some ideas for how S3 and/or vctrs can be used with your package from * Implement a to-do list with dates and priorities. Allow the user to add, remove, and update items. Allow the user to filter the list by date and priority. e.g., `add_todo("Buy milk", priority = 3, due = "2022-01-01")`. `show_today()` should return a list of items due today or earlier. -> Create an S3 object that contains all entries in the to-do list. Create generic function(s) and suitable method(s) to add/remove/print/get things from the to-do list. +> Create an S3 object that contains all entries in the to-do list. Create generic function(s) and suitable method(s) to add/remove/print/get things from the to-do list. > Alternatively represent each to-do entry as elements of a vector with vctrs, providing generic function(s) and suitable method(s) for filtering/sorting by priority/date, etc. diff --git a/assignments/A4.qmd b/assignments/A4.qmd index b651be2..3e9dc37 100644 --- a/assignments/A4.qmd +++ b/assignments/A4.qmd @@ -30,5 +30,5 @@ You must use the [targets](https://books.ropensci.org/targets/) package to manag ```{r} #| output: asis source(here::here("course_info.R")) -submit(schedule, "Assignment 3") +submit(schedule, "Assignment 4") ```