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

Improve wbWorkbook documentation. #718

Merged
merged 4 commits into from
Aug 6, 2023
Merged

Improve wbWorkbook documentation. #718

merged 4 commits into from
Aug 6, 2023

Conversation

olivroy
Copy link
Collaborator

@olivroy olivroy commented Aug 6, 2023

Addresses #681.
The reason why the documentation did not render properly for wbWorkbook is because of issues in roxygen2. namely r-lib/roxygen2#1148 and r-lib/roxygen2#1504

The documentation for wbWorkbook and wbChartSheet looks much better after this PR.

I looked at how processx documents its process R6 Class.
https://github.com/r-lib/processx/blob/main/man/process.Rd and https://github.com/r-lib/processx/blob/main/R/process.R for the record.

Edit: the changes in the R files could be reverted once the roxygen2 fixes are made.

The wbWorkbook docs could be even cleaner if some documentation of fields was removed ? i.e. see methods first? Also could add links to vignettes on how to use it, although, it is mentioned in many places, how to use the R6 methods, wb$add etc. (for amother PR or issue if relevant)

@JanMarvin
Copy link
Owner

Thank you!

@JanMarvin JanMarvin merged commit efa7dac into JanMarvin:main Aug 6, 2023
@olivroy olivroy deleted the r6class-doc branch August 6, 2023 11:35
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