R Observatory
Search
install.packages("rstac")
CRAN checks, method
OKnotes on 13 of 13
CRAN 30-day downloads, method
2,143−1.4% down on the 30 days before, the worse direction
Test coverage, method
45%of lines run by tests

Provides functions to access, search and download spacetime earth observation data via SpatioTemporal Asset Catalog (STAC). This package supports the version 1.0.0 (and older) of the STAC specification (<https://github.com/radiantearth/stac-spec>). For further details see Simoes et al. (2021) <doi:10.1109/IGARSS47720.2021.9553518>.

Maintainer
Felipe Carvalho
Latest release
18 Jul 2024
First release
14 Dec 2020

Compare with another package

More details
Releases
12
Needs compilation
No
Needs R
>= 3.5
RoxygenNote
7.3.1
Task views (2)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("rstac")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1109/igarss47720.2021.9553518.

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 rstac version 1.0.1 [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.

No warnings or errors. 13 of 13 check platforms have notes.

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

    The unreleased R on Linux, x86_64, debian-clang

    Note

    Version checked
    1.0.1
    Time taken
    68 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    1.0.1
    Time taken
    51 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    Note

    Version checked
    1.0.1
    Time taken
    68 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    Note

    Version checked
    1.0.1
    Time taken
    46 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    Note

    Version checked
    1.0.1
    Time taken
    87 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    Note

    Version checked
    1.0.1

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    Note

    Version checked
    1.0.1
    Time taken
    59 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    Note

    Version checked
    1.0.1
    Time taken
    99 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    Note

    Version checked
    1.0.1
    Time taken
    65 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    Note

    Version checked
    1.0.1
    Time taken
    64 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-release-macos-arm64

    The current release of R on macOS, arm64

    Note

    Version checked
    1.0.1
    Time taken
    17 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    Note

    Version checked
    1.0.1
    Time taken
    60 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    Note

    Version checked
    1.0.1
    Time taken
    86 s

    DESCRIPTION meta-information: Note

    Missing dependency on R >= 4.1.0 because package code uses the pipe

    Full output

  • 13 Note
Check output (2)

DESCRIPTION meta-information, Note on 13 platforms

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘geom-funs.R’
Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    'geom-funs.R'

R code for possible problems, Note on 5 platforms

Found calls to structure() using deprecated special names:
  rstac/tests/testthat/test-items_functions.R (.Dim: 1)
'.Dim' should be changed to 'dim'.

Check results on CRAN

Total downloads in the last 30 days
2,712+7.4% up on the 30 days before, the better directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

2,576 of 26,530

CRAN

2,143 downloads in the last 30 days

Rank
2,576 of 26,530
Change
−1.4% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

150 downloads in the last 30 days

Rank
1,969 of 30,526
Change
+78.6% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

9 downloads in the last 30 days

Rank
4,771 of 29,212
Change
−30.8% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

408 downloads in the last 30 days

Rank
1,668 of 3,828
Change
+67.2% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

2 downloads in the last 30 days

Rank
4,900 of 7,575
Change
−83.3% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
9
Dependent packages
6
Suggested by
4
Needs (9)
Installing it adds
21 packages, 20.1 MB of source
Of those, need compilation
17
Optional extras (10)
Dependent packages (6)
PackageTitleDownloads in 30 days
sitsSatellite Image Time Series Analysis for Earth Observation Data Cubes646
rsiEfficiently Retrieve and Process Satellite Imagery548
greenRGreen Index Quantification, Analysis and Visualization539
rcrispAutomate the Delineation of Urban River Spaces436
stacrTidy 'STAC' Workflows for R298
greenSDAccess and Analyze Global GreenSpace Spatial Data276
Functions
416
Public exports
59
Lines of R code
6,334
Median complexity
1
Functions (416)
Size and composition

Lines by kind (11,661)

KindLinesShare
R code6,33454%
Tests3,03326%
Documentation2,29420%

Lines by language

LanguageLinesShare
R9,36780%
Rd2,29420%

Languages are counted from file extensions.

Files
88
R functions
416
Object systems
S3: 165 methods
Complexity
Median
1
Mean
2.18
Highest
13
Median lines per function
4
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
416
Calls
631
Unconnected
40
Groups
3
Growth (12 releases)
Total lines by release
11,165 on 14 Dec 202011,661 on 18 Jul 2024
Release changes

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

Lines run by tests
45.1%
Expressions run by tests
43.2%
Test cases
23
Exports named in tests
61%
Coverage by file (37)
Coverage run
Lines counted
2,158
Lines the tests ran
974
Tests passed
No
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
23
Lines of tests
3,033
Test lines per line of code
0.48
Exports documented
98.3%
Arguments documented
95.8%
Return value documented
100%
Help pages with examples
77.3%
Examples run in checks
0%
Other documentation
README
Yes, 900 words
Release notes file
Yes
Help pages
22
Lines of documentation
2,294

brazil-data-cube / rstac on github.com

Stars
82+1.2% up on 30 days ago, the better direction
Forks
21
Open issues
5
Last commit
24 Dec 2025
Activity
Commits
1,074
Open pull requests
0
Tagged releases
13
Latest tagged release
v1.0.0, 14 Feb 2024
In development
Default branch at 1.1.0, ahead of CRAN 1.0.1 (checked 2026-10-25)
Issues closed in
284 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
93%
Created
25 Jun 2020
Licence file reads as
–
Development practices (10)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow, AppVeyor
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Governance and communityIssue templates
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2024-07-18
pkgdown site last built 2024-07-18
CoverageCoverage reporting (Codecov)
Lint, format, editorRStudio project
Git structural.gitattributes

Method, repository practices

Across brazil-data-cube

R releases
  • On CRAN
  • Release
VersionReleasedREvents
1.0.1 current18 Jul 20244.4.1
1.0.014 Feb 20244.3.2
0.9.2-511 Feb 20244.3.2
0.9.2-414 Jun 20234.3.0
0.9.2-310 May 20234.3.0
0.9.2-21 Feb 20234.2.2
0.9.2-122 Jan 20234.2.2
0.9.220 Jan 20234.2.2Maintainer: Felipe Carvalho
Earlier versions (4)
VersionReleasedR
0.9.1-531 Oct 20214.1.1
0.9.1-410 Jul 20214.1.0
0.9.116 Apr 20214.0.5
0.9.014 Dec 20204.0.3
Release notes (1.0.1)
  • Add support to jpg in preview_plot() function (#161)
  • Fix variable in filter expressions (non-standard evaluation) (#160)
  • Fix limit parameter as integer type in stac_search() and items()
  • Improve items_reap() documentation (#152)