R/utils.R

Defines functions notebookutils.initialize mssparkutils.nbResPath notebookutils.nbResPath

Documented in mssparkutils.nbResPath notebookutils.initialize notebookutils.nbResPath

# Utilities and Helpers
#' @noRd
.dummyStr <- ""
#' @noRd
.dummyNull <- NULL
#' Gets the local path of the notebook resource.
#'
#' @return The local path of the notebook resource.
#' @export
notebookutils.nbResPath <- function() {
    .dummyStr
}

#' Gets the local path of the notebook resource.
#'
#' @return The local path of the notebook resource.
#' @export
mssparkutils.nbResPath <- function() {
    .dummyStr
}

#' Initialize notebookutils, using in pre-run code
#'
#' @export
notebookutils.initialize <- function() {
    .dummyNull
}

Try the notebookutils package in your browser

Any scripts or data that you put into this service are public.

notebookutils documentation built on Jan. 26, 2026, 9:06 a.m.