Skip to content

Setting specific generics in environment causes discoApp() error in R >= 4.0.1 #3

@matthewcarlucci

Description

@matthewcarlucci

As described in https://stackoverflow.com/questions/62327810 and reported to R-devel mailing list, some shiny reactive errors are no longer handled gracefully by generics and the application will crash with:

Warning: Error in <Anonymous>: error in evaluating the argument 'x' in selecting a method for function 'nrow': 
  [No stack trace available]

As a temporary fix, import of BiocGenerics is avoided starting in DiscoRhythm 1.4.1.

Until the underlying issue can be resolved by changes to R/shiny/DiscoRhythm, any environment with specific generics defined (e.g. nrow) may experience this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions