These functions are used to streamline package examples. They are Windows and MacOS compatible.
Usage
example_setup(.fun, .connect)
# Default S3 method
example_setup(.fun, .connect)
# S3 method for class 'pf_smoother_two_filter'
example_setup(.fun, .connect = TRUE)
Arguments
- .fun
A
character
that defines the name of apatter
function with a correspondingexample_setup()
method.- .connect
A
logical
variable that defines whether or not to runjulia_connect()
. Set toFALSE
for testing.