We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a210f23 commit 21a3c51Copy full SHA for 21a3c51
vignettes/datatable-programming.Rmd
@@ -478,9 +478,9 @@ DT <- data.table(a = 1:3, b = 4:6)
478
tryCatch({
479
setkey(DT, "nonexistent_col")
480
}, dt_missing_column_error = function(e) {
481
- cat("Missing column detected:", conditionMessage(e), "\n")
+ cat("Missing column detected:", conditionMessage(e), "\n", sep="")
482
}, error = function(e) {
483
- cat("Other error:", conditionMessage(e), "\n")
+ cat("Other error:", conditionMessage(e), "\n", sep="")
484
})
485
486
# Handle type mismatches in operations
@@ -490,9 +490,9 @@ DT2 <- data.table(id = 1:3, value = 1:3)
490
491
fintersect(DT1, DT2)
492
}, dt_join_type_mismatch_error = function(e) {
493
- cat("Type mismatch in join:", conditionMessage(e), "\n")
+ cat("Type mismatch in join:", conditionMessage(e), "\n", sep="")
494
495
496
497
```
498
0 commit comments