diff --git a/R/facet_matrix.R b/R/facet_matrix.R index 89b0ab3f..34471265 100644 --- a/R/facet_matrix.R +++ b/R/facet_matrix.R @@ -78,6 +78,7 @@ #' geom_autodensity() + #' facet_matrix(vars(drv:fl), layer.diag = 2) #' +#' \donttest{ #' # Show continuous panels in upper triangle as contours and rest as binned #' ggplot(mpg) + #' geom_autopoint() + @@ -86,6 +87,7 @@ #' geom_bin2d(aes(x = .panel_x, y = .panel_y)) + #' facet_matrix(vars(drv:fl), layer.lower = 1, layer.diag = 2, #' layer.continuous = -4, layer.discrete = -3, layer.mixed = -3) +#' } #' #' # Make asymmetric grid #' ggplot(mpg) + diff --git a/man/facet_matrix.Rd b/man/facet_matrix.Rd index 27f90533..ece75bdc 100644 --- a/man/facet_matrix.Rd +++ b/man/facet_matrix.Rd @@ -97,6 +97,7 @@ ggplot(mpg) + geom_autodensity() + facet_matrix(vars(drv:fl), layer.diag = 2) +\donttest{ # Show continuous panels in upper triangle as contours and rest as binned ggplot(mpg) + geom_autopoint() + @@ -105,6 +106,7 @@ ggplot(mpg) + geom_bin2d(aes(x = .panel_x, y = .panel_y)) + facet_matrix(vars(drv:fl), layer.lower = 1, layer.diag = 2, layer.continuous = -4, layer.discrete = -3, layer.mixed = -3) +} # Make asymmetric grid ggplot(mpg) +