rprt: Function to call reporting instructions

Description Usage Arguments Value

View source: R/rprt.R

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

1
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 May 4, 2018, 1:23 p.m.