Skip to content

envsetup

0.3.0Package record

Support the Setup of the R Environment for Clinical Trial Programming Workflows

0packages depend
2.6Kdownloads / year
85.6%test coverage
13/13flavors OK

Overview

About
Maintained by Nicholas MaselCRAN page ↗GitHub ↗Issues ↗Declared funder: Johnson & Johnson Innovative Medicine

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.

Changes in 0.3.0
  • paths no are no longer attached to the search path (#80)
  • paths objects default to the global environment now, but they can be changed using the envsetup.path.environment option (#80)
  • get_path() was added to help you retrieve a path with changing the storage environment using the envsetup.path.environment option (#80)
  • autos are no longer attached to the search path, and are sourced to global (#81)
  • rprofile lets 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

CRAN checks
13OK
Slowest check: 1.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 242 wordsVignettesYes · 5 · dynamicNEWSYes · 100% structured · mentions 0.3.0Citation fileNo
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

2.6K
CRAN downloads in the past year
Rank #18,218 · ~7/day · ~215/mo
Daily download trend is not available in this view yet.
24530 days
71790 days
2.6K1 year
Compare downloads with other packages →
Also on66 r2u3 autocran

Repository

12Stars
4Forks
1Open issues
0Open PRs
2Releases
128Commits
6Commit identities
License file reads as Apache-2.0 · 128 commits · Last activity 2025-10-17 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-04-07 · 92026-07-07 · 12
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-10-17 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (2)
lintrRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing envsetup adds 34 packages (18 with compiled code, 14 MB of source tarballs). Heaviest: pak 3.8 MB, fs 1.4 MB, openssl 1.1 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (5)
Author, Maintainer since 0.3.0 (2025)
Copyright holder
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.0Latest
    2025-10-16 · current release
  • R
    R 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")
Masel, N., Atorus Research, Inc., Johnson & Johnson Innovative Medicine, Ceney, A., & Stackhouse, M. (2025). envsetup: Support the Setup of the R Environment for Clinical Trial Programming Workflows (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for envsetup version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy