add_stylecss: add_stylecss

View source: R/add_stylecss.R

add_stylecssR Documentation

add_stylecss

Description

Add PHS template phs_style.css file to chosen directory.

Usage

add_stylecss(
  path = rstudioapi::selectDirectory(caption = "Select folder to add phs_style.css"),
  shinycss = FALSE,
  auto_open = TRUE
)

Arguments

path

String: path to add phs_style.css file. If left blank, RStudio will prompt the user.

shinycss

Logical: Whether to append shiny CSS code to the file (TRUE) or not (FALSE). If left blank, RStudio will prompt the user.

auto_open

Logical: Automatically open the phs_style.css after it is compiled?

Value

NULL - Adds phs_style.css file to the directory.

Examples

## Not run: 
add_stylecss()

## End(Not run)

Health-SocialCare-Scotland/phstemplates documentation built on Nov. 6, 2024, 10:08 p.m.