Skip to content

Conversation

@shrektan
Copy link
Collaborator

Closes #785

When the users (usually new beginners) call formatting function on DT::renderDT(), incorrectly, the error message thrown is ambiguous, complaining the colnames unmatched.

Now it throws a clearer error message that "a table object created from datatable() was expected".

@shrektan shrektan added this to the v0.14 milestone Mar 26, 2020
Copy link
Contributor

@yihui yihui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@yihui yihui merged commit 266269b into master Mar 26, 2020
@yihui yihui deleted the fix785 branch March 26, 2020 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DT::formatXXX() should throw clearer errors when table is not a table object

3 participants