From d12922627e91a5e795daf314f0d9a57fa9c39d06 Mon Sep 17 00:00:00 2001 From: Thomas Lin Pedersen Date: Wed, 11 Oct 2023 09:16:07 +0200 Subject: [PATCH] redoc --- DESCRIPTION | 2 +- man/svglite-package.Rd | 44 ++++++++++++++++++++++++++++++++++++++++++ man/svglite.Rd | 2 +- man/svgstring.Rd | 9 ++++++--- 4 files changed, 52 insertions(+), 5 deletions(-) create mode 100644 man/svglite-package.Rd diff --git a/DESCRIPTION b/DESCRIPTION index 052678d..64596f5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -44,6 +44,6 @@ VignetteBuilder: Config/Needs/website: tidyverse/tidytemplate Encoding: UTF-8 Roxygen: list(markdown = TRUE) -RoxygenNote: 7.2.1 +RoxygenNote: 7.2.3 SystemRequirements: libpng Config/testthat/edition: 3 diff --git a/man/svglite-package.Rd b/man/svglite-package.Rd new file mode 100644 index 0000000..0bf572a --- /dev/null +++ b/man/svglite-package.Rd @@ -0,0 +1,44 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/svglite-package.R +\docType{package} +\name{svglite-package} +\alias{svglite} +\alias{svglite-package} +\title{svglite: An 'SVG' Graphics Device} +\description{ +\if{html}{\figure{logo.png}{options: style='float: right' alt='logo' width='120'}} + +A graphics device for R that produces 'Scalable Vector Graphics'. 'svglite' is a fork of the older 'RSvgDevice' package. +} +\seealso{ +Useful links: +\itemize{ + \item \url{https://svglite.r-lib.org} + \item \url{https://github.com/r-lib/svglite} + \item Report bugs at \url{https://github.com/r-lib/svglite/issues} +} + +} +\author{ +\strong{Maintainer}: Thomas Lin Pedersen \email{thomas.pedersen@posit.co} (\href{https://orcid.org/0000-0002-5147-4711}{ORCID}) + +Authors: +\itemize{ + \item Hadley Wickham \email{hadley@posit.co} + \item Lionel Henry \email{lionel@posit.co} + \item T Jake Luciani \email{jake@apache.org} + \item Matthieu Decorde \email{matthieu.decorde@ens-lyon.fr} + \item Vaudor Lise \email{lise.vaudor@ens-lyon.fr} +} + +Other contributors: +\itemize{ + \item Tony Plate (Early line dashing code) [contributor] + \item David Gohel (Line dashing code and early raster code) [contributor] + \item Yixuan Qiu (Improved styles; polypath implementation) [contributor] + \item HÃ¥kon Malmedal (Opacity code) [contributor] + \item Posit, PBC [copyright holder, funder] +} + +} +\keyword{internal} diff --git a/man/svglite.Rd b/man/svglite.Rd index fac1f50..6090e62 100644 --- a/man/svglite.Rd +++ b/man/svglite.Rd @@ -99,7 +99,7 @@ svg. See the \code{fonts} vignette for more information. \examples{ # Save to file svglite(tempfile("Rplots.svg")) -plot(1:11, (-5:5)^2, type = 'b', main = "Simple Example") +plot(1:11, (-5:5)^2, type = "b", main = "Simple Example") dev.off() } diff --git a/man/svgstring.Rd b/man/svgstring.Rd index 512a0de..988d8f7 100644 --- a/man/svgstring.Rd +++ b/man/svgstring.Rd @@ -82,10 +82,13 @@ See \code{\link{svglite}()} documentation for information about specifying fonts. } \examples{ -s <- svgstring(); s() +s <- svgstring() +s() -plot.new(); s(); -text(0.5, 0.5, "Hi!"); s() +plot.new() +s() +text(0.5, 0.5, "Hi!") +s() dev.off() s <- svgstring()