utils_files: Use the utils files

use_utils_uiR Documentation

Use the utils files

Description

use_utils_ui

Copies the golem_utils_ui.R to the R folder.

use_utils_server

Copies the golem_utils_server.R to the R folder.

Usage

use_utils_ui(pkg = get_golem_wd(), with_test = FALSE)

use_utils_test_ui(pkg = get_golem_wd())

use_utils_server(pkg = get_golem_wd(), with_test = FALSE)

use_utils_test_ui(pkg = get_golem_wd())

use_utils_test_server(pkg = get_golem_wd())

Arguments

pkg

Path to the root of the package. Default is get_golem_wd().

with_test

should the module be created with tests?

Value

Used for side-effects.


ThinkR-open/shinytemplate documentation built on May 26, 2023, 6:47 a.m.