From 08bfc9888bf398a09ba0fad411dfe6a760900c9c Mon Sep 17 00:00:00 2001 From: timelyportfolio Date: Sat, 1 Aug 2020 11:35:47 -0500 Subject: [PATCH 1/3] change internal widget_html to `@noRd` #44 --- inst/templates/widget_r.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From b954fa03bf11d1464f6f72cefbbd331b79825533 Mon Sep 17 00:00:00 2001 From: timelyportfolio Date: Sat, 1 Aug 2020 11:36:50 -0500 Subject: [PATCH 2/3] remove duplicate `path` key from template webpack #44 --- inst/templates/webpack.config.js.txt | 1 - 1 file changed, 1 deletion(-) 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' }, From e3e91ff241a8b97c9a5afa3d9a0d0072c98c655a Mon Sep 17 00:00:00 2001 From: timelyportfolio Date: Sat, 1 Aug 2020 11:38:09 -0500 Subject: [PATCH 3/3] remove unused `importFrom shiny restoreInput` in input template #44 --- inst/templates/input_r.txt | 1 - 1 file changed, 1 deletion(-) 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 #'