library(adventofcode21)
x <- readLines("./inst/input10.txt")
p1 <- f10a(x)
p2 <- f10b(x)
stopifnot(p1 == aoc_solutions$day10a)
stopifnot(p2 == aoc_solutions$day10b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.