graph4lg
Build Graphs for Landscape Genetics Analysis
Description
Build graphs for landscape genetics analysis. This set of functions can be used to import and convert spatial and genetic data initially in different formats, import landscape graphs created with 'GRAPHAB' software (Foltete et al., 2012) <doi:10.1016/j.envsoft.2012.07.002>, make diagnosis plots of isolation by distance relationships in order to choose how to build genetic graphs, create graphs with a large range of pruning methods, weight their links with several genetic distances, plot and analyse graphs, compare them with other graphs. It uses functions from other packages such as 'adegenet' (Jombart, 2008) <doi:10.1093/bioinformatics/btn129> and 'igraph' (Csardi et Nepusz, 2006) <https://igraph.org/>. It also implements methods commonly used in landscape genetics to create graphs, described by Dyer et Nason (2004) <doi:10.1111/j.1365-294X.2004.02177.x> and Greenbaum et Fefferman (2017) <doi:10.1111/mec.14059>, and to analyse distance data (van Strien et al., 2015) <doi:10.1038/hdy.2014.62>.
Downloads
459
Last 30 days
8475th
1.4K
Last 90 days
6.4K
Last year
Trend: +18.3% (30d vs prior 30d)
1
Last 30 days
27
Last 90 days
109
Last year
Trend: -90% (30d vs prior 30d)
1
Last 7 days
17
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| 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 | 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 details (4 non-OK)
CRAN incoming feasibility
Maintainer: ‘Paul Savary <psavary@protonmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
CRAN incoming feasibility
Maintainer: ‘Paul Savary <psavary@protonmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
dependencies in R code
Namespace in Imports field not imported from: ‘Rdpack’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘Rdpack’ All declared Imports should be used.
Check History
NOTE 9 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
CRAN incoming feasibility
Maintainer: ‘Paul Savary <psavary@protonmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
CRAN incoming feasibility
Maintainer: ‘Paul Savary <psavary@protonmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
dependencies in R code
Namespace in Imports field not imported from: ‘Rdpack’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘Rdpack’ All declared Imports should be used.
ERROR 9 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
CRAN incoming feasibility
Maintainer: ‘Paul Savary <psavary@protonmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
CRAN incoming feasibility
Maintainer: ‘Paul Savary <psavary@protonmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
dependencies in R code
Namespace in Imports field not imported from: ‘Rdpack’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘Rdpack’ All declared Imports should be used.
NOTE 10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Paul Savary <psavary@protonmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
CRAN incoming feasibility
Maintainer: ‘Paul Savary <psavary@protonmail.com>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
dependencies in R code
Namespace in Imports field not imported from: ‘Rdpack’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘Rdpack’ All declared Imports should be used.
Code
Structure
Lines of code
26,743
Files
233
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
67
Internal functions
1
Recent export changes
Testing & CI
Has tests
No
Test-to-code ratio
0.00
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
83.6%
\dontrun example ratio
29.6%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
2
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-2
License flags
SPDX valid, OSI approved
History
Versions
10
First release
2019-07-23
Latest release
2023-01-30
Avg cadence
98 days
Cold removal rate
100%
Dep drift
22
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.