#6271 introduces a CI step running some textual static checks of the src/ code. There are many more similar checks in CRAN_Release that could be built as part of a suite of lints run on each PR.