2025-06-19
When your package throws an error from an internal function, you have to balance how much of that context you want to show to the user. This involves balancing the error message with the backtrace.
2025-06-19
I’ve always been annoyed by how subsetting missing elements by name had different behaviors for lists vs. vectors.
2025-06-08
My take at a frequently asked question: “How can you recover the positions calculated by a ggrepel layer?”
2025-06-08
Instead of the more idiomatic substr() approach, you can also use gsub() with the {n} quantifier to extract first n characters.