include_css_files: Include 'CSS' files from /inst/css/ package directory to...

View source: R/utils.R

include_css_filesR Documentation

Include CSS files from ⁠/inst/css/⁠ package directory to application header

Description

system.file should not be used to access files in other packages, it does not work with devtools. Therefore, we redefine this method in each package as needed. Thus, we do not export this method

Usage

include_css_files(pattern = "*")

Arguments

pattern

(character) optional, regular expression to match the file names to be included.

Value

HTML code that includes CSS files.


teal.modules.general documentation built on April 4, 2025, 2:26 a.m.