Skip to content

Commit

Permalink
restored figures in the man pages
Browse files Browse the repository at this point in the history
  • Loading branch information
hrbrmstr committed Apr 9, 2016
1 parent 233b55f commit 30dc0da
Show file tree
Hide file tree
Showing 25 changed files with 110 additions and 26 deletions.
12 changes: 12 additions & 0 deletions .Rd2pdf5285/Rd2.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\documentclass[a4paper]{book}
\usepackage[times,inconsolata,hyper]{Rd}
\usepackage{makeidx}
\usepackage[latin1]{inputenc} % @SET ENCODING@
% \usepackage{graphicx} % @USE GRAPHICX@
\makeindex{}
\begin{document}
\chapter*{}
\begin{center}
{\textbf{\huge \R{} documentation}} \par\bigskip{{\Large of \file{ggalt}}}
\par\bigskip{\large \today}
\end{center}
4 changes: 2 additions & 2 deletions R/coord_proj.r
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
#' \if{html}{
#' A sample of the output from \code{coord_proj()} using the Winkel-Tripel projection:
#'
#' \figure{coord_proj_01.png}{options: width="100\%" alt="Figure: coord_proj_01.png"}
#' \figure{coordproj01.png}{options: width="100\%" alt="Figure: coordproj01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{coord_proj()} using the Winkel-Tripel projection:
#'
#' \figure{coordproj01.pdf}{options: width=10cm}
#' \figure{coordproj01.png}{options: width=10cm}
#' }
#'
#' @param proj projection definition. If left \code{NULL} will default to
Expand Down
4 changes: 2 additions & 2 deletions R/geom_ash.r
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
#' \if{html}{
#' A sample of the output from \code{stat_ash()}:
#'
#' \figure{stat_ash_01.png}{options: width="100\%" alt="Figure: stat_ash_01.png"}
#' \figure{statash01.png}{options: width="100\%" alt="Figure: statash01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{stat_ash()}:
#'
#' \figure{statash01.pdf}{options: width=10cm}
#' \figure{statash01.png}{options: width=10cm}
#' }
#'
#' @inheritParams ggplot2::geom_area
Expand Down
8 changes: 4 additions & 4 deletions R/geom_bkde.r
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
#' Display a smooth density estimate.
#'
#' A kernel density estimate, useful for display the distribution of variables
#' with underlying smoothness.
#' A kernel density estimate, useful for displaying the distribution of
#' variables with underlying smoothness.
#'
#' \if{html}{
#' A sample of the output from \code{geom_bkde()}:
#'
#' \figure{geom_bkde_01.png}{options: width="100\%" alt="Figure: geom_bkde_01.png"}
#' \figure{geombkde01.png}{options: width="100\%" alt="Figure: geombkde01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_bkde()}:
#'
#' \figure{geombkde01.pdf}{options: width=10cm}
#' \figure{geombkde01.png}{options: width=10cm}
#' }
#'
#' @section Aesthetics:
Expand Down
4 changes: 2 additions & 2 deletions R/geom_bkde2d.r
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ GeomBkde2d <- ggproto("GeomBkde2d", GeomPath,
#' \if{html}{
#' A sample of the output from \code{geom_bkde2d()}:
#'
#' \figure{geom_bkde2d_01.png}{options: width="100\%" alt="Figure: geom_bkde2d_01.png"}
#' \figure{geombkde2d01.png}{options: width="100\%" alt="Figure: geombkde2d01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_bkde2d()}:
#'
#' \figure{geombkde2d01.pdf}{options: width=10cm}
#' \figure{geombkde2d01.png}{options: width=10cm}
#' }
#'
#' @param bandwidth the kernel bandwidth smoothing parameter. see
Expand Down
15 changes: 13 additions & 2 deletions R/geom_encircle.r
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,21 @@ if (FALSE) {

}



#' Automatically enclose points in a polygon
#'
#' @details
#' \if{html}{
#' A sample of the output from \code{geom_encircle()}:
#'
#' \figure{geomencircle01.png}{options: width="100\%" alt="Figure: geomencircle01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_encircle()}:
#'
#' \figure{geomencircle01.png}{options: width=10cm}
#' }
#'
#' @param mapping mapping
#' @param data data
#' @param stat stat
Expand Down
12 changes: 12 additions & 0 deletions R/geom_lollipop.r
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@
#' Use the \code{horizontal} parameter to abate the need for \code{coord_flip()}
#' (see the \code{Arguments} section for details).
#'
#' \if{html}{
#' A sample of the output from \code{geom_lollipop()}:
#'
#' \figure{geomlollipop01.png}{options: width="100\%" alt="Figure: geomlollipop01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_lollipop()}:
#'
#' \figure{geomlollipop01.png}{options: width=10cm}
#' }
#'
#' @section Aesthetics:
#' \Sexpr[results=rd,stage=build]{ggplot2:::rd_aesthetics("geom", "point")}
#' @inheritParams ggplot2::layer
Expand Down
4 changes: 2 additions & 2 deletions R/geom_xspline.r
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
#' \if{html}{
#' A sample of the output from \code{geom_xspline()}:
#'
#' \figure{geom_xspline_01.png}{options: width="100\%" alt="Figure: geom_xspline_01.png"}
#' \figure{geomxspline01.png}{options: width="100\%" alt="Figure: geomxspline01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_xspline()}:
#'
#' \figure{geomxspline01.pdf}{options: width=10cm}
#' \figure{geomxspline01.png}{options: width=10cm}
#' }
#'
#' @section Aesthetics:
Expand Down
12 changes: 12 additions & 0 deletions R/stateface.r
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ load_stateface <- function() {
#' run \code{show_stateface()} to get the filesystem location and then
#' load the font manually from there.
#'
#' \if{html}{
#' A sample of the output from \code{geom_stateface()}:
#'
#' \figure{geomstateface01.png}{options: width="100\%" alt="Figure: geomstateface01.png"}
#' }
#'
#' \if{latex}{
#' A sample of the output from \code{geom_stateface()}:
#'
#' \figure{geomstateface01.png}{options: width=10cm}
#' }
#'
#' @param nudge_x,nudge_y Horizontal and vertical adjustment to nudge l
#' abels by. Useful for offsetting text from points, particularly
#' on discrete scales.
Expand Down
4 changes: 2 additions & 2 deletions man/coord_proj.Rd

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

Binary file added man/figures/coordproj01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added man/figures/geombkde01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added man/figures/geombkde2d01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added man/figures/geomencircle01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added man/figures/geomlollipop01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added man/figures/geomstateface01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added man/figures/geomxspline01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added man/figures/statash01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions man/geom_bkde.Rd

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

4 changes: 2 additions & 2 deletions man/geom_bkde2d.Rd

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

13 changes: 13 additions & 0 deletions man/geom_encircle.Rd

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

12 changes: 12 additions & 0 deletions man/geom_lollipop.Rd

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

12 changes: 12 additions & 0 deletions man/geom_stateface.Rd

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

4 changes: 2 additions & 2 deletions man/geom_xspline.Rd

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

4 changes: 2 additions & 2 deletions man/stat_ash.Rd

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

0 comments on commit 30dc0da

Please sign in to comment.