ColemanResearchGroup / MHQ2

Code for deriving phenotypes from the second Mental Health Questionnaire in UK Biobank
MIT License
1 stars 1 forks source link

Coding style guide #11

Closed JoniColeman closed 1 year ago

mja commented 1 year ago

Linter for R to help with checking syntax and style: https://lintr.r-lib.org

mja commented 1 year ago

Tidyverse or base R?

JoniColeman commented 1 year ago

I don't have a strong opinion – I know GLAD was Tidyverse based, so perhaps Tidyverse is the way to go. That would also mesh nicely with lintR from a glance at that.

JoniColeman commented 1 year ago

Replaced by lintR checks on all code.