Skip to content

Commit

Permalink
update version + buildignore
Browse files Browse the repository at this point in the history
  • Loading branch information
DivadNojnarg committed Feb 20, 2025
1 parent be196a2 commit a8ac6b3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
^codecov\.yml$
^cran-comments\.md$
^CRAN-SUBMISSION$
^\.yarnrc\.yml$
^\.yarn$
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: scoutbaR
Title: A Spotlight 'React' Widget for 'shiny' Apps
Version: 0.0.2.9000
Version: 0.1.0
Authors@R: c(
person("David", "Granjon", , "[email protected]", role = c("aut", "cre")),
person("Adenekan", "Wonderful", , "[email protected]", role = c("cph"), comment = "Scoutbar React library: <https://github.com/adenekan41/scoutbar>"))
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# scoutbaR 0.0.2.9000
# scoutbaR 0.1.0

## Bug fix

Expand Down
20 changes: 11 additions & 9 deletions R/scoutbar.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,19 @@
#' @export
#' @rdname scoutbar
scoutbar <- function(
inputId,
theme = c("light", "dark", "auto"),
placeholder = list("Hello", "Type some text"),
actions = list(),
...) {
inputId,
theme = c("light", "dark", "auto"),
placeholder = list("Hello", "Type some text"),
actions = list(),
...
) {
theme <- match.arg(theme)
reactR::createReactShinyInput(
inputId,
"scoutbar",
htmltools::htmlDependency(
name = "scoutbar-input",
version = "1.0.0",
version = utils::packageVersion(utils::packageName()),
src = "www/scoutbar",
package = "scoutbaR",
script = "scoutbar.js"
Expand Down Expand Up @@ -165,9 +166,10 @@ scout_action <- function(id, label, description, closeOnClick = TRUE, ...) {
#' through the current websocket connection, leveraging the shiny session object.
#' @rdname scoutbar
update_scoutbar <- function(
session = shiny::getDefaultReactiveDomain(),
inputId,
...) {
session = shiny::getDefaultReactiveDomain(),
inputId,
...
) {
message <- list()
configuration <- list(...)
if (!is.null(configuration)) {
Expand Down

0 comments on commit a8ac6b3

Please sign in to comment.