Skip to contents

[Deprecated] This function is no longer required because of the new submission system incorporated directly into assignments.

Usage

write_answers(week, where = getwd())

Arguments

week

What week's assignment do you want your answers for? This should be numeric.

where

Where do you want it? That is, in which directory on your computer do you want to write the text file. Defaults to your working directory.

Value

The path to a text file with answers

Details

Get a text file of your answers to the assignment that you can upload to Canvas.

Examples

write_answers(3)
#> Error in write_answers(3): Sorry, answers for week 3 cannot be found.