R/zzz.R

Defines functions .onLoad

# nocov start

.onLoad <- function(libname, pkgname) {
  op <- options()

  op.notionapi <- list(
    notionapi.version = "2026-03-11",
    notionapi.base_url = "https://api.notion.com/v1"
  )

  toset <- !(names(op.notionapi) %in% names(op))

  if (any(toset)) {
    options(
      op.notionapi[toset]
    )
  }
}

## nocov end

Try the notionapi package in your browser

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

notionapi documentation built on April 13, 2026, 9:07 a.m.