Skip to content

Commit

Permalink
Consistent printing
Browse files Browse the repository at this point in the history
  • Loading branch information
chartgerink committed Oct 1, 2024
1 parent 1c1507a commit ccf2fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/print.datatagr.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ print.datatagr <- function(x, ...) {
label_names <- names(label_values)

# Construct the labels_txt string from the filtered pairs
labels_txt <- paste(label_names, label_values, sep = "-", collapse = ", ")
labels_txt <- paste(label_names, label_values, sep = " - ", collapse = ", ")

if (labels_txt == "") {
labels_txt <- "[no labelled variables]"
Expand Down

0 comments on commit ccf2fc4

Please sign in to comment.