Last updated on 2025-12-07 12:50:39 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.3.0 | 2.53 | 26.93 | 29.46 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.3.0 | 2.03 | 20.30 | 22.33 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.3.0 | 44.15 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.3.0 | 42.41 | OK | |||
| r-devel-windows-x86_64 | 1.3.0 | 4.00 | 46.00 | 50.00 | OK | |
| r-patched-linux-x86_64 | 1.3.0 | 2.59 | 24.50 | 27.09 | OK | |
| r-release-linux-x86_64 | 1.3.0 | 2.46 | 24.46 | 26.92 | OK | |
| r-release-macos-arm64 | 1.3.0 | OK | ||||
| r-release-macos-x86_64 | 1.3.0 | 5.00 | 31.00 | 36.00 | OK | |
| r-release-windows-x86_64 | 1.3.0 | 5.00 | 46.00 | 51.00 | OK | |
| r-oldrel-macos-arm64 | 1.3.0 | OK | ||||
| r-oldrel-macos-x86_64 | 1.3.0 | 2.00 | 23.00 | 25.00 | OK | |
| r-oldrel-windows-x86_64 | 1.3.0 | 6.00 | 54.00 | 60.00 | OK |
Version: 1.3.0
Check: examples
Result: ERROR
Running examples in ‘shinySelect-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: selectControlInput
> ### Title: Select control widget
> ### Aliases: selectControlInput
>
> ### ** Examples
>
> # an example using KaTeX ####
> library(shiny)
> library(shinySelect)
> library(bslib)
Attaching package: ‘bslib’
The following object is masked from ‘package:utils’:
page
>
> choices <- HTMLchoices(
+ values = list("alpha", "beta", "gamma"),
+ labels = list(katex("\\alpha"), katex("\\beta"), katex("\\gamma"))
+ )
>
> ui <- fluidPage(
+ theme = bs_theme(version = 4),
+ titlePanel("KaTeX example"),
+ selectControlInput(
+ "select",
+ label = tags$h1("Make a choice", style="color: red;"),
+ choices = choices,
+ selected = "alpha",
+ multiple = FALSE
+ ),
+ br(),
+ verbatimTextOutput("textOutput")
+ )
>
> server <- function(input, output, session) {
+ output[["textOutput"]] <- renderPrint({
+ sprintf("You selected: %s.", input[["select"]])
+ })
+ }
>
> if(interactive()){
+ shinyApp(ui, server)
+ }
>
> # An example of `sortable = TRUE`, with fontawesome icons ####
> library(shiny)
> library(shinySelect)
> library(bslib)
> library(fontawesome)
>
> food <- HTMLchoices(
+ labels = list(
+ tags$span(fa_i("hamburger"), "Hamburger"),
+ tags$span(fa_i("pizza-slice"), "Pizza"),
+ tags$span(fa_i("fish"), "Fish")
+ ),
+ values = list("hamburger", "pizza", "fish")
+ )
>
> styles <- list(
+ borderBottom = "2px solid orange",
+ backgroundColor = list(
+ selected = "cyan",
+ focused = "lemonchiffon",
+ otherwise = "seashell"
+ )
+ )
>
> ui <- fluidPage(
+ theme = bs_theme(version = 4),
+ titlePanel("Sortable example"),
+ selectControlInput(
+ "select",
+ label = tags$h1("Make a choice", style="color: red;"),
+ optionsStyles = styles,
+ choices = food,
+ selected = "hamburger",
+ multiple = TRUE,
+ sortable = TRUE,
+ animated = TRUE
+ ),
+ br(),
+ verbatimTextOutput("textOutput")
+ )
>
> server <- function(input, output, session) {
+ output[["textOutput"]] <- renderPrint({
+ sprintf("You selected: %s.", toString(input[["select"]]))
+ })
+ }
>
> if(interactive()){
+ shinyApp(ui, server)
+ }
>
> # An example with tooltips ####
> library(shiny)
> library(bslib)
> library(shinySelect)
>
> data(Countries, package = "jsTreeR")
Error in find.package(package, lib.loc, verbose = verbose) :
there is no package called ‘jsTreeR’
Calls: data -> find.package
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc