Site icon R-bloggers

Organizing R development using srcpkgs

[This article was first published on kforner, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
< section id="overview" class="level2">

Overview

This is an introduction on organizing R projects using source packages (powered by my R package srcpkgs). It is based on notes for a talk I have on 2024-05-27 for the Swiss Institute of Bioinformatics Vital-IT group Analysts meeting.

The objective is to organize R projects in order to:

The context is mostly for analysis oriented R projects.

< section id="r-packages" class="level3">

R packages

All R users use R packages, the core ones such as base, stats, tools, and some from CRAN or BioConductor.

Why would you want to use R packages for your own code???

a R package is:

< section id="on-the-natural-evolution-of-code-projects" class="level2">

On the natural evolution of code projects…

My view on the general evolution of analysis projects:

< section id="summary" class="level3">

Summary

script --> script+functions --> script + source files --> R package --> R source package --> R source library [ + R docker env]

< section id="my-recommended-project-setup" class="level2">

My recommended project setup

< section id="resources" class="level1">

Resources

I (Karl Forner) am currently working as a consultant, contact me if you want me to help you on using R, organizing development, developing R packages or more generally support your software development efforts.

To leave a comment for the author, please follow the link and comment on their blog: kforner.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Exit mobile version