bundle {sketch}R Documentation

Bundle a list of files into a single JavaScript file

Description

Bundle a list of files into a single JavaScript file

Usage

bundle(fs)

Arguments

fs

A character vector; a list of R or JavaScript files. The R files will be transpiled to JavaScript before bundling.

Examples

library(sketch)
js <- bundle(c(src("dom"), src("io")))
cat(paste(readLines(js), collapse = "\n"))


[Package sketch version 1.1.20.3 Index]