Parse the documentation for a function and save the working examples to an R
script. Note that the f
argument is parameterized and can handle multiple
requests in a single call.
saveRdExamples(Rd = NULL, package, dir = ".")
Rd |
|
---|---|
package |
|
dir |
|
Invisible character
.
File path(s).
Updated 2020-04-12.
#> Warning: The `path` argument of `write_lines()` is deprecated as of readr 1.4.0. #> Please use the `file` argument instead. #> This warning is displayed once every 8 hours. #> Call `lifecycle::last_warnings()` to see where this warning was generated.#>