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

Modify Roxygen directives and NAMESPACE header to ensure devtools::document() produces consistent results #4518

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

alexpeters1208
Copy link
Contributor

In order to ensure that running devtools::documentI() on the R client does not break anything, we have to remove the autogenerated directive at the top of the NAMESPACE file. Otherwise, devtools::document() will mangle our NAMESPACE file according to Roxygen directives, but we do not use those directives in exactly the standard way, so this would break our package. Additionally, running devtools::document() would, at the moment, delete Client.Rd and TableHandle.Rd, which were merged on their own without the roxygen directives for creating them. So, this PR includes those directives.

All this PR really does is ensure that running devtools::document() or roxygen2::roxygenize() on main will not break the package. This will likely change again when the doc pages are not generated from roxygen comments tied to R6 classes.

@alexpeters1208 alexpeters1208 merged commit e9e242f into deephaven:main Sep 19, 2023
16 checks passed
@alexpeters1208 alexpeters1208 deleted the static-namespace branch September 19, 2023 18:43
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants