Skip to content

Zootidier fails when zoo does not have column names #1080

@oliverbothe

Description

@oliverbothe

I'm having trouble with applying broom::tidy on zoo-objects which do not have column names.

Reproducible example

## Example from zoo::zoo reference manual:
z2 <- zoo::zoo(matrix(1:12, 4, 3), as.Date("2003-01-01 ") + 0:3)
broom::tidy(z2)
#> Error in colnames(ret)[1:ncol(x)] <- colnames(x): Ersetzung hat Länge 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions