dot-addLocationProject: Add a "project" or "location" argument to an "args" list

.addLocationProjectR Documentation

Add a "project" or "location" argument to an "args" list

Description

Unhelpfully, starting with GRASS 8.4, what were previously called "locations" and now called "projects." These were supposed to be back-compatible, but are not. This function takes a list of arguments that will be passed to rgrass::execGRASS() and adds either a "location" or "project" argument, depending on the version of GRASS being used.

Usage

.addLocationProject(args, locProj)

Arguments

args

A list of arguments to be passed to a GRASS module.

locProj

Character: The name of the location or project.

Value

A list.


adamlilith/fasterRaster documentation built on Oct. 26, 2024, 4:06 p.m.