Add a "project" or "location" argument to an "args" list
Source:R/addLocationProject.r
dot-addLocationProject.Rd
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.