From a7a4b6738d0e7e94d518e717fb0637963d78d64a Mon Sep 17 00:00:00 2001 From: Huizing Date: Fri, 12 Dec 2025 19:30:59 +0100 Subject: [PATCH 1/2] Keep appended milestones with missings --- R/read_bds.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/read_bds.R b/R/read_bds.R index 3941958..3eb7cad 100644 --- a/R/read_bds.R +++ b/R/read_bds.R @@ -205,7 +205,7 @@ read_bds <- function(txt = NULL, ddi %>% pivot_longer( cols = -all_of("age"), names_to = "yname", - values_to = "y", values_drop_na = TRUE, + values_to = "y", #values_drop_na = TRUE, values_transform = list(y = as.numeric) ) %>% mutate( From a793cb95a4f4148930321fb263cec7308b82ae6e Mon Sep 17 00:00:00 2001 From: Huizing Date: Fri, 12 Dec 2025 19:43:05 +0100 Subject: [PATCH 2/2] Keep appended milestones with missing outcomes --- R/read_bds.R | 1 - 1 file changed, 1 deletion(-) diff --git a/R/read_bds.R b/R/read_bds.R index f311c37..021cccf 100644 --- a/R/read_bds.R +++ b/R/read_bds.R @@ -224,7 +224,6 @@ read_bds <- function( cols = -all_of("age"), names_to = "yname", values_to = "y", - values_drop_na = TRUE, values_transform = list(y = as.numeric) ) %>% mutate(