From 58987443c08ff3e9528ff4807fc080c9cdec5d0b Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Fri, 5 Jan 2024 03:34:53 +0000 Subject: [PATCH 1/4] docs: pl$polars_info -> polars_info --- vignettes/install.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/install.Rmd b/vignettes/install.Rmd index d9a3e2880..4ec1d48a0 100644 --- a/vignettes/install.Rmd +++ b/vignettes/install.Rmd @@ -114,7 +114,7 @@ The features enabled in the compiled Rust library are shown by the `pl$polars_in ```{r} library(polars) -pl$polars_info() +polars_info() ``` At this time, the following environment variables can be used to change the Rust library build time options. From 9ee16dd7d166591023996312819e1192ca6787b8 Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Fri, 5 Jan 2024 03:38:49 +0000 Subject: [PATCH 2/4] docs: add note about MY_UNIVERSE and minor update --- vignettes/install.Rmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vignettes/install.Rmd b/vignettes/install.Rmd index 4ec1d48a0..d87524811 100644 --- a/vignettes/install.Rmd +++ b/vignettes/install.Rmd @@ -88,6 +88,7 @@ If one of the following environment variables is set, a pre-built Rust library binary will be tried to be used before building the Rust source. - `NOT_CRAN="true"` +- `MY_UNIVERSE` is not empty (This environment variable is set by R-universe) - `LIBR_POLARS_BUILD="false"` (This is prioritized, so if you want to force a source build, set `LIBR_POLARS_BUILD="true"`) By default, the pre-built Rust library binary is downloaded from the URL recorded in `tools/lib-sums.tsv`. @@ -96,7 +97,7 @@ or the hash of the downloaded file does not match the recorded one, it falls bac If you want to use a pre-built Rust library binary that exists locally, set the `LIBR_POLARS_PATH` environment variable to the path to the binary. -For example: +For example (on Bash): ```sh export LIBR_POLARS_BUILD="false" From 687930532bc062fc50cdb3e2866b5828fae23e69 Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Fri, 5 Jan 2024 03:40:16 +0000 Subject: [PATCH 3/4] docs: pl$polars_info -> polars_info --- vignettes/install.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/install.Rmd b/vignettes/install.Rmd index d87524811..72d300925 100644 --- a/vignettes/install.Rmd +++ b/vignettes/install.Rmd @@ -111,7 +111,7 @@ r-polars Rust library has some [feature flags](https://doc.rust-lang.org/cargo/r that affect the R package features. These flags are set at compile time, and cannot be changed at runtime. -The features enabled in the compiled Rust library are shown by the `pl$polars_info()` function. +The features enabled in the compiled Rust library are shown by the `polars_info()` function. ```{r} library(polars) From 2d1e2219bf24cc162ca8177749aa535fcf465443 Mon Sep 17 00:00:00 2001 From: eitsupi Date: Fri, 5 Jan 2024 14:00:32 +0000 Subject: [PATCH 4/4] docs: rename the vignette --- vignettes/install.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/install.Rmd b/vignettes/install.Rmd index 72d300925..bc680d77c 100644 --- a/vignettes/install.Rmd +++ b/vignettes/install.Rmd @@ -1,5 +1,5 @@ --- -title: "installing polars details" +title: "Installation details" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{install}