Introduction to r-lib type safety checks https://josiahparry.com/posts/2024-06-30-type-safety/