-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix sxp error message #67
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Do you also want to add a test with expect_snasphot(error = TRUE)
?
R/sxp.R
Outdated
} | ||
|
||
obj_inspect_(x, | ||
obj_inspect_( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind not restyling in this PR? It's better to fix code style in a separate PR so it's easy to focus on the substantive changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I thought the same thing after I saw it on github - I'll fix it and add a test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hadley I have added the test and removed the restyling (format on save was the culprit!). Hope this does the job now - if not let me know.
This reverts commit 8075ab4.
Thanks! |
PR to solve this issue with the error message for the
lobstr::sxp()
function.