The lintr package can be used to check adherence to a coding style. However, out of the box it supports tidyVerse style, which is different from OHDSI style. For example, in OHDSI we prefer camel case for R, while tidyVerse uses snake case. The lintr package allows modifying the style. It would be helpful to create OHDSI-specific settings, so we can apply lintr across HADES.
The
lintr
package can be used to check adherence to a coding style. However, out of the box it supports tidyVerse style, which is different from OHDSI style. For example, in OHDSI we prefer camel case for R, while tidyVerse uses snake case. Thelintr
package allows modifying the style. It would be helpful to create OHDSI-specific settings, so we can apply lintr across HADES.