sei_set_default_config: Set Default SEI Configuration for the Session

View source: R/config.R

sei_set_default_configR Documentation

Set Default SEI Configuration for the Session

Description

Stores the given configuration values as options(rsei.*) so subsequent calls to sei_config (and therefore every operation) pick them up without having to pass config explicitly.

Usage

sei_set_default_config(
  sei_url = NULL,
  sigla_sistema = NULL,
  identificacao_servico = NULL,
  id_unidade = NULL
)

Arguments

sei_url

Character. SEI Web Service endpoint (required for live calls). Resolves from the argument, getOption("rsei.sei_url") or Sys.getenv("RSEI_URL"). There is no built-in default, so the package works with any SEI installation.

sigla_sistema

Character. System sigla registered in SEI.

identificacao_servico

Character. Service access key (chave de acesso).

id_unidade

Character. Default unit id; many operations accept an empty string.

Value

Invisibly, the previous options (as returned by options()).

Examples

## Not run: 
sei_set_default_config(
  sigla_sistema = "HORTENSIAS",
  identificacao_servico = Sys.getenv("RSEI_IDENTIFICACAO_SERVICO")
)

## End(Not run)


rsei documentation built on June 25, 2026, 5:07 p.m.