R Observatory
Search
install.packages("earthdatalogin")
CRAN 30-day downloads, method
464−34.1% down on the 30 days before, the worse direction
Test coverage, method
60%of lines run by tests

Providing easy, portable access to NASA 'EarthData' products through the use of bearer tokens. Much of NASA's public data catalogs hosted and maintained by its 12 Distributed Active Archive Centers ('DAACs') are now made available on the Amazon Web Services 'S3' storage.

Full description

Providing easy, portable access to NASA 'EarthData' products through the use of bearer tokens. Much of NASA's public data catalogs hosted and maintained by its 12 Distributed Active Archive Centers ('DAACs') are now made available on the Amazon Web Services 'S3' storage. However, accessing this data through the standard 'S3' API is restricted to only to compute resources running inside 'us-west-2' Data Center in Portland, Oregon, which allows NASA to avoid being charged data egress rates. This package provides public access to the data from any networked device by using the 'EarthData' login application programming interface (API), <https://www.earthdata.nasa.gov/data/earthdata-login>, providing convenient authentication and access to cloud-hosted NASA 'EarthData' products. This makes access to a wide range of earth observation data from any location straight forward and compatible with R packages that are widely used with cloud native earth observation data (such as 'terra', 'sf', etc.)

Maintainer
Carl Boettiger
Latest release
19 Jun 2026
First release
16 Nov 2023

Compare with another package

More details
Releases
5
Needs compilation
No
Needs R
>= 4.1.0
Config/testthat/edition
3
Language
en-US
RoxygenNote
7.3.2
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("earthdatalogin")
APA
Boettiger, C., Openscapes, Lind, B., López, L., Panda, Y., & Teucher, A. (2026). earthdatalogin: NASA 'EarthData' Access Utilities (Version 0.0.5) [Computer software]. https://doi.org/10.32614/CRAN.package.earthdatalogin
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.0.5
    Time taken
    45 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.0.5
    Time taken
    36 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.0.5
    Time taken
    32 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.0.5
    Time taken
    37 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.0.5
    Time taken
    70 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.0.5
    Time taken
    28 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.0.5
    Time taken
    62 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.0.5
    Time taken
    76 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.0.5
    Time taken
    39 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.0.5
    Time taken
    39 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.0.5
    Time taken
    23 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.0.5
    Time taken
    64 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.0.5
    Time taken
    75 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (7)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
21 Jun 2026OK13000
5 Jun 2026Error10003
21 May 2026OK13000
20 May 2026Error12001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
466−35.2% down on the 30 days before, the worse directionIt is the sum of 2 channels: CRAN and r2u. autoCRAN was counted over another window, so it is not added.

CRAN rank

6,816 of 26,530

CRAN

464 downloads in the last 30 days

Rank
6,816 of 26,530
Change
−34.1% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

2 downloads in the last 30 days

Rank
14,902 of 30,526
Change
−86.7% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

0 downloads in the last 7 days

It is not added because it has no figure for the last 30 days.

Over time

Compare downloads

Needs
7
Dependent packages
0
Suggested by
0
Needs (7)
Installing it adds
18 packages, 6.5 MB of source
Of those, need compilation
13
Optional extras (12)
Functions
35
Public exports
19
Lines of R code
1,087
Median complexity
2
Functions (35)
Size and composition

Lines by kind (2,664)

KindLinesShare
R code1,08741%
Tests30411%
Documentation72327%
Guides55021%

Lines by language

LanguageLinesShare
R1,39152%
Rd72327%
Vignettes55021%

Languages are counted from file extensions.

Files
80
R functions
35
Object systems
S3: 1 methods
Deprecated functions
1
Complexity
Median
2
Mean
2.4
Highest
9
Median lines per function
12
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
35
Calls
43
Unconnected
5
Groups
4
Growth (5 releases)
Total lines by release
1,070 on 16 Nov 20232,664 on 19 Jun 2026
Release changes

Coverage was measured, but at least one test failed during the run.

Lines run by tests
59.7%
Expressions run by tests
58.7%
Test cases
17
Exports named in tests
73.7%
Coverage by file (10)
Coverage run
Lines counted
340
Lines the tests ran
203
Tests passed
No
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
17
Lines of tests
304
Test lines per line of code
0.28
Exports documented
100%
Arguments documented
100%
Return value documented
94.7%
Help pages with examples
94.7%
Examples run in checks
88.9%
Guides (5)
Other documentation
README
Yes, 1,385 words
Release notes file
Yes
Help pages
19
Lines of documentation
723

Funded by Openscapes

boettiger-lab / earthdatalogin on github.com

Stars
28no change on 30 days ago
Forks
5
Open issues
0
Last commit
19 Jun 2026
Activity
Commits
155
Open pull requests
0
Tagged releases
0
Latest tagged release
–
Issues closed in
282 days (median)
Pull requests closed in
1 day (median)
Pull requests merged
94%
Created
6 Sep 2023
Licence file reads as
–
Development practices (9)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-06-19
The repository has a site deploy workflow
pkgdown site last built 2026-06-19
CRAN release processcran-comments.md, CRAN-SUBMISSION
Lint, format, editorRStudio project

Method, repository practices

Across boettiger-lab

Claude Codeat least 1 crediting itClaude CodeFirst seen 11 Jun 2026at least 1 crediting it
Claude Opus 4.81MClaude Opus 4.81M context window11 Jun 20261 commit

Tools

ToolFirst seenFoundCommits crediting it
Claude Code11 Jun 2026Named in .Rbuildignore.claudePull request it wrote: opened by a project member1 at least
  • Named in .Rbuildignore
  • Pull request

Models

ModelContext windowCommitsFirst commitLast commitCredit lines of
Claude Opus 4.81M111 Jun 202611 Jun 2026Claude Code

Across boettiger-lab

R releases
  • On CRAN
  • Release
VersionReleasedR
0.0.5 current19 Jun 20264.6.0
0.0.412 Jun 20264.6.0
0.0.311 Jul 20254.5.1
0.0.215 Dec 20234.3.2
0.0.116 Nov 20234.3.2
Release notes (0.0.5)
  • edl_download(), edl_search(), and edl_netrc() no longer overwrite stored credentials. Previously, calling these without arguments rewrote the .netrc file with the bundled default credentials, clobbering credentials a user had already set and causing 401 errors. Now the netrc is only (re)written when credentials are supplied explicitly or when no earthdata netrc exists yet (#27, #13).
  • edl_extract_urls() (and edl_search(parse_results = TRUE)) now handle granules with multiple data assets, e.g. one GeoTIFF per band. Previously these errored with "Result must be length 1" (#15).
  • collections_fetch() is deprecated in favor of rstac::collections_fetch(), which now provides this functionality upstream (#17).