Skip to content

Commit 9ea8c5f

Browse files
committed
remove superfluous rawToChar() (closes #38)
1 parent 6126fc3 commit 9ea8c5f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* The implementation now works both with and without growabale
77
vector API and across a wide range of R versions.
88

9+
* remove superfluous rawToChar() on column names (#38)
10+
911

1012
0.3-5 2023-11-29
1113
* add format casts

R/local.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ write.csv.raw = function(x, file = "", append = FALSE, sep = ",", nsep="\t",
137137
}
138138

139139
if (col.names) {
140-
cr = rawToChar(as.output(matrix(colnames(x),nrow=1),sep = sep))
140+
cr = as.output(matrix(colnames(x),nrow=1),sep = sep)
141141
writeBin(cr, con=file)
142142
}
143143

0 commit comments

Comments
 (0)