rprt: Function to call reporting instructions

View source: R/rprt.R

rprtR Documentation

Function to call reporting instructions

Description

We want the trade module to run even one of reporting functions fails, so every call of any reporting function should be wrapped by try(). Also we do not want to export too many functions in the user space. So this function could be the one from reporting functions to be exported.

Usage

rprt(data = NULL, report = NULL, ...)

Arguments

data

Data set to make report on.

report

Name of reporting function to call as string. Prefix "rprt_" can be omitted.

...

Additional arguments passed onto report function.

Value

Original data invisibly.


SWS-Methodology/faoswsTrade documentation built on Feb. 13, 2023, 1:04 a.m.