Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upsetnames(x, new) fails if somehow anyNA(names(x)) #2475
Comments
|
Closed by #2477 thanks to @MichaelChirico |
The data.table interface to names don't seem to support making one NA, but if it does happen, it cannot be fixed with
setnames(x, new):From user3496254 SO: https://stackoverflow.com/questions/47228836/r-data-table-bug-cannot-rename-column-names-which-are-na