use_ui | R Documentation |
Does setup necessary to use the usethis' user interfaces in your package.
This function requires the use roxygen.
* Check that the active package uses roxygen2
* Adds usethis package to "Imports" in 'DESCRIPTION'
* Imports in your namespace:
- block styles: ui_line
, ui_todo
ui_done
, ui_todo
, ui_oops
ui_info
, ui_code_block
- conditions: ui_stop
, ui_warn
- questions: ui_yeah
, ui_nope
- inline styles: ui_field
, ui_value
ui_path
, ui_code
) user interfaces
use_ui()
Attribution: most of the source content of this function is taken and/or adapted from the corresponding unexported function in the 'usethis' package.
## Not run:
# while setup of a package
use_ui()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.