diff --git a/data-raw/simulate-data.R b/data-raw/simulate-data.R index bd78571..5235416 100644 --- a/data-raw/simulate-data.R +++ b/data-raw/simulate-data.R @@ -316,7 +316,7 @@ insert_false_metformin <- function(data, proportion = 0.05) { ) ) } else { - return(data) + data } } @@ -339,7 +339,7 @@ insert_false_drug_names <- function(data, proportion = 0.05) { ) ) } else { - return(data) + data } }