Skip to content

getItems(new.magpie(..., "", ...), split = T results in an error #199

Description

@codeZeilen

The expression

getItems(new.magpie("A", "", "C", fill = c(1,2)), split = TRUE) results in the error

Error in tstrsplit(dimnames(x)[[dim]], ".", fixed = TRUE, names = TRUE) : 
  length(names) (= 1) is not equal to length(keep) (= 0).

This is apparently caused by tstrsplit not being able to handle the "" in the second dimension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions