Support the Setup of the R Environment for Clinical Trial Programming Workflows
Overview
The purpose of this package is to support the setup the R environment. The two main features are 'autos', to automatically source files and/or directories into your environment, and 'paths' to consistently set path objects across projects for input and output. Both are implemented using a configuration file to allow easy, custom configurations that can be used for multiple or all projects.
pathsno are no longer attached to the search path (#80)pathsobjects default to the global environment now, but they can be changed using theenvsetup.path.environmentoption (#80)get_path()was added to help you retrieve a path with changing the storage environment using theenvsetup.path.environmentoption (#80)autosare no longer attached to the search path, and are sourced to global (#81)rprofilelets you specify if sourcing of autos should overwrite an object in global if it already exists (#81)- extensive messaging added to make users aware of autos being attached and conflicts (#81)
- object metadata storage is added to track what functions were sourced from where, see
envsetup_environment$object_metadata(#81) - vignettes updated to divide content into smaller chunks (#82)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 9
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 88%
- Median days to close, 50 most recently updated closed issues
- 35
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
12 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/pharmaverse/envsetup on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-10-17 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- 0.3.0Latest2025-10-16 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-10-16
- Total releases
- 1 / 1 yrs
- License
- Apache License 2.0 OSI
- Download size
- 218 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("envsetup")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.