Skip to content

[R] empty_named_list() uses deprecated .Names in structure() #50476

Description

@thisisnic

The fedora-r-clang nightly (R-devel) is failing with 268 test failures, all from the same cause: R-devel now deprecates using .Names as a special attribute name in structure().

The warning:

Replacing special names '.Names' is deprecated; use 'names' instead.

Source:

empty_named_list <- function() structure(list(), .Names = character(0))

empty_named_list <- function() structure(list(), .Names = character(0))

Fix is to replace .Names with names.

Failing nightly: https://github.com/ursacomputing/crossbow/actions/runs/29068520086/job/86285065823

This issue was drafted by Claude and reviewed by Nic Crane.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions