diff --git a/R/api_create_study.R b/R/api_create_study.R index f225e88..f9cb052 100644 --- a/R/api_create_study.R +++ b/R/api_create_study.R @@ -1,4 +1,4 @@ -api__minimization_pocock <- function( +api_minimization_pocock <- function( # nolint: cyclocomp_linter. identifier, name, method, arms, covariates, p, req, res) { audit_log_set_event_type("study_create", req) diff --git a/R/api_randomize.R b/R/api_randomize.R index 18db0f3..76da9c2 100644 --- a/R/api_randomize.R +++ b/R/api_randomize.R @@ -26,7 +26,7 @@ parse_pocock_parameters <- return(params) } -api__randomize_patient <- function(study_id, current_state, req, res) { +api_randomize_patient <- function(study_id, current_state, req, res) { audit_log_set_event_type("randomize_patient", req) collection <- checkmate::makeAssertCollection() diff --git a/inst/plumber/unbiased_api/study.R b/inst/plumber/unbiased_api/study.R index bc5c3a3..528f284 100644 --- a/inst/plumber/unbiased_api/study.R +++ b/inst/plumber/unbiased_api/study.R @@ -21,7 +21,7 @@ unbiased:::wrap_endpoint(function( identifier, name, method, arms, covariates, p, req, res) { return( - unbiased:::api__minimization_pocock( + unbiased:::api_minimization_pocock( identifier, name, method, arms, covariates, p, req, res ) ) @@ -40,7 +40,7 @@ unbiased:::wrap_endpoint(function( unbiased:::wrap_endpoint(function(study_id, current_state, req, res) { return( - unbiased:::api__randomize_patient(study_id, current_state, req, res) + unbiased:::api_randomize_patient(study_id, current_state, req, res) ) })