R/utils-roxygen.R

Defines functions rd_connector_utils

#' Documentation for central components reused in several connectors and functions
#' this solution was chosen since roxygen does not support the use of @inheritParams and @inherits for R6 objects
#' @noRd
rd_connector_utils <- function(param) {
  x <- c(
    "name" = "[character] Name of the content to read, write, or remove. Typically the table name.",
    "x" = "The object to write to the connection",
    "file" = "[character] Path to the file to download to or upload from",
    "..." = "Additional arguments passed to the method for the individual connector.",
    "extra_class" = "[character] Extra class to assign to the new connector.",
    "connector_object" = "[Connector] The connector object to use.",
    "inv_self" = "[invisible] self.",
    "inv_connector" = "[invisible] connector_object.",
    "overwrite" = "[logical] Overwrite existing content if it exists.",
    "open" = "[logical] Open the directory as a new connector object."
  )
  x[[param]]
}

Try the connector package in your browser

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

connector documentation built on June 8, 2025, 11:36 a.m.