Description Usage Arguments Value Examples
View source: R/default-engine.R
Default coordinate transform engine
1 2 3 4 5 6 7 | crs_engine(env = parent.frame())
crs_set_engine(engine, env = parent.frame())
with_crs_engine(engine, expr, env = parent.frame())
is_crs_engine(engine, env = parent.frame())
|
env |
The environment to look for named functions if the engine option is a string. |
engine |
A transform engine such as |
expr |
The expression to evaluate with the transform engine |
crs_engine()
returns the current default transform engine
crs_set_engine()
returns the previously set default transform
engine
with_crs_engine()
returns the result of expr
1 2 3 4 5 6 7 8 | crs_engine()
prev_engine <- crs_set_engine(crs_engine_identity())
# ...
crs_set_engine(prev_engine)
with_crs_engine(crs_engine_identity(), {
# ...
})
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.