Linking Geographic Information Systems, Remote Sensing and Other Command Line Tools
Overview
Functions and tools for using open GIS and remote sensing command-line interfaces in a reproducible environment.
**changes**
- New Self-describing OTB API (Workflow C) using CLI
-helpas source of truth - Robust command building (
otb_build_cmd(),otb_set_out()), unified execution - Bounded Windows + Linux OTB discovery aligned
- Full CRAN compliance (
R CMD checkclean) - Legacy API kept for backward compatibility
- Added testthat coverage for the OTB wrapper (runOTB command construction and argument handling).
link2GI 0.7-1
**bugfixes** *(Fix #67)*
- fix unintended recursion in project setup logic
- refactor
initProj()to a single, non-recursive execution path - prevent repeated re-initialisation of folders, git, and
renv
Show all changes in 0.7-2Hide the rest of the changes in 0.7-2
**documentation**
- update complete documentation to meet new concepts and calls
link2GI 0.7-0
**changes**
- new Self-describing OTB API (
otb_capabilities(),otb_args_spec(),otb_build_cmd())
**bugfixes** *(Fix #68)*
- fix OTB path and environment setup (bin/root handling)
- stabilize
-helpintrospection (stdout, non-zero exit codes) - fix
runOTB()output handling and error propagation
**documentation**
- update vignette to use introspected parameters instead of hard-coded lists
link2GI 0.6-2
bugfixes:
- fix cran issues git2r
link2GI 0.6-1
bugfixes:
- fix cran issues
- fixing of the vignettes and examples
changes:
- dropping of linkALL
link2GI 0.6-0
bugfixes:
- issue #65
changes:
- variable
rootDiris deprecated and nowroot_folder
new feature:
- extension of initProj to a lightweight project setup tool
link2GI 0.5-4
bugfixes:
- #61 #62 #63
link2GI 0.5-3
bugfixes:
- #59 , #58
- fix rgrass7 dependencies
link2GI 0.5-2
new feature:
- add return of vector data in OTB calls
bugfixes:
- #58
- minor fixes in runOTB
- prelim fix of #57
- fix of #56
- minor fixes
new feature:
- integration of stars and terra raster objects for linking GRASS
- update of documentation
link2GI 0.5-1
bugfixes:
- prelim fix of #57
- fix of #56
- minor fixes
new feature:
- integration of stars and terra raster objects for linking GRASS
- update of documentation
link2GI 0.5-0
bugfixes:
- prelim fix of #56
new feature:
- changing to linkGRASS for both GRASS 7.x/8.x - keeping linkGRASS7for backwards compatibility
link2GI 0.4-7
bugfixes:
- #52
link2GI 0.4-6
bugfixes:
- pre fix #52
link2GI 0.4-5
bugfixes:
- fix #42, #44, #46, #48, #49
new feature:
- add installation vignette
- update some documentation
link2GI 0.4-4
bugfixes:
- fix #42
link2GI 0.4-3
bugfixes:
- fix #40
link2GI 0.4-2
bugfixes:
- fix #38
link2GI 0.4-1
new feature
- add linkall
- add direct reading and writing of vector data to GRASS sqlite
bugfixes:
- smaller bugfixes
link2GI 0.4-0
new feature
- parse and return OTB API help for interactive use in R
- add runOTB function according to #29
bugfixes:
- #19 #21 #22 #26 #29 fixed
- first parsing of the new GRASS (since 7.8.x ) start file
link2GI 0.3-7
new feature:
- improved implementation of parseOTB
bugfixes:
- several fixes
- examples and typos
link2GI 0.3-6
new feature:
- full re-implementation of linkGDAL returns now all gdal installations at a given search path
bugfixes:
- several fixes for Windows search and linking
- examples and typos
link2GI 0.3-5
new feature:
- add manual build function for UNC paths
bugfixes:
- remove search argument for PRZP
- several fixes for Windows search and linking
- Comments and typos
link2GI 0.3-4
new feature:
- add boolean variable if required API exists
bugfixes:
- fix of the quiet option
- fix the search order
- straighten GRASS problems with r.in.lidar
- several fixes for Windows search and linking
- fix and add a lot of examples
- Comments and typos
link2GI 0.3-3
new feature:
- by default the latest version of each API is selected
bugfixes:
- OTB basic wrapper fixed for Windows
- new examples
- Typos
link2GI 0.3-2
new feature:
- ver_select can be used directly with the number of selection
- OTB basic wrapper
bugfixes:
- RSAGA related fixes
- Typos
link2GI 0.3-1
new feature:
- add returnPaths argument for suppress all returns
bugfixes:
- windows RSAGA related fixes
link2GI 0.3-0
The 0.3-0 version is quite restructured to conform to both
common R conventions (e.g. no hidden globals) and to make the calls
more intuitive and one-line-like. some of the function follow a slightly
different naming and argument setting. This was done to keep in line with further
CLI linking functionality.
new feature:
- Linux support for multi-version selection
- remove all global variables (re-opened #3)
- homogenization of the link calls
- wrap searchAPIOS functions with OS-agnostic findAPI functions
- add a more robust return of all paths and environmental variables as lists
- add a quiet option to supress all! console outputs ( #4)
bugfixes:
- remove tailing backslashes
- force compatibility to RSAGA and SAGA ver 3+
link2GI 0.2-2
new feature:
- findGRASS a function that wraps for searchGRASSW and searchGRASSX
link2GI 0.2-1
bugfixes:
- fix github s #2 #3 #5
link2GI 0.2-0
bugfixes:
- fix several small bugs
link2GI 0.1-0
- Initial release
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 46 (24 internal)
- Examples that run
- 21%7 run in a plain check · 25 never run · 2 hold no code
- Exported functions with examples
- 68%
- Documented parameters
- 100%
- Return-value docs
- 84%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 75%
- Median days to close, 50 most recently updated closed issues
- 22
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/r-spatial/link2gi on 2026-10-18.
GitHub Pages site last deployed 2025-12-28
pkgdown site last built 2020-12-06, before release 0.7-2 (2025-12-23)
Dependencies
Installing link2GI adds 108 packages (54 with compiled code, 76 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, bslib 5.6 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.7-2Latest2025-12-23 · current release · diff ↗ ·
added 9 exports
otb_args_spec, otb_build_cmd, otb_capabilities, otb_optional, otb_required, otb_required_with_output, otb_set_out, otb_show, runOTB_isolated - RR 4.5.0 released · 2025-04-11
- 0.6-22024-10-28 · diff ↗
- 0.6-12024-06-01 · diff ↗ ·
removed 7 exports
linkAll, linkGRASS7, paramGRASSw, paramGRASSx, setenvGDAL, setenvGRASSw, setenvOTBadded 5 exports
createFolders, loadEnvi, saveEnvi, setupProj, setup_default - RR 4.4.0 released · 2024-04-24
- 0.5-32023-10-30 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.5-22023-01-27 · diff ↗
- 0.5-0
- RR 4.2.0 released · 2022-04-22
- 0.4-72021-09-03 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.4-52020-12-07 · diff ↗
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2020-02-29
Show 17 earlier eventsHide 17 earlier events
- 0.4.32020-02-29 · diff ↗
- archivedRemoved from CRAN2020-02-20check problems were not corrected in time Warning on data() not making required packages available
- 0.4.1
- 0.4-0
- 0.3-7
- RR 3.6.0 released · 2019-04-26
- 0.3-5
- 0.3-42018-10-03 · diff ↗
- 0.3-32018-09-22 · diff ↗
- 0.3-2
- RR 3.5.0 released · 2018-04-23
- 0.3-02018-02-11 · diff ↗ ·
removed 8 exports
getSpatialClass, getparams_GRASS4W, getparams_GRASS4X, linkgdalUtils, r_gvec, setenv_GRASS4W, setenv_OTB, w_gvecadded 12 exports
findGRASS, findOTB, findSAGA, gvec2sf, linkGDAL, paramGRASSw, paramGRASSx, searchOTBX, searchSAGAX, setenvGRASSw, setenvOTB, sf2gvec - 0.2-12018-02-07 · diff ↗
- 0.2-02018-01-28 · diff ↗ ·
removed 4 exports
getGrassParams4W, getGrassParams4X, setGrassEnv4W, setOTBEnvadded 6 exports
getparams_GRASS4W, getparams_GRASS4X, r_gvec, setenv_GRASS4W, setenv_OTB, w_gvec - RR 3.4.0 released · 2017-04-21
- 0.1-02017-01-22
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2017-01-22
- Total releases
- 20 / 9 yrs
- License
- GPL (>= 3) | file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 148 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("link2GI")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.