A demonstration package including C code.
Resources:
- Now You C Me: a blog post from Davis Vaughn that goes through the process, taking advantage of functions in usethis and devtools
- Interfacing compiled code: Chapter 14 of Deep R Programming by Marek Gagolewski. A thorough, in-depth guide, using base R only