pr_add_package | R Documentation |
Creates a Plumber route that handles an incoming
R-package.
Use rather build()
to build the entire API.
pr_add_package(pr, path = "/add", repo_dir)
pr |
A Plumber router-object |
path |
The path to the endpoint |
repo_dir |
Path to local directory, where the root of the repository is.
The (source) packages will be stored locally at
|
NULL
invisibly; called to modify the response.
build()
, plumber::pr_post
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.