diff --git a/R/error__rpolarserr.R b/R/error__rpolarserr.R index 2d8d44f39..100dc6a10 100644 --- a/R/error__rpolarserr.R +++ b/R/error__rpolarserr.R @@ -54,7 +54,7 @@ bad_robj = function(r) { } Err_plain = function(...) { - Err(.pr$Err$new()$plain(paste(..., collapse = " "))) + Err(.pr$Err$new()$plain(paste0(..., collapse = " "))) } # short hand for extracting an error context in unit testing, will raise error if not an RPolarsErr diff --git a/R/info.R b/R/info.R index 143f064c1..81367635d 100644 --- a/R/info.R +++ b/R/info.R @@ -57,7 +57,7 @@ print.polars_info = function(x, ...) { #' error = \(e) cat(as.character(e)) #' ) check_feature = function(feature_name, context = NULL, call = sys.call(1L)) { - if (!pl$polars_info()$features[[feature_name]]) { + if (!cargo_rpolars_feature_info()[[feature_name]]) { Err_plain( "\nFeature '", feature_name, "' is not enabled.\n", "Please check the documentation about installation\n",