Browse Source

travis

pull/6/head
Bob Rudis 8 years ago
parent
commit
bd72384dcc
  1. 1
      NAMESPACE
  2. 14
      R/geom_table.r
  3. 3
      R/stateface.r
  4. 2
      R/zzz.r
  5. 17
      man/geom_table.Rd
  6. 3
      man/ggalt-ggproto.Rd

1
NAMESPACE

@ -11,7 +11,6 @@ export(GeomBkde)
export(GeomBkde2d) export(GeomBkde2d)
export(GeomEncircle) export(GeomEncircle)
export(GeomStateface) export(GeomStateface)
export(GeomTable)
export(GeomXSpline2) export(GeomXSpline2)
export(GeomXspline) export(GeomXspline)
export(Kb) export(Kb)

14
R/geom_table.r

@ -1,7 +1,7 @@
#' @rdname ggalt-ggproto # @rdname ggalt-ggproto
#' @format NULL # @format NULL
#' @usage NULL # @usage NULL
#' @export # @export
GeomTable <- ggproto( GeomTable <- ggproto(
"GeomTable", "GeomTable",
Geom, Geom,
@ -75,9 +75,9 @@ facet_id <- local({
} }
}) })
#' Add a table to a ggplot2 plot # Add a table to a ggplot2 plot
#' #
#' @author Jan Schulz # @author Jan Schulz
geom_table <- function(mapping = NULL, data = NULL, stat = "identity", geom_table <- function(mapping = NULL, data = NULL, stat = "identity",
position = "identity", na.rm = FALSE, position = "identity", na.rm = FALSE,
show.legend = NA, inherit.aes = TRUE, ...) { show.legend = NA, inherit.aes = TRUE, ...) {

3
R/stateface.r

@ -136,6 +136,9 @@ GeomStateface <- ggproto("GeomStateface", Geom,
draw_panel = function(data, panel_scales, coord, parse = FALSE, draw_panel = function(data, panel_scales, coord, parse = FALSE,
na.rm = FALSE, check_overlap = FALSE) { na.rm = FALSE, check_overlap = FALSE) {
load_stateface
lab <- data$label lab <- data$label
if (max(sapply(lab, nchar)) == 2) { if (max(sapply(lab, nchar)) == 2) {

2
R/zzz.r

@ -2,8 +2,6 @@
if (!interactive()) return() if (!interactive()) return()
load_stateface()
packageStartupMessage(paste0("ggalt is under *active* development. ", packageStartupMessage(paste0("ggalt is under *active* development. ",
"See https://github.com/hrbrmstr/ggalt for changes")) "See https://github.com/hrbrmstr/ggalt for changes"))

17
man/geom_table.Rd

@ -1,17 +0,0 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geom_table.r
\name{geom_table}
\alias{geom_table}
\title{Add a table to a ggplot2 plot}
\usage{
geom_table(mapping = NULL, data = NULL, stat = "identity",
position = "identity", na.rm = FALSE, show.legend = NA,
inherit.aes = TRUE, ...)
}
\description{
Add a table to a ggplot2 plot
}
\author{
Jan Schulz
}

3
man/ggalt-ggproto.Rd

@ -1,5 +1,5 @@
% Generated by roxygen2: do not edit by hand % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coord_proj.r, R/geom_ash.r, R/geom_bkde.r, R/geom_bkde2d.r, R/geom_encircle.r, R/geom_table.r, R/geom_xspline.r, R/geom_xspline2.r, R/stateface.r % Please edit documentation in R/coord_proj.r, R/geom_ash.r, R/geom_bkde.r, R/geom_bkde2d.r, R/geom_encircle.r, R/geom_xspline.r, R/geom_xspline2.r, R/stateface.r
\docType{data} \docType{data}
\name{CoordProj} \name{CoordProj}
\alias{CoordProj} \alias{CoordProj}
@ -7,7 +7,6 @@
\alias{GeomBkde2d} \alias{GeomBkde2d}
\alias{GeomEncircle} \alias{GeomEncircle}
\alias{GeomStateface} \alias{GeomStateface}
\alias{GeomTable}
\alias{GeomXSpline2} \alias{GeomXSpline2}
\alias{GeomXspline} \alias{GeomXspline}
\alias{StatAsh} \alias{StatAsh}

Loading…
Cancel
Save