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

Translate old user calls to new parameter calls #14

Merged
merged 6 commits into from
Aug 7, 2024
Merged

Translate old user calls to new parameter calls #14

merged 6 commits into from
Aug 7, 2024

Conversation

richfitz
Copy link
Member

@richfitz richfitz commented Aug 6, 2024

This is the start of a little compatibility later in odin

@richfitz richfitz marked this pull request as ready for review August 6, 2024 10:58
Copy link
Contributor

@weshinsley weshinsley left a comment

Choose a reason for hiding this comment

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

This all looks very nice - should an updated R/sysdata.rda be in this PR, including names E1016 and E1017?

header <- "Found {sum(i)} compatibility issue{?s}"

if (action == "error") {
odin_parse_error(c(header, detail), "E1017", exprs[i], call)
Copy link
Contributor

Choose a reason for hiding this comment

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

E1017 (and E1016) are not recognised yet - do we need an updated sysdata.rda?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah - I've just done that. At some point I'll set this up to keep on top of this automatically - certainly by the time we get users...

@richfitz richfitz merged commit 44b0db2 into main Aug 7, 2024
7 checks passed
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