Learn R Programming

teal.slice (version 0.5.1)

include_js_files: 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)

Value

HTML code that includes JS files

Arguments

pattern

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