Skip to content

Commit

Permalink
Fix CRAN check import NOTE (#85)
Browse files Browse the repository at this point in the history
Co-authored-by: Jakub Sobolewski <jakub.sobolewski@appsilon.com>
  • Loading branch information
jakubsob and Jakub Sobolewski committed May 20, 2024
1 parent e12eebc commit 7191bec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Imports:
htmltools,
jsonlite,
logger,
methods,
purrr,
rlang,
shiny,
Expand All @@ -31,7 +32,6 @@ Suggests:
knitr,
leaflet,
lintr (>= 3.0.0),
methods,
rcmdcheck,
rmarkdown,
shinytest2,
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ export(shinyReactDependency)
export(triggerEvent)
export(updateReactInput)
exportMethods(setInput)
import(methods)
1 change: 1 addition & 0 deletions R/react.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ triggerEvent <- function(inputId) {
#' to use as value.
#' @return A `ReactData` object which can be passed as a prop to 'React'
#' components.
#' @import methods
#'
#' @export
methods::setGeneric(
Expand Down

0 comments on commit 7191bec

Please sign in to comment.