Skip to content

Commit adeeaaf

Browse files
committed
fix some CRAN warnings
1 parent 65691fb commit adeeaaf

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

R/reset.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#' one specific input at a time by providing the id of a shiny input, or reset
55
#' all inputs within an HTML tag by providing the id of an HTML tag.\cr\cr
66
#' Reset can be performed on any traditional Shiny inputs, as well as inputs
7-
#' from the {colourpicker} and {shinyWidgets} packages. Note that
7+
#' from the \{colourpicker\} and \{shinyWidgets\} packages. Note that
88
#' \code{actionButton} is not supported, meaning that you cannot reset
99
#' the value of a button back to 0.
1010
#'

R/runcode.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ runcode <- function(code = "",
7979

8080
shiny::tagList(
8181
codeTag,
82-
shiny::tags$button("Run", onclick = HTML(callback), class = "btn btn-success action-button"),
82+
shiny::tags$button("Run", onclick = shiny::HTML(callback), class = "btn btn-success action-button"),
8383
shinyjs::hidden(
8484
shiny::div(
8585
id = ns(paste0("runcode_error")),
@@ -95,7 +95,7 @@ runcode <- function(code = "",
9595
}
9696

9797
#' Deprecated - use `runcode()` instead
98-
#' @inheritParams runcode
98+
#' @param ... All parameters acceptd by [shinyjs::runcode()]
9999
#' @export
100100
runcodeUI <- function(...) {
101101
warning("shinyjs: `runcodeUI()` is now deprecated in favour of `runcode()`")

man/reset.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/runcodeUI.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)