Description Usage Arguments Value Author(s) Examples
Get the extdata file path of a package
1 | get_extdata(pkg, name, dir = "extdata", mustWork = TRUE)
|
pkg |
character, the name of a package |
name |
character, the name of the extdata file |
dir |
character, the directory in the package hierarchy |
mustWork |
See |
character, the extdata file path
Xiaobei Zhao
1 2 3 4 | ## Not run:
try(get_extdata('datasets','morley.tab','data'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.