Skip to content

feat: Generate all bindings#1044

Merged
aviator-app[bot] merged 2 commits intomainfrom
f-stimulus-autogen
Apr 9, 2024
Merged

feat: Generate all bindings#1044
aviator-app[bot] merged 2 commits intomainfrom
f-stimulus-autogen

Conversation

@krlmlr
Copy link
Copy Markdown
Contributor

@krlmlr krlmlr commented Dec 29, 2023

@maelle @Antonov548: All but the last three commits are part of #1043, they will be gone from this PR soon.

The last three commits show the work that, I think, should be done to make this project more sustainable. The IGNORE bits in the YAML turn off autogeneration of bindings. In the add_edges example, I had to rename the function (beforehand, in a separate commit!) to keep the package buildable. In yet another follow-up step (not shown here), we can check if the autogenerated code serves the same purpose, and remove the manual code.

The src/cpp11.cpp file is generated on devtools::load_all() . It depends on which C functions are used from the R side. Expect surprises.

Can you please take this on, for all functions that are currently ignored? Happy to assist.

@aviator-app
Copy link
Copy Markdown
Contributor

aviator-app bot commented Dec 29, 2023

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged using Aviator.


See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

@krlmlr krlmlr changed the title Script to sync C and R yaml chore: Generate all bindings Dec 29, 2023
@krlmlr krlmlr changed the title chore: Generate all bindings feat: Generate all bindings Dec 29, 2023
@krlmlr krlmlr added this to the autogen milestone Dec 29, 2023
@krlmlr krlmlr force-pushed the f-stimulus-autogen branch from 7e92df8 to ad0af06 Compare December 30, 2023 10:35
@krlmlr
Copy link
Copy Markdown
Contributor Author

krlmlr commented Dec 30, 2023

For this PR, #1048 was necessary as a prerequisite. I suspect we'll need a few more changes like this.

@szhorvat
Copy link
Copy Markdown
Member

szhorvat commented Jan 2, 2024

@krlmlr I'd like to use commit 1 from this PR. Are you planning to merge or shall I include it in a new PR?

EDIT: See #1068

@aviator-app
Copy link
Copy Markdown
Contributor

aviator-app bot commented Apr 9, 2024

This pull request can't be queued because it's currently a draft.

@krlmlr krlmlr marked this pull request as ready for review April 9, 2024 13:58
@aviator-app aviator-app bot force-pushed the f-stimulus-autogen branch from e4427ce to f87a91c Compare April 9, 2024 15:06
@aviator-app aviator-app bot merged commit e5ace75 into main Apr 9, 2024
@aviator-app aviator-app bot deleted the f-stimulus-autogen branch April 9, 2024 15:42
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants