Skip to content

VECTOR_ELT() can only be applied to a 'list', not a 'logical' #375

@MichaelChirico

Description

@MichaelChirico

Found this by mistake, probably a friendlier error is warranted:

xml_find_all(read_xml("<a line1='1'></a>"), "@line1 = 1")
# Error in xml_nodeset(nodes) :
# VECTOR_ELT() can only be applied to a 'list', not a 'logical'

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions