with_option | R Documentation |
These functions evaluate an expression with temporary eplusr options
with_option(opts, expr)
with_silent(expr)
with_verbose(expr)
without_checking(expr)
opts |
A list of valid input for |
expr |
An expression to be evaluated. |
with_option
evaluates an expression with specified eplusr options.
with_silent
evaluates an expression with no verbose messages.
with_verbose
evaluates an expression with verbose messages.
without_checking
evaluates an expression with no checkings.
## Not run:
path_idf <- system.file("extdata/1ZoneUncontrolled.idf", package = "eplusr")
# temporarily disable verbose messages
idf <- with_silent(read_idf(path_idf, use_idd("8.8", download = "auto")))
# temporarily disable checkings
without_checking(idf$'BuildingSurface:Detailed' <- NULL)
# OR
with_option(list(validate_level = "none"), idf$'BuildingSurface:Detailed' <- NULL)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.