publish: publish

View source: R/publish.R

publishR Documentation

publish

Description

Update the unit locally with update_fm() and online. Will update the online catalog according to whether it already exists using helpers gp_api_unit_insert() or gp_api_unit_replace()

Usage

publish(
  WD = "?",
  recompile = FALSE,
  commit_msg = NULL,
  prompt_user = TRUE,
  dev = NULL,
  verbosity = 1
)

Arguments

WD

is working directory of the project (useful to supply for shiny app, which has diff. working environment); passed to parse_wd()

recompile

logical; run compile_lesson()? default=FALSE

commit_msg

Deprecated; What do you want to say about this update? Default= "automated galacticPubs::publish()"

prompt_user

logical; do you want to ask user for confirmation before doing things? default=TRUE

dev

logical; if FALSE, gets catalog from the production gp-catalog. Otherwise, from the dev catalog. NULL (default) will apply to both dev and prod catalogs.

verbosity

passed to httr2::req_perform(); default=1


galacticpolymath/GPpub documentation built on April 5, 2025, 6:04 p.m.