Skip to contents

Determines whether a measure needs to be updated on GitHub and/or the Y drive.

Usage

check_status(
  measure,
  repo = paste0("aux_", measure),
  owner = getOption("pipfun.ghowner"),
  maindir = getOption("pipaux.working_dir"),
  verbose = TRUE
)

Arguments

measure

Character: Name of the measure to check.

repo

Character: Repository name. Defaults to "aux_".

owner

Character: GitHub repository owner. Defaults to getOption("pipfun.ghowner").

maindir

Character: Main directory path. Defaults to getOption("pipaux.working_dir").

verbose

Logical: If TRUE, prints messages about the status. Default is TRUE.

Value

A list with update_gh (logical) indicating if GitHub needs updating, and update_y (logical) indicating if the Y drive needs updating.