Description Usage Arguments Value Examples
View source: R/write_fun_dependencies.R
Write a file with all dependencies of a user-defined function.
1 | write_fun_dependencies(pkg, fun, file_nm)
|
pkg |
String giving the package where |
fun |
String giving the function which dependencies you want to write to a file. |
file_nm |
String giving the path to a file where to write the output. |
A file with the functions on which fun
depends.
1 2 3 4 5 6 7 8 | ## Not run:
library(base)
pkg <- "package:base"
fun <- "sum"
file_nm <- "./dependencies_of_base-sum.R"
write_fun_dependencies(pkg, fun, file_nm)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.