Skip to content

Commit

Permalink
make cran happy by ignoring examples
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali committed Apr 4, 2018
1 parent 15afc20 commit e97e2c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/ggMarginal.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#' while \code{ggMarginal(p, xparams = list(size=2), yparams = list(size=2))}
#' will make the density plot outline thicker.
#' @examples
#' \dontrun{
#' library(ggplot2)
#'
#' # basic usage
Expand Down Expand Up @@ -94,6 +95,7 @@
#' geom_point()
#' ggMarginal(p, groupColour = TRUE)
#' ggMarginal(p, groupColour = TRUE, groupFill = TRUE)
#' }
#'
#' @seealso \href{http://daattali.com/shiny/ggExtra-ggMarginal-demo/}{Demo Shiny app}
#' @export
Expand Down Expand Up @@ -143,7 +145,7 @@ ggMarginal <- function(p, data, x, y, type = c("density", "histogram", "boxplot"
# Top plot = horizontal margin plot, which corresponds to x marg
if (margins != "y") {
top <- genFinalMargPlot(
marg = "x", type = type, scatPbuilt = scatPbuilt, prmL = prmL,
marg = "x", type = type, scatPbuilt = scatPbuilt, prmL = prmL,
groupColour = groupColour, groupFill = groupFill
)
}
Expand All @@ -152,7 +154,7 @@ ggMarginal <- function(p, data, x, y, type = c("density", "histogram", "boxplot"
# (right plot = vertical margin plot, which corresponds to y marg)
if (margins != "x") {
right <- genFinalMargPlot(
marg = "y", type = type, scatPbuilt = scatPbuilt, prmL = prmL,
marg = "y", type = type, scatPbuilt = scatPbuilt, prmL = prmL,
groupColour = groupColour, groupFill = groupFill
)
}
Expand Down
2 changes: 2 additions & 0 deletions man/ggMarginal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e97e2c0

Please sign in to comment.