pharmaverse / aNCA

(Pre-)clinical NCA in a dynamic shiny app
Apache License 2.0
6 stars 0 forks source link

Style: Implement lintr #47

Open m-kolomanski opened 1 day ago

m-kolomanski commented 1 day ago

Issue

Closes #40

Description

The details are also up for discussion, but I believe it is necessary to define how the code should be written, so we can keep it clean, consistent and easily understandable. We can automate this process and make sure the code always adheres to the rules by utilizing lintr.

For setup in IDE, please follow this guide.

For Rstudio, in addition I personally recommend checking the Provide R style diagnostics in the Tools -> Global Options -> Code -> Diagnostics. This will display all linter issues within the editor.

For VSCode, I personally recommend installing Error Lens extension for better highlighting.

Definition of Done

m-kolomanski commented 1 day ago

Things to discuss regarding the details of implementation: