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

Suggest to use roxytest for testing documentation #35

Merged
merged 1 commit into from
Jun 17, 2022
Merged

Conversation

MeWu-IDM
Copy link
Collaborator

https://cran.r-project.org/web/packages/roxytest/vignettes/introduction.html
with this tool we can identify missing documents and later on test examples
if you run it roxygen it will output like this

 * Function 'CheckInputExcelFileFormat()' with title 'Perform Sanity Checks On Input Excel File': 
    - Missing @param's: scenarioSheet, seasonalityOffsetsSheet
    + Too many @param's: scenariosSheet
* Function '.fRatesRibbonPlot()' with title 'Plot Fertility Rates Statistics As Ribbon Plot': 
    - Missing @param's: df
    + Too many @param's: results
...

@MeWu-IDM MeWu-IDM requested a review from celiot-IDM June 17, 2022 19:05
Copy link
Collaborator

@celiot-IDM celiot-IDM left a comment

Choose a reason for hiding this comment

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

Great idea!

@MeWu-IDM MeWu-IDM marked this pull request as ready for review June 17, 2022 22:19
@MeWu-IDM MeWu-IDM merged commit 17b38d2 into main Jun 17, 2022
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