README.md

adventofcode

My attempt to Advent Of Code as an R package. Each solution is stored as a function, and solution is given as an example for the function. Unit tests are also provided :)

Installation

You can install the released version of adventofcode from github with:

install.packages("adventofcode")

Example

This is a basic example which shows you how to solve problem from day 1:

library(adventofcode)
sum(sapply(day_1, fuel_requirement))
#> [1] 5055835


denrou/adventofcode2019 documentation built on Dec. 7, 2019, 12:25 a.m.