mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
GH-50476: [R] empty_named_list() uses deprecated .Names in structure() (#50485)
### Rationale for this change Update .Names to names as CRAN check fails ### What changes are included in this PR? Update .Names to names as CRAN check fails ### Are these changes tested? CI ### Are there any user-facing changes? No * GitHub Issue: #50476 Authored-by: Nic Crane <thisisnic@gmail.com> Signed-off-by: Nic Crane <thisisnic@gmail.com>
This commit is contained in:
1 parent
c2cc538eb9
commit
dee97d5260
1 file changed
+1
-1
+1
-1
@@ -44,7 +44,7 @@ is_list_of <- function(object, class) {
|
||||
is.list(object) && all(map_lgl(object, ~ inherits(., class)))
|
||||
}
|
||||
|
||||
empty_named_list <- function() structure(list(), .Names = character(0))
|
||||
empty_named_list <- function() structure(list(), names = character(0))
|
||||
|
||||
r_symbolic_constants <- c(
|
||||
"pi",
|
||||
|
||||
Reference in new issue
Block a user