Coder Social home page Coder Social logo

jinseob2kim / jsmodule Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 19.0 4.88 MB

RStudio Addins and Shiny Modules for Medical Research

Home Page: https://jinseob2kim.github.io/jsmodule/

License: Apache License 2.0

R 99.93% CSS 0.07%
shiny shiny-modules rstudio-addins statistics r medical

jsmodule's Issues

Error with the descriptive table

I have been using jsmodule. I have run the example code from tb1moduleUI from the vignette but I keep getting "Warning: Error in [: invalid subscript type 'list'". I run the code exactly as it is in the example:

library(shiny);library(DT);library(data.table);library(jstable)
ui <- fluidPage(
sidebarLayout(
sidebarPanel(
tb1moduleUI("tb1")
),
mainPanel(
DTOutput("table1")
)
)
)
server <- function(input, output, session) {
data <- reactive(mtcars)
data.label <- reactive(jstable::mk.lev(mtcars))
out_tb1 <- callModule(tb1module2, "tb1", data = data, data_label = data.label,
data_varStruct = NULL)
output$table1 <- renderDT({
tb <- out_tb1()$table
cap <- out_tb1()$caption
out.tb1 <- datatable(tb, rownames = T, extension= "Buttons", caption = cap)
return(out.tb1)
})
}

I think this is coming from the line: tb <- out_tb1()$table

Can you tell me what is wrong?

non-zero exit status

Hi, I've encountered the following issue and was unable to install the package:

  • installing source package 'jsmodule' ...
    ** package 'jsmodule' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
    namespace 'ellipsis' 0.3.1 is already loaded, but >= 0.3.2 is required
    Calls: ... asNamespace -> loadNamespace -> namespaceImport -> loadNamespace
    Execution halted
    ERROR: lazy loading failed for package 'jsmodule'
  • removing 'F:/Documents/R/win-library/4.0/jsmodule'
    Warning in install.packages :
    installation of package ‘E:/Downloads/jsmodule_1.3.0.tar.gz’ had non-zero exit status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.