From 54f3481bdf87e5dc32faaebf82a7085d3abc7eed Mon Sep 17 00:00:00 2001 From: Florian Rupprecht Date: Mon, 22 Jan 2024 17:21:57 -0500 Subject: [PATCH] Spell check --- R/unigd.R | 2 +- README.md | 2 +- man/ugd_save.Rd | 2 +- vignettes/b00_guide.Rmd | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/R/unigd.R b/R/unigd.R index 3420f31..70db10c 100644 --- a/R/unigd.R +++ b/R/unigd.R @@ -259,7 +259,7 @@ ugd_render <- function(page = 0, #' Render unigd plot to a file. #' -#' See [ugd_render()] for acessing plot data directly in memory without +#' See [ugd_render()] for accessing plot data directly in memory without #' saving as a file. #' This function will only work after starting a device with [ugd()]. #' diff --git a/README.md b/README.md index e28514e..6354503 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ See [the guide](https://nx10.github.io/unigd/articles/b00_guide.html) for more d ## Contributions welcome! -`unigd` is mostly written in C++, but contributions to the tests (in R) or the documentatation are also always welcome! +`unigd` is mostly written in C++, but contributions to the tests (in R) or the documentation are also always welcome! ## About & License diff --git a/man/ugd_save.Rd b/man/ugd_save.Rd index 24ad8b6..d2bd633 100644 --- a/man/ugd_save.Rd +++ b/man/ugd_save.Rd @@ -39,7 +39,7 @@ extension.} Rendered SVG string. } \description{ -See \code{\link[=ugd_render]{ugd_render()}} for acessing plot data directly in memory without +See \code{\link[=ugd_render]{ugd_render()}} for accessing plot data directly in memory without saving as a file. This function will only work after starting a device with \code{\link[=ugd]{ugd()}}. } diff --git a/vignettes/b00_guide.Rmd b/vignettes/b00_guide.Rmd index 8d2c49d..ba137fa 100644 --- a/vignettes/b00_guide.Rmd +++ b/vignettes/b00_guide.Rmd @@ -26,7 +26,7 @@ hist(temp, col="darkblue") # (2) Plot a histogram dev.off() # (3) Close the device ``` -Note that this has some unfortunate contstraints: +Note that this has some unfortunate constraints: - Rendering information must be specified _before_ the plot is created - File format (`png()`, `pdf()`, `svg()`, ...) @@ -88,7 +88,7 @@ The next section will illustrate how to access the render data directly without For some applications, you might want to access the rendered data directly. Example use-cases for this might be report generation, web services or interactive applications. -While you can most likely think of work-arounds for this issue, this `unigd` +While you can most likely think of workarounds for this issue, this `unigd` feature will certainly lower code complexity and increase performance. Rendering in-memory is done by simply calling `ugd_render(...)` instead of `ugd_save(...)`: @@ -223,7 +223,7 @@ not go into too much detail about this topic but here are some noteworthy mentio - `"strings"`-renderer - All text elements inside a plot - - Linebreak seperated plain text format + - Linebreak separated plain text format - Could be used to e.g. 'search' through plots - `"meta"`-renderer - Meta information about the plot