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)