diff --git a/R/board-databricks.R b/R/board-databricks.R index 7b9a0da2..542a121f 100644 --- a/R/board-databricks.R +++ b/R/board-databricks.R @@ -26,8 +26,8 @@ #' folder. For example: /Volumes/my-catalog/my-schema/my-volume. #' @param host Your [Workspace Instance URL](https://docs.databricks.com/en/workspace/workspace-details.html#workspace-url). #' If `NULL`, it will search for URL in two different environment variables: -#' - DATABRICKS_HOST -#' - CONNECT_DATABRICKS_HOST +#' - 'DATABRICKS_HOST' +#' - 'CONNECT_DATABRICKS_HOST' #' #' Defaults to `NULL`. #' @param prefix Prefix within this bucket that this board will occupy. diff --git a/man/board_databricks.Rd b/man/board_databricks.Rd index 08e55069..5fa5d7d8 100644 --- a/man/board_databricks.Rd +++ b/man/board_databricks.Rd @@ -20,8 +20,8 @@ folder. For example: /Volumes/my-catalog/my-schema/my-volume.} \item{host}{Your \href{https://docs.databricks.com/en/workspace/workspace-details.html#workspace-url}{Workspace Instance URL}. If \code{NULL}, it will search for URL in two different environment variables: \itemize{ -\item DATABRICKS_HOST -\item CONNECT_DATABRICKS_HOST +\item 'DATABRICKS_HOST' +\item 'CONNECT_DATABRICKS_HOST' } Defaults to \code{NULL}.} diff --git a/tests/testthat/test-board-databricks.R b/tests/testthat/test-board-databricks.R index ea207ebe..ef1a5aaf 100644 --- a/tests/testthat/test-board-databricks.R +++ b/tests/testthat/test-board-databricks.R @@ -1,3 +1,8 @@ +# To run these tests, you will need a Databricks Volume, with read/write access, +# and the following environment variables set: +# PINS_DATABRICKS_FOLDER_URL - The path to your Databricks Volume +# DATABRICKS_HOST - Your Workpace Instance URL +# DATABRICKS_TOKEN - Your PAT skip_if_not_installed("httr2") test_that("Deparse works", { expect_snapshot(board_databricks("THIS-IS-A-TEST", host = "NOT-A-HOST"))