Skip to content

Commit 53ac5be

Browse files
committed
Use identical instead of !=
1 parent ba2b037 commit 53ac5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/tm_missing_data.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ tm_missing_data <- function(label = "Missing data",
162162
ans <- module(
163163
label,
164164
server = srv_page_missing_data,
165-
datanames = if (all(datanames != "all")) union(datanames, parent_dataname) else "all",
165+
datanames = if (identical(datanames, "all")) union(datanames, parent_dataname) else "all",
166166
server_args = list(
167167
parent_dataname = parent_dataname,
168168
plot_height = plot_height,

0 commit comments

Comments
 (0)