diff --git a/inst/templates/input_r.txt b/inst/templates/input_r.txt index 037ffa9..949f12d 100644 --- a/inst/templates/input_r.txt +++ b/inst/templates/input_r.txt @@ -2,7 +2,6 @@ #' #' #' -#' @importFrom shiny restoreInput #' @importFrom reactR createReactShinyInput #' @importFrom htmltools htmlDependency tags #' diff --git a/inst/templates/webpack.config.js.txt b/inst/templates/webpack.config.js.txt index bcfbb58..a3ee189 100644 --- a/inst/templates/webpack.config.js.txt +++ b/inst/templates/webpack.config.js.txt @@ -4,7 +4,6 @@ module.exports = { mode: 'development', entry: path.join(__dirname, 'srcjs', '${name}.jsx'), output: { - path: path.join(__dirname, 'inst', 'www', '${package}', '${name}'), path: path.join(__dirname, '${outputPath}'), filename: '${name}.js' }, diff --git a/inst/templates/widget_r.txt b/inst/templates/widget_r.txt index 163ee64..84d80bb 100644 --- a/inst/templates/widget_r.txt +++ b/inst/templates/widget_r.txt @@ -50,7 +50,7 @@ render${capName} <- function(expr, env = parent.frame(), quoted = FALSE) { } #' Called by HTMLWidgets to produce the widget's root element. -#' @rdname ${name}-shiny +#' @noRd ${name}_html <- function(id, style, class, ...) { htmltools::tagList( # Necessary for RStudio viewer version < 1.2