Skip to content

shar

Species-Habitat Associations

v2.3.1 · Jan 10, 2025 · GPL (>= 3)

Description

Analyse species-habitat associations in R. Therefore, information about the location of the species (as a point pattern) is needed together with environmental conditions (as a categorical raster). To test for significance habitat associations, one of the two components is randomized. Methods are mainly based on Plotkin et al. (2000) <doi:10.1006/jtbi.2000.2158> and Harms et al. (2001) <doi:10.1111/j.1365-2745.2001.00615.x>.

Downloads

CRAN

416

Last 30 days

10355th

904

Last 90 days

4K

Last year

Trend: +135% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

25

Last 90 days

106

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

1

Last 7 days

15

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Maximilian H.K. Hesselbarth <mhk.hesselbarth@gmail.com>’

Problems when formatting CITATION entries:
  cannot open file '/tmp/Rtmp307vQd/Rf20d6577ac29117': No space left on device
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘get_started.Rmd’ using rmarkdown
Warning in file("", "w+b") :
  cannot open file '/tmp/Rtmp4DNIgS/Rf10084768e0fd8': No space left on device

Quitting from get_started.Rmd:41-43 [classify_habit
...[truncated]...
ocessing vignette 'get_started.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building ‘get_started.Rmd’

SUMMARY: processing the following file failed:
  ‘get_started.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

7,419

Files

108

Compiled share

0%

Has compiled src

No

Language breakdown

R 4,254 (57.3%)Tests 1,259 (17%)Docs 1,767 (23.8%)Vignettes 139 (1.9%)

API

Exported functions

13

Internal functions

21

Recent export changes

v2.2+1 reconstruct_pattern_multi

Testing & CI

Has tests

Yes

Test-to-code ratio

0.30

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

78.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.1.0

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

25

First release

2019-01-27

Latest release

2025-01-10

Avg cadence

42 days

Cold removal rate

100%

Dep drift

17

LOC over versions

v0.1: 2,816 LOCv0.2: 3,140 LOCv0.3: 3,833 LOCv0.3.1: 3,798 LOCv0.4: 4,340 LOCv0.5: 4,363 LOCv1.0: 6,435 LOCv1.0.1: 6,376 LOCv1.1: 6,430 LOCv1.2: 6,525 LOCv1.2.1: 6,667 LOCv1.3: 7,085 LOCv1.3.1: 7,237 LOCv1.3.2: 7,453 LOCv2.0.0: 7,623 LOCv2.0.1: 7,612 LOCv2.0.2: 7,613 LOCv2.0.3: 7,669 LOCv2.0.4: 7,645 LOCv2.1: 6,039 LOCv2.1.1: 6,002 LOCv2.2: 7,458 LOCv2.2.1: 7,358 LOCv2.3: 7,419 LOCv2.3.1: 7,419 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies classInt spatstat.explore spatstat.geom spatstat.model spatstat.random terra shar

Version History

26 tracked
new 2.3.1 Mar 10, 2026
updated 2.3.1 ← 2.3 diff Jan 9, 2025
updated 2.3 ← 2.2.1 diff Feb 13, 2024
updated 2.2.1 ← 2.2 diff Jan 8, 2024
updated 2.2 ← 2.1.1 diff Dec 20, 2023
updated 2.1.1 ← 2.1 diff Oct 22, 2023
updated 2.1 ← 2.0.4 diff Oct 1, 2023
updated 2.0.4 ← 2.0.3 diff Aug 28, 2023
updated 2.0.3 ← 2.0.2 diff Mar 12, 2023
updated 2.0.2 ← 2.0.1 diff Nov 15, 2022
updated 2.0.1 ← 2.0.0 diff Oct 31, 2022
updated 2.0.0 ← 1.3.2 diff Sep 21, 2022
updated 1.3.2 ← 1.3.1 diff Mar 7, 2022
updated 1.3.1 ← 1.3 diff Jan 3, 2022
updated 1.3 ← 1.2.1 diff Dec 5, 2021