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

Reverts env name change, #19

Merged
merged 1 commit into from
Aug 18, 2023
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
6 changes: 3 additions & 3 deletions R/install.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Installs python dependencies
#' @param envname The name of the Python Environment to use to install the
#' Python libraries. Defaults to "recent".
#' Python libraries. Defaults to "r-sparklyr".
#' @param python_version The version of Python to use to create the Python
#' environment.
#' @param new_env If `TRUE`, any existing Python virtual environment and/or
Expand All @@ -11,10 +11,10 @@
#' specified by `envname`.
#' @param ... Passed on to [`reticulate::py_install()`]
#' @export
install_pyspark <- function(envname = "recent",
install_pyspark <- function(envname = "r-sparklyr",
...,
python_version = ">=3.9",
new_env = identical(envname, "recent"),
new_env = identical(envname, "r-sparklyr"),
method = c("auto", "virtualenv", "conda")) {
packages <- c(
"pyspark",
Expand Down
2 changes: 1 addition & 1 deletion R/spark-connect.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ py_spark_connect <- function(master,
token = Sys.getenv("DATABRICKS_TOKEN"),
cluster_id = NULL,
method = "",
virtualenv_name = "recent",
virtualenv_name = "r-sparklyr",
spark_version = NULL,
databricks_connect_version = NULL,
config = list()) {
Expand Down
6 changes: 3 additions & 3 deletions man/install_pyspark.Rd

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