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

Add the corresponding documentation #257

Open
GeraldineGomez opened this issue Dec 4, 2024 · 0 comments
Open

Add the corresponding documentation #257

GeraldineGomez opened this issue Dec 4, 2024 · 0 comments
Assignees
Labels
CRAN Preparing CRAN submission

Comments

@GeraldineGomez
Copy link
Member

GeraldineGomez commented Dec 4, 2024

https://github.com/epiverse-trace/serofoi/blob/e34ae0496e2ee7c6105f73387c0cf073b224da19/R/validation.R#L1C1-L1C2

validate_survey_features <- function(survey_features) {

validate_foi_df <- function(foi_df, cnames_additional) {

validate_seroreversion_rate <- function(seroreversion_rate) {

validate_survey_and_foi_consistency <- function( #nolint

validate_survey_and_foi_consistency_age_time <- function( #nolint

validate_foi_index <- function(

check_age_constraints <- function(df) {

generate_seropositive_counts_by_age_bin <- function( #nolint

Documentation of Internal documentation

You can document internal functions in two ways:

  1. Using @keywords internal: This generates documentation for the function, but it will not appear in the index of the manual or the webpage:

#' @title
#' @description
#' @param
#' @return
#' @Keywords internal

  1. Using @noRd: If you do not want to generate any documentation in the index or manual:

#' @title
#' @description
#' @param
#' @return None
#' @nord

@GeraldineGomez GeraldineGomez added the CRAN Preparing CRAN submission label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CRAN Preparing CRAN submission
Projects
None yet
Development

No branches or pull requests

2 participants