AbdnCHDS / guidebook

Our guide for open and reproducible ways of working in ACHDS
Other
3 stars 5 forks source link

Add content to "good coding practices" chapter #14

Open ClaraGlocke opened 3 years ago

ClaraGlocke commented 3 years ago

documentation, testing, version control

will-ball commented 3 years ago

Is it worth including a reference to style guides in this subchapter (e.g. Tidyverse style guide) and packages like {styler}?

BScheliga commented 3 years ago

@will-ball wow that looks really useful

dblana commented 2 years ago

Other points to add:

Mention the "janitor" package for cleaning variable names

This is a good guide: Best Practices for Writing R Code from The Carpentries. I would argue that for the "Know when to use setwd()" objective: the answer is never! User the "here" package instead 😄