Skip to content
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

Merged
merged 5 commits into from
Oct 30, 2023
Merged

fix sxp error message #67

merged 5 commits into from
Oct 30, 2023

Conversation

samrickman
Copy link
Contributor

PR to solve this issue with the error message for the lobstr::sxp() function.

Copy link
Member

@hadley hadley left a 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_(
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

@hadley hadley merged commit 9ee1481 into r-lib:main Oct 30, 2023
12 checks passed
@hadley
Copy link
Member

hadley commented Oct 30, 2023

Thanks!

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.

2 participants