General writing conventions
This page covers code formatting conventions for the extendr project. Following these conventions keeps code consistent and readable across contributors.
R code
- Never use
print()to display an R object. Let R print it implicitly. - Use the
extendrsrcandextendrknitr engines for all extendr code. Seeuser-guide/serde-integration.qmdfor a worked example to emulate.