Skip to content

grainscape

Landscape Connectivity, Habitat, and Protected Area Networks

v0.5.0 · Jan 15, 2025 · GPL (>= 2)

Description

Given a landscape resistance surface, creates minimum planar graph (Fall et al. (2007) <doi:10.1007/s10021-007-9038-7>) and grains of connectivity (Galpern et al. (2012) <doi:10.1111/j.1365-294X.2012.05677.x>) models that can be used to calculate effective distances for landscape connectivity at multiple scales. Documentation is provided by several vignettes, and a paper (Chubaty, Galpern & Doctolero (2020) <doi:10.1111/2041-210X.13350>).

Downloads

332

Last 30 days

11696th

824

Last 90 days

3.3K

Last year

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

CRAN Check Status

1 ERROR
13 OK
Show all 14 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-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
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 details (1 non-OK)
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'MPG_algorithm.Rmd' using rmarkdown
! Unable to load picture or PDF file '1ddc01b368c9cea187277dfd2beadeb8fa38b9bd.
jpg'.
<to be read again> 
                   }
l.225 ...01b368c9cea187277dfd2beadeb8fa38b9bd.jpg}

Error: processing vignette 'MPG_algorithm.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/grainscape.Rcheck/vign_test/grainscape/vignettes/MPG_algorithm.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See MPG_algorithm.log for more info.
--- failed re-building 'MPG_algorithm.Rmd'

--- re-building 'grainscape_vignette.Rmd' using rmarkdown
! Unable to load picture or PDF file '78ee0e9f26c7d91c775f3425ff1054267c6bf84c.
png'.
<to be read again> 
                   }
l.163 ...0e9f26c7d91c775f3425ff1054267c6bf84c.png}

Error: processing vignette 'grainscape_vignette.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/grainscape.Rcheck/vign_test/grainscape/vignettes/grainscape_vignette.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See grainscape_vignette.log for more info.
--- failed re-building 'grainscape_vignette.Rmd'

SUMMARY: processing the following files failed:
  'MPG_algorithm.Rmd' 'grainscape_vignette.Rmd'

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'MPG_algorithm.Rmd' using rmarkdown
! Unable to load picture or PDF file '1ddc01b368c9cea187277dfd2beadeb8fa38b9bd.
jpg'.
<to be read again> 
                   }
l.225 ...01b368c9cea187277dfd2beadeb
...[truncated]...
g tips. See grainscape_vignette.log for more info.
--- failed re-building 'grainscape_vignette.Rmd'

SUMMARY: processing the following files failed:
  'MPG_algorithm.Rmd' 'grainscape_vignette.Rmd'

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

Dependency Network

Dependencies Reverse dependencies ggplot2 igraph raster Rcpp sf sp grainscape

Version History

new 0.5.0 Mar 10, 2026
updated 0.5.0 ← 0.4.4 diff Jan 14, 2025
updated 0.4.4 ← 0.4.3 diff Apr 19, 2023
updated 0.4.3 ← 0.4.2 diff Aug 31, 2020
updated 0.4.2 ← 0.4.0 diff Dec 6, 2019
new 0.4.0 Aug 8, 2019