Skip to content

Commit b78de59

Browse files
committed
Fix R-devel
1 parent ffa7e96 commit b78de59

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/telemetry.R

+3
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ expr_scrub <- function(x, name_map) {
243243
return("<character>")
244244
} else if (is.factor(xx)) {
245245
return("<factor>")
246+
} else if (is.null(xx)) {
247+
# Needed for R 4.4
248+
return(xx)
246249
} else if (is.atomic(xx)) {
247250
return(xx)
248251
} else if (is_symbol(xx)) {

0 commit comments

Comments
 (0)