shinymaterial | Install CRAN version : install | Build Tool library

 by   ericrayanderson R Version: 1.2.0 License: Non-SPDX

kandi X-RAY | shinymaterial Summary

kandi X-RAY | shinymaterial Summary

shinymaterial is a R library typically used in Utilities, Build Tool applications. shinymaterial has no bugs, it has no vulnerabilities and it has low support. However shinymaterial has a Non-SPDX License. You can download it from GitHub.

Install CRAN version: install.packages("shinymaterial").
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              shinymaterial has a low active ecosystem.
              It has 228 star(s) with 52 fork(s). There are 14 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 35 open issues and 67 have been closed. On average issues are closed in 298 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of shinymaterial is 1.2.0

            kandi-Quality Quality

              shinymaterial has no bugs reported.

            kandi-Security Security

              shinymaterial has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              shinymaterial has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              shinymaterial releases are available to install and integrate.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of shinymaterial
            Get all kandi verified functions for this library.

            shinymaterial Key Features

            No Key Features are available at this moment for shinymaterial.

            shinymaterial Examples and Code Snippets

            No Code Snippets are available at this moment for shinymaterial.

            Community Discussions

            QUESTION

            Factor Search Clearing Button in DT: shinydashboard vs. shinymaterial
            Asked 2021-Jan-26 at 08:52

            I have several applications that I am attempting to port from shinydashboard to shinymaterial, due to the nice aesthetics that my users seem to enjoy. I am facing an issue with searching/filtering factors in the shinymaterial dashboards where the "x" button that normally clears factor filtering is NOT present when using shinymaterial.

            shinydashboard screenshot where the "filter clearing" button for the factor column is present: shinydashboard screenshot

            shinymaterial screenshot where there is no "filter clearing" button for the factor column: shinymaterial screenshot

            Here are my reproducible code examples:

            shinydashboard

            ...

            ANSWER

            Answered 2021-Jan-26 at 08:52

            That's because this "button" actually is a glyphicon icon. The glyphicon icons are included in bootstrap, which is automatically loaded when you use an ordinary Shiny page, but not when you use 'shinymaterial'. So you have to add a link to bootstrap-glyphicons.css:

            Source https://stackoverflow.com/questions/65894974

            QUESTION

            R shiny: Switching tabs programmatically using shinymaterial
            Asked 2020-Oct-03 at 12:31

            I'm using the shinymaterial R package to make a shiny app and would like to be able to swap tabs programmatically. From this pull request I made the following reprex but I can't get the functionality to work.

            How can I adapt the below example to change tabs programmatically using shinymaterial?

            ...

            ANSWER

            Answered 2020-Oct-03 at 12:31
            library(shiny)
            library(shinymaterial)
            
            js <- "
            $(document).on('shiny:connected', function() {
              Shiny.addCustomMessageHandler('selectTab', function(tab) {
                var tabs = document.querySelector('ul.tabs');
                var instance = M.Tabs.getInstance(tabs);
                instance.select(tab);
              });
            });
            "
            
            ui <- material_page(
            
              tags$head(tags$script(HTML(js))),
              
              title = NULL,
              
              # Define tabs
              material_tabs(
                tabs = c(
                  "First Tab" = "first_tab",
                  "Second Tab" = "second_tab",
                  "Third Tab" = "third_tab"
                )
              ),
              # Define tab content
              material_tab_content(
                tab_id = "first_tab",
                tags$h1("First Tab Content"),
                material_button("btn1", "Go to tab 2")
              ),
              material_tab_content(
                tab_id = "second_tab",
                tags$h1("Second Tab Content"),
                material_button("btn2", "Go to tab 3")
              ),
              material_tab_content(
                tab_id = "third_tab",
                tags$h1("Third Tab Content"),
                material_button("btn3", "Go to tab 1")
              )
            )
            
            server <- function(input, output, session) {
              
              observeEvent(input[["btn1"]], {
                session$sendCustomMessage("selectTab", "second_tab")
              }, ignoreInit = TRUE)  
            
              observeEvent(input[["btn2"]], {
                session$sendCustomMessage("selectTab", "third_tab")
              }, ignoreInit = TRUE)  
            
              observeEvent(input[["btn3"]], {
                session$sendCustomMessage("selectTab", "first_tab")
              }, ignoreInit = TRUE)  
              
            }
            
            shinyApp(ui = ui, server = server)
            

            Source https://stackoverflow.com/questions/64174722

            QUESTION

            How do I use shinyjs to identify if tab is active in shiny?
            Asked 2020-Oct-02 at 08:10

            Using the shinymaterial package, I'm attempting to check if a tab is active in an observer and "do something" i.e. print("Hello") in below example. The tabs in shinymaterial::material_tabs() do not have a shiny inputId associated with them, simply an href with class = "active" if the tab is open.

            Below is my feeble attempt of trying this with the shinyjs package:

            Reprex:

            ...

            ANSWER

            Answered 2020-Oct-02 at 08:10

            There's probably an event triggered when the active tab changes but I'm not familiar with this package and I don't know.

            Below is a solution using a MutationObserver (it does not use shinyjs).

            Source https://stackoverflow.com/questions/64163287

            QUESTION

            R DT::datatables formatting multiple columns simultaneously
            Asked 2018-Nov-09 at 14:30

            I wish to implement formatCurrency() and formatPercentage() (both from DT package) across multiple columns simultaneously in a shiny dashboard. I am using shinymaterial for the given example.

            I am currently doing the following:

            ...

            ANSWER

            Answered 2018-Nov-09 at 14:30

            QUESTION

            Shiny button within nested module not showing up; namespace issue?
            Asked 2018-Sep-28 at 17:03

            I'm trying to scaffold together a basic dashboard using the shinymaterial package (https://ericrayanderson.github.io/shinymaterial/) but having a slight issue where my dropdown menus (usually selectInput in regular shiny apps) don't show up in a nested UI module.

            There should be two dropdown menus above the "Settings" button in this screenshot:

            Here's the code snippet for my scaffolding so far:

            ...

            ANSWER

            Answered 2018-Sep-27 at 21:21

            There are at least two issues here.

            1. material_dropdown does not display (resolved)

            This appears to be due to the unused width = 100% option inside material_dropdown(). Removing this results in some of the drop downs displaying and all of the labels displaying.

            2. Consecutive material_dropdown does not display (unresolved)

            Having two consecutive material_dropdown's results in only the first drop down displaying, even though both labels display. There have been previous bugs with material_dropdown in the shinymaterial package so this could be part of a related issue.

            Here is the code following my exploration:

            Source https://stackoverflow.com/questions/52541197

            QUESTION

            Change height of an image in material_parallax
            Asked 2018-Aug-17 at 12:35

            The shinymaterial package includes a function called material_parallax() which allows for a pretty parallax effect on images while scrolling. The only parameter of the function is image_source. I'd like to change the height of this parallax box in my app.

            Is it possible (using custom css or otherwise) to change the height of material_parallax() so it takes up less vertical space?

            Example:

            ...

            ANSWER

            Answered 2018-Aug-17 at 12:35

            QUESTION

            R Shiny - Programmatically generate checkboxes in shinymaterial
            Asked 2018-Jun-15 at 18:05

            I'm working with a package in R called shinymaterial, which allows me to build R Shiny apps with material design elements. One element that I need to use is a group of checkboxes based on data uploaded by the user. However, the shinymaterial package has not yet implemented checkbox groups, only singular checkboxes. Unfortunately, it has masked the use of stock R shiny checkbox groups in the process, so I cannot simply fall back on those.

            My best guess at a solution is to write a function that can programmatically generate a series of singular checkboxes based on an input vector of labels. What should I use in order to do that? Or is there a totally different approach that might work instead?

            My attempt at a solution is to write a function that builds a string containing the commands for several singular checkboxes (mainly using paste0 and a for loop). I planned on simply converting that string to an expression and then evaling it. However, when I did that (example code below), the Shiny web page just renders the text of the command rather than executing it as a UI element.

            ...

            ANSWER

            Answered 2018-Jun-14 at 21:06

            The eval(parse(...)) construct works fine. Let the output of materialCheckboxGroupGen be a vector (like the out object below), then use eval(parse(...)). Here's a minimal working example:

            Source https://stackoverflow.com/questions/50847286

            QUESTION

            How to add floating button in shinydashboard
            Asked 2018-Mar-08 at 13:31

            I am working on something where I need a floating button in shinydashboard. Below is a code to get a floating button using shinyMaterial package.

            ...

            ANSWER

            Answered 2018-Mar-07 at 14:08

            Just use an actionButton in a fixedPanel instead.

            Source https://stackoverflow.com/questions/49152568

            QUESTION

            R shiny: How to insert html link in a material_button
            Asked 2017-May-24 at 13:50

            I would like to open a html link when I click on a button, a "material button" from the shinymaterial package

            ...

            ANSWER

            Answered 2017-May-19 at 09:07

            As it seems it cant be passed as an argument for the materialButton() so instead you could add it yourself via javascript:

            Find the element by Id and add an onlick listener.

            Source https://stackoverflow.com/questions/44065605

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install shinymaterial

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ericrayanderson/shinymaterial.git

          • CLI

            gh repo clone ericrayanderson/shinymaterial

          • sshUrl

            git@github.com:ericrayanderson/shinymaterial.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link