Skip to content

denrou/adventofcode2019

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages