makeDependency(name, src, script = NULL, package, version = packageVersion(package), minifile = paste0(basename(src), ".min.js"), debugging = FALSE, ...)
|name, src, script, package, version, ...||
Arguments to pass to
Basename of minified file.
See details below.
This is a utility function used by RGL
rglwidget values. It may be helpful in other packages to use
in their own installation.
If the js package version 1.2 or greater is installed,
minifile in the
src directory. Syntax errors
in the code will stop the process; unused variables will be
errors will be reported, along with hints about improvements,
and the original files will be used in the dependency object
that is created.
FALSE (the default),
the minified file will be used in the dependency object,
hints won't be given, and syntax errors will lead to an
uninformative failure to minify.
An object that can be included in a list of dependencies passed to