Skip to content

raptr

1.0.1

Representative and Adequate Prioritization Toolkit in R

0packages depend
9.6Kdownloads / year
78.1%test coverage
9/13checks pass

Overview

About
Maintained by Jeffrey O HansonFirst published 2016-10-2813 releasesCRAN page ↗GitHub ↗

Biodiversity is in crisis. The overarching aim of conservation is to preserve biodiversity patterns and processes. To this end, protected areas are established to buffer species and preserve biodiversity processes. But resources are limited and so protected areas must be cost-effective. This package contains tools to generate plans for protected areas (prioritizations), using spatially explicit targets for biodiversity patterns and processes. To obtain solutions in a feasible amount of time, this package uses the commercial 'Gurobi' software (obtained from https://www.gurobi.com/). For more information on using this package, see Hanson et al. (2018) doi:10.1111/2041-210X.12862.

Install

Health

CRAN checks
4NOTE9OK
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-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 13.1 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.32
78.1%
Coverage · measured lines
100%
Documentation · exports
21
Dependencies · direct
Check history
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-21
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-20
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 7 earlier snapshots
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-09
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 364 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
97%
Return-value docs
88%
References docs
1%

Downloads

9.6K
CRAN downloads in the past year
Rank #4,187 · ~26/day · ~803/mo
Daily download trend is not available in this view yet.
48130 days
2.2K90 days
9.6K1 year
Compare downloads with other packages →
Also on436 r2u35 autocran

Repository

Repository
8Stars
0Forks
0Open issues
0Open PRs
4Releases
450Commits
3Contributors
450 commits · Last activity 2024-02-14

Stars over time

2024-11-20 · 82026-07-07 · 8

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/jeffreyhanson/raptr on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
27 external dependencies (excludes base and recommended)
Depends (3)
R >= 4.0.0sfterra
LinkingTo (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 9,321 (57%)Rd 3,599 (22%)C++ 2,418 (15%)Vignettes 818 (5%)C 151 (1%)
Code characteristics
Object systems
S369S4 class15S4 generic3S4 method26
Cyclomatic complexity
1.0 median / 36 max
Test cases
115 / 0.32 per code line

Test coverage

Line coverage

78%

Expression

77.8%

Tests / Examples

78.1% / 1% ex

Functions

205 43 exported

Complexity

2.4 avg / 36 max

Call network

205 nodes / 116 edges

Loading call graph…

Lowest coverage

205 functions
FunctionCycloCoverage
SpatialPolygons2PolySet exp10%
.onUnload10%
affineTrans10%
basemap10%
basemap.RapData40%
basemap.RapSolved10%

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Listed in earlier versions (5)
no longer listed · 0.0.1 to 1.0.1
no longer listed · 0.0.1 to 1.0.1
no longer listed · 0.0.1 to 1.0.1
no longer listed · 0.0.1
no longer listed · 0.0.3 to 1.0.1
Package Timeline

13 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
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.1Latest
    2024-01-28 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.0
    2023-03-14 · diff ↗
  • 0.2.1
    2022-07-25 · diff ↗
  • unarchivedReturned to CRAN
    2022-07-25
  • archivedRemoved from CRAN
    2022-05-04
    requires archived package 'RandomFields'
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.7
    2020-07-31 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.6
    2020-03-11 · diff ↗
  • 0.1.5
    2020-02-12 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
Show 10 earlier events
  • 0.1.4
    2019-04-11 · diff ↗
  • 0.1.3
    2018-11-26 · diff ↗
  • 0.1.2
    2018-06-28 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.1
    2017-11-20 · diff ↗
  • 0.0.5
    2017-08-10 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.0.3
    2016-11-25 · diff ↗
  • 0.0.1
    2016-10-28
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-10-28
Total releases
13 / 10 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Bundled data
11 KB / 2 files
Download size
4.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →