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 c13b45a commit 2a71be7Copy full SHA for 2a71be7
R/bmerge.R
@@ -20,7 +20,7 @@ coerce_col = function(dt, col, from_type, to_type, from_name, to_name, from_deta
20
"Coercing %s column %s%s to type %s to match type of %s%s.\n",
21
from_type, from_name, from_detail, to_type, to_name, to_detail
22
)
23
- as.f = switch(to_type, integer64 = bit64::as.integer64, match.fun(paste0("as.", to_type)))
+ as.f = switch(to_type, integer64 = bit64::as.integer64, match.fun(paste0("as.", to_type)))
24
# do not copy attributes when coercing factor (to character)
25
set(dt, j=col, value = if (is.factor(dt[[col]])) as.f(dt[[col]]) else cast_with_atts(dt[[col]], as.f))
26
}
0 commit comments