Author

Chris Beeley

Published

October 30, 2022

Modified

July 27, 2024

There is a new newscast podcast available, for those of you who don’t listen to podcasts here is a summary of what we talked about. Listen to the episode, find it wherever you get your podcasts.

NHS-R conference

https://nhsrcommunity.com/events/nhs-r-community-conference-2022/

Linting part deux

Static code analysis

{lintr}

diagnostics in rstudio

Linting in vs code

{styler}

Github actions to lint code

Tidyverse style guide

Structuring projects

scripts, setwd when reading and writing local files

Projects, self-contained and simpler to use (relative filepaths, folder structures, .gitignores)

projects as packages, simple function loading, and unit testing

devtools::load_all()

usethis::use_package()

testthat::use_test()

MIT vs GPL

https://choosealicense.com/

https://www.tidyverse.org/blog/2021/12/relicensing-packages/

Back to top

Reuse

CC0

Citation

For attribution, please cite this work as:
Beeley, Chris. 2022. “NHS-R Newscast 28th October 2022.” October 30, 2022. https://nhs-r-community.github.io/nhs-r-community/blog/nhs-r-newscast-28th-october-2022.html.