grassInfo: GRASS citation, version, and copyright information

View source: R/grassInfo.r

grassInfoR Documentation

GRASS citation, version, and copyright information

Description

Report the GRASS citation, version/release year, version number, or copyright information.

Usage

grassInfo(x = "citation")

Arguments

x

Character: What to return. Any of:

  • "citation" (default)

  • "copyright": Copyright information

  • "version": Version number and release year

  • "versionNumber": Version number as numeric, major and minor only (e.g., 8.4)

Partial matching is used and case is ignored.

Value

Character.

Examples

if (grassStarted()) {

# Citation
grassInfo()

# Version number
grassInfo("version")

# Version number
grassInfo("versionNumber")

# Version number
grassInfo("versionNumber")

# Copyright
grassInfo("copyright")

}

adamlilith/fasterRaster documentation built on Dec. 21, 2024, 2:04 a.m.