include_js_files: Include 'JS' files from /inst/js/ package directory to...

View source: R/include_css_js.R

include_js_filesR Documentation

Include JS files from ⁠/inst/js/⁠ 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_js_files(pattern = NULL, except = NULL)

Arguments

pattern

(character) pattern of files to be included, passed to system.file

except

(character) vector of basename filenames to be excluded

Value

HTML code that includes JS files.


teal documentation built on May 29, 2024, 10:11 a.m.