Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update polars_info's docs to link to related docs #652

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/expr__string.R
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ ExprStr_to_lowercase = function() {
#' This method is only available with the feature flag "simd" which can
#' be set via envvar "RPOLARS_FULL_FEATURES" and it requires
#' Rust nightly toolchain to compile.
#' See [`pl$polars_info()`][polars_info] for more details.
#' See [`pl$polars_info()`][pl_polars_info] for more details.
#' @examplesIf pl$polars_info()$features$simd
#' pl$lit(c("hello there", "HI, THERE", NA))$str$to_titlecase()$to_series()
ExprStr_to_titlecase = function() {
Expand Down
7 changes: 4 additions & 3 deletions R/info.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#' Report information of the package
#'
#' This function reports the following information:
#' - Package versions (the R package version and the dependent Rust Polars version)
#' - [Number of threads used by Polars][pl_threadpool_size]
#' - Rust feature flags (See `vignette("install", "polars")` for details)
#' @return A list with information of the package
#' @name polars_info
#' @examples
#' pl$polars_info()
# TODO: Link to the installation vignette
pl_polars_info = function() {
# Similar to arrow::arrow_info()
out = list(
Expand Down Expand Up @@ -78,7 +80,6 @@ check_feature = function(feature_name, context = NULL, call = sys.call(1L)) {
#' It is strongly recommended not to override this value as it will be
#' set automatically by the engine.
#'
#' @name threadpool_size
#' @return The number of threads
#' @examples
#' pl$threadpool_size()
Expand Down
2 changes: 1 addition & 1 deletion R/sql.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' @title Run SQL queries against DataFrame/LazyFrame data.
#' @description Run SQL queries against DataFrame/LazyFrame data.
#' @details Currently, only available when built with the `full` feature.
#' See [polars_info()] for more information.
#' See [`pl$polars_info()`][pl_polars_info] for more information.
#' @name SQLContext_class
#' @keywords SQLContext
#' @examplesIf pl$polars_info()$features$sql
Expand Down
2 changes: 1 addition & 1 deletion man/ExprStr_to_titlecase.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/SQLContext_class.Rd

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

22 changes: 22 additions & 0 deletions man/pl_polars_info.Rd

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

3 changes: 1 addition & 2 deletions man/threadpool_size.Rd → man/pl_threadpool_size.Rd

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

18 changes: 0 additions & 18 deletions man/polars_info.Rd

This file was deleted.

Loading