install_extensions: Install required extension(s)

View source: R/install_extensions.R

install_extensionsR Documentation

Install required extension(s)

Description

Some functions in the rdwplus package rely on GRASS extensions that need to be installed prior to use. This function installs those extensions.

Usage

install_extensions()

Details

This function has no arguments. Simply run it and it will install a pre-set list of GRASS extensions.

Currently, the GRASS extension required are r.stream.snap, r.stream.distance, and r.wateroutlet.lessmem.

Value

Nothing.

Examples

# Will only run if GRASS is running
if(check_running()){
    install_extensions()
}

rdwplus documentation built on April 4, 2025, 1:49 a.m.