Skip to content

affinity

0.2.5

Raster Georeferencing, Grid Affine Transforms, Cell Abstraction

0packages depend
3.6Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Michael D. SumnerFirst published 2021-06-021 releasesCRAN page ↗GitHub ↗

Tools for raster georeferencing, grid affine transforms, and general raster logic. These functions provide converters between raster specifications, world vector, geotransform, 'RasterIO' window, and 'RasterIO window' in 'sf' package list format. There are functions to offset a matrix by padding any of four corners (useful for vectorizing neighbourhood operations), and helper functions to harvesting user clicks on a graphics device to use for simple georeferencing of images. Methods used are available from https://en.wikipedia.org/wiki/World_file and https://gdal.org/user/raster_data_model.html.

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 384 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
93%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

3.6K
CRAN downloads in the past year
Rank #11,666 · ~10/day · ~303/mo
Daily download trend is not available in this view yet.
24830 days
85590 days
3.6K1 year
Compare downloads with other packages →
Also on116 r2u

Repository

Repository
14Stars
1Forks
2Open issues
0Open PRs
0Releases
25Commits
1Contributors
25 commits · Last activity 2021-06-15

Stars over time

2023-08-17 · 142026-07-07 · 14

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/hypertidy/affinity on 2026-08-09.

Continuous integration (3)
GitHub ActionsTravis CIAppVeyor
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.2.3
Imports (3)
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.5Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2021-06-02
Total releases
1 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 3.2.3
Bundled data
485 KB / 1 file
Download size
572 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("affinity")
Sumner, M. D. (2021). affinity: Raster Georeferencing, Grid Affine Transforms, Cell Abstraction (Version 0.2.5) [Computer software]. https://doi.org/10.32614/CRAN.package.affinity

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 affinity version 0.2.5 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, 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