Skip to content

Commit

Permalink
chore: another pass of CRAN reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
kpagacz committed Feb 4, 2025
1 parent 45b8290 commit b65236c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions antidotum/tergo/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tergo
Title: Style Your Code Fast
Version: 0.1.7.9000
Version: 0.1.8
Authors@R:
c(
person("Konrad", "Pagacz", , "[email protected]", role = c("aut", "cre")),
Expand All @@ -10,9 +10,9 @@ Authors@R:
)
Description: Provides a set of functions
that allow users for styling their R code according to
the `tidyverse` style guide. The package uses a native
the 'tidyverse' style guide. The package uses a native
Rust implementation to ensure the highest performance.
Learn more about `tergo` at <https://rtergo.pagacz.io>.
Learn more about 'tergo' at <https://rtergo.pagacz.io>.
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Expand Down
1 change: 1 addition & 0 deletions antidotum/tergo/R/addins.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,4 @@ style_selection_addin <- function() {
rstudioapi::documentSave(context$id)
invisible(NULL)
}

1 change: 1 addition & 0 deletions antidotum/tergo/R/extendr-wrappers.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ get_config <- function(path) .Call(wrap__get_config, path)
get_default_config <- function() .Call(wrap__get_default_config)

# nolint end

1 change: 1 addition & 0 deletions antidotum/tergo/R/styling.R
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,4 @@ style_text <- function(text, configuration = list()) {
USE.NAMES = FALSE
)
}

1 change: 1 addition & 0 deletions antidotum/tergo/R/tergo.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
#'
#' @keywords internal
"_PACKAGE"

2 changes: 1 addition & 1 deletion antidotum/tergo/man/tergo-package.Rd

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

4 changes: 1 addition & 3 deletions antidotum/tergo/vignettes/styling_with_tergo.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ knitr::opts_chunk$set(
library(tergo)
```

# Get Started with `tergo`
# Get Started with `tergo`

`tergo` is a lightning-fast R code formatter powered by Rust, designed for developers who prioritize speed and efficiency.
Whether you're optimizing CI pipelines or building responsive developer tools, `tergo` reformats R code in milliseconds.
Expand Down Expand Up @@ -111,5 +111,3 @@ tergo::style(config = "path/to/alternate.toml")
• Visit [GitHub repository](https://github.com/kpagacz/tergo) for issue tracking
• Experiment with different `.toml` configurations to match your team's style guide
```
This vignette emphasizes speed comparisons through concrete multipliers ("100-1000x faster"), provides immediate copy-paste examples, and uses tables for configuration clarity. The structure guides users from installation to advanced features while maintaining visual scanability.

0 comments on commit b65236c

Please sign in to comment.