register | R Documentation |
Register an repository, model, or scenario object in the registry.
register(
obj,
registry,
name = obj@name,
project = "",
path = "",
memo = "",
datetime = lubridate::now(tzone = "UTC"),
user = Sys.info()["user"],
system = Sys.info()["sysname"],
...,
env = obj@misc$env,
replace = FALSE
)
obj |
object to be registered. |
registry |
registry object to add the entry. |
name |
character, name of the object. |
project |
character, optional, the name of the project. |
path |
character, optional path to the object's 'onDisk' directory. |
memo |
character, optional short note about the object. |
datetime |
timestamp, optional, date and time of the registration. |
user |
character, optional, user who registered the object. |
system |
character, optional, system where the object is registered. |
... |
(reserved for future use). |
env |
character, environment where the object is stored. |
replace |
logical, if TRUE, replace the existing entry. |
# `registry` methods are in development.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.