Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

shiny "ERROR: Tabs should all be unnamed arguments"

Tags:

r

shiny

I am working on a UI in shiny for an easy to use analysis package I am creating in R. I haven't worked on it in several months but recently got back in. I am building the app to run exclusively on users local machines using runApp().

Unfortunately, when I launched the app after updating all my libraries I get the following error:

Error : Tabs should all be unnamed arguments, but some are named: types

Along with this in the console:

Warning: Error in build: Tabs should all be unnamed arguments, but some are named: types Stack trace (innermost first):
    56: build
    55: buildTabset
    54: tabsetPanel
    53: tag
    52: tags$div
    51: div
    50: mainPanel
    49: sidebarLayout
    48: tag
    47: tags$div
    46: div
    45: tabPanel
    44: structure
    43: navbarMenu
    42: navbarPage
    41: shinyUI
     1: runApp Error : Tabs should all be unnamed arguments, but some are named: types

I went back to shiny version 0.13.2 and it works no problem. I have not been able to track down the changes between versions that is causing this. The package I am working on can be found here.

EDIT: Forgot to mention I am currently using shiny version 0.14

like image 593
Pat Avatar asked Oct 19 '22 00:10

Pat


1 Answers

I also have the similar problem.

But this problem is not typo for me, it seems that the error is because of the 'parameter' which is not used.

My problem is Error : Tabs should all be unnamed arguments, but some are named: status

So I delete all the status parameter in my code, then it works well.

Just for reference.

like image 156
KST Avatar answered Oct 21 '22 05:10

KST