create_function: Function generate text that will be parsed into R code

View source: R/tool-function.R

create_functionR Documentation

Function generate text that will be parsed into R code

Description

Internal variable 'args' is derived by capturing the names and values of the calling function. The interval 'senv' variable is the SAGA-GIS library settings (generated by 'saga_env') and comes from the environment of when the dynamic function was generated.

Usage

create_function(lib, tool)

Arguments

lib

A character, name of SAGA-GIS library.

tool

A character, name of SAGA-GIS tool.

Value

A character, text that is to be parsed into a function definition.


Rsagacmd documentation built on Oct. 16, 2023, 5:06 p.m.