diff --git a/DESCRIPTION b/DESCRIPTION index 8d69933..e209d76 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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, diff --git a/R/compile.R b/R/compile.R index d9997cd..c673f9b 100644 --- a/R/compile.R +++ b/R/compile.R @@ -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 diff --git a/README.Rmd b/README.Rmd index e81ceb2..9d0c08a 100644 --- a/README.Rmd +++ b/README.Rmd @@ -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) -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()`. diff --git a/README.md b/README.md index 9b803fc..15eef47 100644 --- a/README.md +++ b/README.md @@ -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) -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. diff --git a/man/prql_version.Rd b/man/prql_version.Rd index db933b7..119a934 100644 --- a/man/prql_version.Rd +++ b/man/prql_version.Rd @@ -2,15 +2,15 @@ % Please edit documentation in R/compile.R \name{prql_version} \alias{prql_version} -\title{prql-compiler's version} +\title{prqlc's version} \usage{ prql_version() } \value{ -a \link{numeric_version} with the version of the built-in prql-compiler. +a \link{numeric_version} with the version of the built-in prqlc. } \description{ -prql-compiler's version +prqlc's version } \examples{ prql_version() diff --git a/man/prqlr-package.Rd b/man/prqlr-package.Rd index 355149c..d8b081b 100644 --- a/man/prqlr-package.Rd +++ b/man/prqlr-package.Rd @@ -4,7 +4,7 @@ \name{prqlr-package} \alias{prqlr} \alias{prqlr-package} -\title{prqlr: R Bindings for the 'prql-compiler' Rust Library} +\title{prqlr: R Bindings for the 'prqlc' Rust Library} \description{ \if{html}{\figure{logo.png}{options: style='float: right' alt='logo' width='120'}} diff --git a/tests/testthat/_snaps/compile.md b/tests/testthat/_snaps/compile.md index 00d92d2..193d936 100644 --- a/tests/testthat/_snaps/compile.md +++ b/tests/testthat/_snaps/compile.md @@ -375,7 +375,7 @@ LIMIT 2 -# prql-compiler's version +# prqlc's version Code prql_version() diff --git a/tests/testthat/test-compile.R b/tests/testthat/test-compile.R index 1a4e839..1168c77 100644 --- a/tests/testthat/test-compile.R +++ b/tests/testthat/test-compile.R @@ -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") })