use_ui: Use usethis'ui(s) in your package

View source: R/use_ui.R

use_uiR Documentation

Use usethis'ui(s) in your package

Description

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

Usage

use_ui()

Details

Attribution: most of the source content of this function is taken and/or adapted from the corresponding unexported function in the 'usethis' package.

Examples

## Not run: 
  # while setup of a package
  use_ui()

## End(Not run)

depigner documentation built on April 24, 2023, 5:08 p.m.