Commit 78aec104 authored by houyun's avatar houyun
Browse files

dont run examples

parent 3f9df65a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ draw_key_marker <- function(data, params, size) {
#' @author Hou Yun
#' @importFrom ggplot2 Geom
#' @export
#' @examples
#' @examples \dontrun{
#' set_corrplot_style()
#'
#' ## heart marker
@@ -78,6 +78,7 @@ draw_key_marker <- function(data, params, size) {
#'   geom_shaping(marker = marker("square")) +
#'   geom_shaping(aes(angle = ifelse(r > 0, 0, 180)), marker = marker("shade"),
#'                colour = "white", size = 0.3)
#' }
geom_shaping <- function(mapping = NULL,
                         data = NULL,
                         stat = "identity",
+2 −0
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ It can be used to draw custom marker on ggplot.
}

\examples{
\dontrun{
set_corrplot_style()

## heart marker
@@ -117,6 +118,7 @@ qcorrplot(mtcars) +
  geom_shaping(aes(angle = ifelse(r > 0, 0, 180)), marker = marker("shade"),
               colour = "white", size = 0.3)
}
}
\author{
Hou Yun
}