Skip to content

Passing a data frame with existing factors causes crash of dataEditServerΒ #73

@seanthimons

Description

@seanthimons

When passing a data frame that contains a column of factors, package throws the error:

Warning: Error in if: the condition has length > 1
103: hot_context_menu
101: ::
htmlwidgets
shinyRenderWidget
100: func
87: renderFunc
86: output$editor1-x
1: runApp

Intercepting the data by coercing factor columns to characters is a valid strategy, but not sure if that's an expected behavior.

Minimal reproducible example: app.txt

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