To install `mistlecode` yourself, run `devtools::install_github('guslipkin/mistlecode')`.
Also loading: cipheR data.table dplyr purrr slider stringr tidyverse glue
12: JSAbacusFramework.io
Part 1
Surprisingly easy. Just had a small regex typo with ?
instead of +
.
Part 2
What a nightmare! I got the answer wrong 16 times and tried so many things. String replacement, string reduction, listing, unlisting, whatever I could think of. I eventually remembered rrapply and had a wacky solution that didn’t work at all. I took a break for a few days and really read the documentation on how = "recurse"
. Then it was just a matter of realizing that .xname
in the documentation is not the same as names(x)
and I was good to go!