Skip to content

dotenv

1.0.3Package record

Load Environment Variables from '.env'

5packages dependsuggested by 4
89.7Kdownloads / year
–test coverage
8/13flavors OK

Overview

About

Load configuration from a '.env' file, that is in the current working directory, into environment variables.

Changes in 1.0.3
  • dotenv now does not error if the env file is empty (#5, @cimentadaj).

From NEWS.md in the release

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  dotenv/R/dotenv-package.r (.Names: 1)
'.Names' should be changed to 'names'.

CRAN check page ↗

Slowest check: 39 s · r-devel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE12 OK, 1 NOTE2026-07-16
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.3
READMEYes · 267 wordsVignettesNoNEWSYes · 100% structured · mentions 1.0.3Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
2includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
0%
Help pages citing references
0%

Downloads

89.7K
CRAN downloads in the past year
Rank #1,726 · ~246/day · ~7.5K/mo
Daily download trend is not available in this view yet.
4.3K30 days
12.1K90 days
89.7K1 year
Compare downloads with other packages →
Also on16.9K r2u4 autocran

Repository

102Stars
8Forks
5Open issues
1Open PRs
1Releases
35Commits
4Commit identities
35 commits · Last activity 2022-10-04 · 0% stars, 30d · Default branch at 1.0.3.9000, ahead of CRAN 1.0.3 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
75%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2025-09-18 · 972026-07-07 · 102
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/gaborcsardi/dotenv on 2026-10-18.

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 (1)
README.Rmd
Coverage (1)
Coverage reporting
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing dotenv adds no packages beyond those that come with R.

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
5direct
0indirect
Imports 5
Suggested by 4
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer, Copyright holder · added in 1.0.2

Maintainer since 1.0 (2014)

Listed in earlier versions (1)
no longer listed · 1.0.1
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.3Latest
    record
    2021-04-22 · current release · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0.2
    record
    2017-03-01 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0.1
    record
    2016-04-07 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.0
    record
    2014-08-27
Show 1 earlier eventHide 1 earlier event
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-08-27
Total releases
4 / 12 yrs
License
MIT + file LICENSE OSI
Download size
4.0 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dotenv")
Csárdi, G. (2021). dotenv: Load Environment Variables from '.env' (Version 1.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.dotenv

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 dotenv version 1.0.3 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, 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