From 75386ffbbaa0947d5ed31e2b04ab7067f2515168 Mon Sep 17 00:00:00 2001 From: eitsupi Date: Thu, 19 Jan 2023 14:03:19 +0000 Subject: [PATCH 1/7] Increment version number to 0.1.0 --- DESCRIPTION | 2 +- NEWS.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 7165dc8b..5eefd86e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -4,7 +4,7 @@ Description: Provides a function to convert 'PRQL' strings to 'SQL' strings. Combined with other R functions that take 'SQL' as an argument, 'PRQL' can be used on R. -Version: 0.0.4.9001 +Version: 0.1.0 Authors@R: person("Tatsuya", "Shima", email = "ts1s1andn@gmail.com", role = c("aut", "cre")) URL: https://eitsupi.github.io/prqlr/, https://github.com/eitsupi/prqlr diff --git a/NEWS.md b/NEWS.md index 9bfdd439..eeb2c1de 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# prqlr (development version) +# prqlr 0.1.0 ## Breaking changes From b668dbd6c1ded888dae752fdc672638448dd299e Mon Sep 17 00:00:00 2001 From: eitsupi Date: Thu, 19 Jan 2023 22:54:18 +0000 Subject: [PATCH 2/7] Update README --- README.Rmd | 8 +++++++- README.md | 14 ++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README.Rmd b/README.Rmd index 17917e2d..9ae002e2 100644 --- a/README.Rmd +++ b/README.Rmd @@ -27,10 +27,16 @@ powered by [the `extendr` framework](https://extendr.github.io/). Requires R 4.2.0 or later. -This package can be installed from [R-universe](https://eitsupi.r-universe.dev/ui#package:prqlr). +This package can be installed from CRAN or [R-universe](https://eitsupi.r-universe.dev/ui#package:prqlr). If available, a binary package will be installed. ```r +# Install from CRAN +install.packages("prqlr") +``` + +```r +# Install from R-universe install.packages("prqlr", repos = "https://eitsupi.r-universe.dev") ``` diff --git a/README.md b/README.md index 5508a0b9..aea2fb27 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,17 @@ framework](https://extendr.github.io/). Requires R 4.2.0 or later. -This package can be installed from +This package can be installed from CRAN or [R-universe](https://eitsupi.r-universe.dev/ui#package:prqlr). If available, a binary package will be installed. ``` r +# Install from CRAN +install.packages("prqlr") +``` + +``` r +# Install from R-universe install.packages("prqlr", repos = "https://eitsupi.r-universe.dev") ``` @@ -45,7 +51,7 @@ library(prqlr) #> WHERE #> cyl > 6 #> -#> -- Generated by PRQL compiler version 0.4.1 (https://prql-lang.org) +#> -- Generated by PRQL compiler version 0.4.0 (https://prql-lang.org) ``` PRQL’s pipelines can be joined by the newline character (`\n`), or @@ -63,7 +69,7 @@ actual newlines in addition to `|`. #> WHERE #> cyl > 6 #> -#> -- Generated by PRQL compiler version 0.4.1 (https://prql-lang.org) +#> -- Generated by PRQL compiler version 0.4.0 (https://prql-lang.org) ``` ``` r @@ -80,7 +86,7 @@ select [cyl, mpg]" |> #> WHERE #> cyl > 6 #> -#> -- Generated by PRQL compiler version 0.4.1 (https://prql-lang.org) +#> -- Generated by PRQL compiler version 0.4.0 (https://prql-lang.org) ``` Thanks to the `{tidyquery}` package, we can even convert a PRQL query to From 67914d30381f81b92a482afe8f45634a23b16659 Mon Sep 17 00:00:00 2001 From: eitsupi Date: Thu, 19 Jan 2023 23:10:07 +0000 Subject: [PATCH 3/7] Add cran-comments --- cran-comments.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 cran-comments.md diff --git a/cran-comments.md b/cran-comments.md new file mode 100644 index 00000000..6a4de298 --- /dev/null +++ b/cran-comments.md @@ -0,0 +1,27 @@ +## Test environments + +- local: x86_64-pc-linux-gnu +- GitHub Actions + - { os: macOS-latest, r: "release" } + - { os: windows-latest, r: "release", rtools-version: "42" } + - { os: ubuntu-latest, r: "devel", http-user-agent: "release" } + - { os: ubuntu-latest, r: "release" } +- devtools + - `check_rhub()` + - `check_win_release()` + +## R CMD check results + +- There were no ERRORs or WARNINGs. +- There was 1 NOTE. + - New submission + +## Resubmission + +This is a resubmission. +However, it has been mostly rewritten since the last submission, +as I have incorporated upstream breaking changes since the last submission. + +I have updated it so that it does not write to the user's home directory during the installation process. +I installed it on `docker.io/library/r-base` (Debian testing based container) and +verified that there are no more files in the home directory. From a76602e9809f9ffb6a04de87e359818e7680291c Mon Sep 17 00:00:00 2001 From: eitsupi Date: Thu, 19 Jan 2023 23:13:03 +0000 Subject: [PATCH 4/7] fix typo --- vignettes/prqlr.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/prqlr.Rmd b/vignettes/prqlr.Rmd index 4d887389..e7c808a7 100644 --- a/vignettes/prqlr.Rmd +++ b/vignettes/prqlr.Rmd @@ -56,7 +56,7 @@ derive [mpg_int = round 0 mpg] cat() ``` -This outputed SQL query string can be used with already existing great packages that manipulate data with SQL. +This outputted SQL query string can be used with already existing great packages that manipulate data with SQL. ## Work with DB From 24ef40a006996da699c0f74267753556be05da51 Mon Sep 17 00:00:00 2001 From: eitsupi Date: Thu, 19 Jan 2023 23:17:31 +0000 Subject: [PATCH 5/7] Add CRAN-SUBMISSION --- CRAN-SUBMISSION | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 CRAN-SUBMISSION diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION new file mode 100644 index 00000000..a3cee469 --- /dev/null +++ b/CRAN-SUBMISSION @@ -0,0 +1,3 @@ +Version: 0.1.0 +Date: 2023-01-19 23:17:08 UTC +SHA: a76602e9809f9ffb6a04de87e359818e7680291c From dd7449de8576f981a758ac16b52c1e5f724cf9ef Mon Sep 17 00:00:00 2001 From: eitsupi Date: Fri, 20 Jan 2023 11:20:31 +0000 Subject: [PATCH 6/7] remove cran-commnets and CRAN-SUBMISSION --- CRAN-SUBMISSION | 3 --- cran-comments.md | 27 --------------------------- 2 files changed, 30 deletions(-) delete mode 100644 CRAN-SUBMISSION delete mode 100644 cran-comments.md diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION deleted file mode 100644 index a3cee469..00000000 --- a/CRAN-SUBMISSION +++ /dev/null @@ -1,3 +0,0 @@ -Version: 0.1.0 -Date: 2023-01-19 23:17:08 UTC -SHA: a76602e9809f9ffb6a04de87e359818e7680291c diff --git a/cran-comments.md b/cran-comments.md deleted file mode 100644 index 6a4de298..00000000 --- a/cran-comments.md +++ /dev/null @@ -1,27 +0,0 @@ -## Test environments - -- local: x86_64-pc-linux-gnu -- GitHub Actions - - { os: macOS-latest, r: "release" } - - { os: windows-latest, r: "release", rtools-version: "42" } - - { os: ubuntu-latest, r: "devel", http-user-agent: "release" } - - { os: ubuntu-latest, r: "release" } -- devtools - - `check_rhub()` - - `check_win_release()` - -## R CMD check results - -- There were no ERRORs or WARNINGs. -- There was 1 NOTE. - - New submission - -## Resubmission - -This is a resubmission. -However, it has been mostly rewritten since the last submission, -as I have incorporated upstream breaking changes since the last submission. - -I have updated it so that it does not write to the user's home directory during the installation process. -I installed it on `docker.io/library/r-base` (Debian testing based container) and -verified that there are no more files in the home directory. From 8e753e4dcc851fc50215147ce980dc44a360bc99 Mon Sep 17 00:00:00 2001 From: eitsupi Date: Fri, 20 Jan 2023 11:24:54 +0000 Subject: [PATCH 7/7] Increment version number to 0.1.0.9000 --- DESCRIPTION | 2 +- NEWS.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5eefd86e..9f8a0732 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -4,7 +4,7 @@ Description: Provides a function to convert 'PRQL' strings to 'SQL' strings. Combined with other R functions that take 'SQL' as an argument, 'PRQL' can be used on R. -Version: 0.1.0 +Version: 0.1.0.9000 Authors@R: person("Tatsuya", "Shima", email = "ts1s1andn@gmail.com", role = c("aut", "cre")) URL: https://eitsupi.github.io/prqlr/, https://github.com/eitsupi/prqlr diff --git a/NEWS.md b/NEWS.md index eeb2c1de..a49069db 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,5 @@ +# prqlr (development version) + # prqlr 0.1.0 ## Breaking changes