copyDemo: Copy a Demo File

View source: R/copyDemo.R

copyDemoR Documentation

Copy a Demo File

Description

Copies a demo file from the source package to a file.

Usage

copyDemo(topic, package = "smwrGraphs", file)

Arguments

topic

the name of the topic, must be a character string.

package

the package name, must be a character string.

file

the target file name, must be a character string. If missing, then the file name is created from the topic name.

Value

Either the name of the target file or NULL if the copy failed.

See Also

demo

Examples


## Not run: copyDemo("HydroPrecip")


USGS-R/smwrGraphs documentation built on Oct. 11, 2022, 6:11 a.m.