From dd0598145f17cf3a76eba38c1ccac8558eb8f1e5 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Tue, 14 May 2024 22:37:25 +0200 Subject: [PATCH] correct actual spelling mistakes --- CONTRIBUTING.md | 2 +- R/utils-cache.R | 2 +- inst/WORDLIST | 2 -- man/cache_make_key.Rd | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f9759dc00..665875467 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -98,7 +98,7 @@ The source code is organized as follows: | token-create.R | Utilities for creating tokens, mostly to insert braces around mutli-line if statements. | | token-define.R | Defines which tokens belong to which group. | | transform-code.R, transform-files.R | Transformation of code for APIs that manipulate files (e.g. `style_file()`). | -| ui.R | User interaces. Top-level functions for styling. | +| ui.R | User interfaces. Top-level functions for styling. | | unindent.R | Certain tokens cause unindention, e.g. closing braces. | | utils.R | low-level general purpose utilities. | | vertical.R | S3 class for pretty printing of styled code. | diff --git a/R/utils-cache.R b/R/utils-cache.R index ce255587e..fdbc2cbe2 100644 --- a/R/utils-cache.R +++ b/R/utils-cache.R @@ -54,7 +54,7 @@ is_cached <- function(text, #' a new cache. #' * transformers. Cannot easily hash them because two environments won't be #' identical even if they contain the same objects (see 'Experiments'). Simple -#' `as.character(transformers)` will not consider infinitively recursive +#' `as.character(transformers)` will not consider infinitely recursive #' code dependencies. #' To fix this, transformers must have names and version number as described #' in [create_style_guide()]. Now, the only way to fool the cache invalidation diff --git a/inst/WORDLIST b/inst/WORDLIST index 66f2882fe..36b75233f 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -76,11 +76,9 @@ https icloud ifelse Indrajeet -infinitively initializer inode integrations -interaces internal's Invasiveness invasiveness diff --git a/man/cache_make_key.Rd b/man/cache_make_key.Rd index ec1cdb9d8..b7468fcb3 100644 --- a/man/cache_make_key.Rd +++ b/man/cache_make_key.Rd @@ -29,7 +29,7 @@ We need to compare: a new cache. \item transformers. Cannot easily hash them because two environments won't be identical even if they contain the same objects (see 'Experiments'). Simple -\code{as.character(transformers)} will not consider infinitively recursive +\code{as.character(transformers)} will not consider infinitely recursive code dependencies. To fix this, transformers must have names and version number as described in \code{\link[=create_style_guide]{create_style_guide()}}. Now, the only way to fool the cache invalidation