Skip to content

tabular() fails if not attached #30

@fkohrt

Description

@fkohrt

When running the following code...

tables::tabular(extra ~ group * mean, data = sleep)

...I get the following error:

Error in labelSubset(subset = as.integer(as.factor(group)) == 1L, label = "group") : 
  could not find function "labelSubset"

Only attaching the package resolves the issue:

library(tables)
tabular(extra ~ group * mean, data = sleep)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions