searchGRASSX: Search for valid GRASS GIS installation(s) on Unix...

View source: R/grassControl.R

searchGRASSXR Documentation

Search for valid GRASS GIS installation(s) on Unix (Linux/macOS)

Description

Strategy: 1) Prefer 'grass –config path' (returns GISBASE on modern GRASS) 2) Fallback: locate 'grass' via 'Sys.which()', then infer common GISBASE paths

Usage

searchGRASSX(MP = "default", quiet = TRUE)

Arguments

MP

Character. Ignored for detection (kept for API compatibility). You may pass a directory or an executable path; it will be used only as a hint.

quiet

Logical.

Value

FALSE or data.frame(instDir, version, installation_type)


link2GI documentation built on Dec. 23, 2025, 9:09 a.m.