Skip to content

footprint

0.2

Calculate Air Travel Emissions

0packages depend
2.9Kdownloads / year
98.4%test coverage
0/13checks pass

Overview

About
Maintained by Anthony SchmidtFirst published 2021-01-062 releasesCRAN page ↗GitHub ↗

A handy tool to calculate carbon footprints from air travel based on three-letter International Air Transport Association (IATA) airport codes or latitude and longitude. footprint first calculates the great-circle distance between departure and arrival destinations. It then uses the Department of Environment, Food & Rural Affairs (DEFRA) greenhouse gas conversion factors for business air travel to estimate the carbon footprint. These conversion factors consider trip length, flight class (e.g. economy, business), and emissions metric (e.g. carbon dioxide equivalent, methane).

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 1.3 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.27
98.4%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • NOTE2026-03-10
    3 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

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

Downloads

2.9K
CRAN downloads in the past year
Rank #17,231 · ~8/day · ~242/mo
Daily download trend is not available in this view yet.
19130 days
67590 days
2.9K1 year
Compare downloads with other packages →
Also on93 r2u17 autocran

Repository

Repository
18Stars
0Forks
1Open issues
0Open PRs
0Releases
72Commits
4Contributors
License CC0-1.0 · 72 commits · Last activity 2024-07-31 · 0% stars, 30d

Stars over time

2025-04-16 · 172026-07-07 · 18

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/acircleda/footprint on 2026-07-19.

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

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 266 (47%)Vignettes 162 (29%)Rd 137 (24%)
Code characteristics
Cyclomatic complexity
9.5 median / 13 max
Test cases
2 / 0.27 per code line

Test coverage

Line coverage

98%

Expression

97.4%

Tests / Examples

98.4% / 85% ex

Functions

2 2 exported

Complexity

9.5 avg / 13 max

Call network

2 nodes / 0 edges

Loading call graph…

Lowest coverage

2 functions
FunctionCycloCoverage
airport_footprint exp696%
latlong_footprint exp13100%

People & History

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

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2Latest
    2024-08-27 · current release · diff ↗
  • 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
  • 0.1
    2021-01-06
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-01-06
Total releases
2 / 5 yrs
License
CC0
Minimum R
≥ 2.10
Download size
1.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →