From 8a2f96613efa57b97a6a9e590770e5be06716c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Signe=20Kirk=20Br=C3=B8db=C3=A6k?= <40836345+signekb@users.noreply.github.com> Date: Wed, 19 Jun 2024 13:18:53 +0200 Subject: [PATCH] fix: remove return since it's not needed Co-authored-by: Luke W. Johnston --- data-raw/simulate-data.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } }