Skip to contents

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.