Skip to content

Commit

Permalink
docs: replace prql-compiler to prqlc (#260)
Browse files Browse the repository at this point in the history
A follow up for #257
  • Loading branch information
eitsupi committed Feb 10, 2024
1 parent 76d6ad7 commit 3b1a369
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: prqlr
Title: R Bindings for the 'prql-compiler' Rust Library
Title: R Bindings for the 'prqlc' Rust Library
Description:
Provides a function to convert 'PRQL' strings to 'SQL' strings.
Combined with other R functions that take 'SQL' as an argument,
Expand Down
4 changes: 2 additions & 2 deletions R/compile.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ prql_compile <- function(
compile(prql_query, target %||% "sql.any", format, signature_comment)
}

#' @title prql-compiler's version
#' @return a [numeric_version] with the version of the built-in prql-compiler.
#' @title prqlc's version
#' @return a [numeric_version] with the version of the built-in prqlc.
#' @examples
#' prql_version()
#' @export
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ knitr::opts_chunk$set(
[![CRAN status](https://www.r-pkg.org/badges/version/prqlr)](https://CRAN.R-project.org/package=prqlr)
<!-- badges: end -->

R bindings for [the `prql-compiler` Rust library](https://github.com/prql/prql),
R bindings for [the `prqlc` Rust library](https://github.com/prql/prql),
powered by [`savvy`](https://github.com/yutannihilation/savvy).

This version supports PRQL `r prqlr::prql_version()`.
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ badge](https://eitsupi.r-universe.dev/badges/prqlr)](https://eitsupi.r-universe.
status](https://www.r-pkg.org/badges/version/prqlr)](https://CRAN.R-project.org/package=prqlr)
<!-- badges: end -->

R bindings for [the `prql-compiler` Rust
library](https://github.com/prql/prql), powered by
[`savvy`](https://github.com/yutannihilation/savvy).
R bindings for [the `prqlc` Rust library](https://github.com/prql/prql),
powered by [`savvy`](https://github.com/yutannihilation/savvy).

This version supports PRQL 0.11.2.

Expand Down
6 changes: 3 additions & 3 deletions man/prql_version.Rd

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

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

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

2 changes: 1 addition & 1 deletion tests/testthat/_snaps/compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
LIMIT
2

# prql-compiler's version
# prqlc's version

Code
prql_version()
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-compile.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ take 2
target = prql_get_targets()
)

test_that("prql-compiler's version", {
test_that("prqlc's version", {
expect_snapshot(prql_version())
expect_s3_class(prql_version(), "numeric_version")
})

0 comments on commit 3b1a369

Please sign in to comment.