Can someone explain how R project are organized and deployed?

This page summarizes the projects mentioned and recommended in the original post on /r/rprogramming

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • ggplot2-book

    ggplot2: elegant graphics for data analysis

  • Projects are mostly to organize your work and to deal with all that working directory confusion (you should never need to use setwd() in a project). The current solution for creating reproducible environments is renv , though it's more of a match for venv. Similar to requirements.txt is a DESCRIPTION file, while it's mostly for package metadata and dependencies, it works well and is used for other project as well. For an example you could check https://github.com/hadley/ggplot2-book and many other Bookdown & Quarto books.

  • box

    Write reusable, composable and modular R code (by klmr)

  • As for organising code within a project, as mentioned packages really don’t allow this beyond collation order. The best solution in this space is the ‘box’ package which implements a fully-featured module system for R. ‘box’ notably gets used by some folks to implement large-scale Shiny applications; if this is what you’re after, I would recommend the ‘rhino’ framework, which builds upon Siny and ‘box’.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • rhino

    Build high quality, enterprise-grade Shiny apps at speed (by Appsilon)

  • As for organising code within a project, as mentioned packages really don’t allow this beyond collation order. The best solution in this space is the ‘box’ package which implements a fully-featured module system for R. ‘box’ notably gets used by some folks to implement large-scale Shiny applications; if this is what you’re after, I would recommend the ‘rhino’ framework, which builds upon Siny and ‘box’.

  • actions

    GitHub Actions for the R community (by r-lib)

  • For CI/CD type of thing perhaps check https://github.com/r-lib/actions .

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts