Skip to content

Remove ggmosaic from dependency #932

@donyunardi

Description

@donyunardi

What happened?

Let's remove ggmosaic deps from tmg.

For now, we will add a validation error saying that we're not supporting "factor" class in situation where both x and y are factorial.

} else if (x_class == "factor" && y_class == "factor") {
plot_call <- reduce_plot_call(
plot_call,
substitute(
ggmosaic::geom_mosaic(aes(x = ggmosaic::product(xval), fill = yval), na.rm = TRUE),
env = list(xval = x, yval = y)
)
)

sessionInfo()

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions