aoc_get | R Documentation |
Requires AOC_COOKIE environment variable to be set. Downloads and caches puzzle inputs onto your machine.
aoc_get(
day,
year = format(Sys.Date(), "%Y"),
path = here::here(),
overwrite = FALSE,
open = Sys.getenv("AOC_OPEN", unset = interactive())
)
day |
the day of the puzzle |
year |
year of puzzle, defaults to current year |
path |
path to copy template to, defaults to subfolders of current directory |
overwrite |
overwrite existing file, default to interactive() |
Returns the timestamp, in case you're keen on timing your results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.