Skip to content

rasterpic

1.0.0Package record

Convert Images to Spatially Referenced 'SpatRaster' Objects

0packages depend
4.1Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About

Convert digital images to spatially referenced 'SpatRaster' objects, as defined by the 'terra' package, using coordinates from supported spatial input classes. Supported inputs include numeric coordinate vectors and objects from the 'sf', 'terra' and 'stars' packages. The main function is an S3 generic, allowing other packages to extend support to additional spatial classes.

Changes in 1.0.0
  • asp_ratio() now reports the supported input types when x is invalid.
  • rasterpic_img() now reports clearer inclusive-range errors when halign or valign are not single numeric values.
  • rasterpic_img() now reports clearer input errors for missing image files and unsupported file extensions, preserves download failure details, warns when geographic coordinates are treated as planar and emits a warning condition for images with fewer than three layers.
  • rasterpic_img() now reports clearer errors when numeric bounding boxes contain missing, infinite or incorrectly ordered coordinates.
  • rasterpic_img() now validates img, expand, crop, mask, inverse and crs before processing.

From NEWS.md in the release

Install

Health

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

none known

Documentation

In release 1.0.0
READMEYes · 372 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.0Citation fileYes · computed when R runs itWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
3 (2 internal)includes a package overview page
Examples that run
0%2 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Downloads

4.1K
CRAN downloads in the past year
Rank #8,139 · ~11/day · ~339/mo
Daily download trend is not available in this view yet.
41330 days
1.1K90 days
4.1K1 year
Compare downloads with other packages →
Also on148 r2u4 autocran

Repository

15Stars
2Forks
0Open issues
0Open PRs
14Releases
291Commits
6Commit identities
rr-statsr-packageterrarastersfpngjpeg
291 commits · Last activity 2026-10-24 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
74%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2023-10-19 · 112026-07-07 · 15
PracticesBeta

25 development-tooling and community-health practices detected across 10 families in the upstream repository

Checks run against github.com/dieghernan/rasterpic on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (6)
Code of conductContributing guideIssue templatesSupport guide

Funding links: GitHub Sponsors, Ko-fi

The repository owner accepts GitHub Sponsors

Docs source (4)
README.qmdpkgdown

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

pkgdown site last built 2026-10-17

Coverage (1)
Coverage reporting
Show all practicesHide 6 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
revdep/
Research and citation (2)
CITATION.cffcodemeta.json
Automation and maintenance (1)
Dependabot
Lint, format, editor (6)
lintrLint workflowjarlAirVS CodeRStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-03-21
    Seen in the repository: .github/agents, .github/skills
    Commits: at least 1 crediting it in the message
  • Claude Codefirst seen 2026-04-25
    Seen in the repository: .claude
    Named in .Rbuildignore: .claude
  • Codexfirst seen 2026-07-18
    Seen in the repository: .codex
    Named in .Rbuildignore: .codex
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing rasterpic adds 12 packages (11 with compiled code, 19 MB of source tarballs). Heaviest: sf 9.3 MB, s2 2.8 MB, Rcpp 1.8 MB.

Depends (1)
R >= 4.1.0
Imports (6)
clipngsfterratoolsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2022), Copyright holder
Releases (14)

Pick two releases to compare their code metrics.

Show 4 earlier eventsHide 4 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.0
    record
    2022-02-18 · diff ↗
  • 0.1.0
    record
    2022-01-27
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-01-27
Total releases
14 / 4 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
2.3 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rasterpic")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

The repository also keeps a CITATION.cff.

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

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