Skip to contents

Display pending local and server changes for a Mergin project directory. Wraps mergin status from the mergin-client CLI. Run before rfp_mergin_sync() to preview what will be uploaded.

Usage

rfp_mergin_status(path)

Arguments

path

Character. Path to the local Mergin project directory.

Value

Invisible character vector — the captured status output, line by line.

Details

Note: a segfault on mergin status is a known issue after schema changes (e.g., adding columns to a gpkg). If status segfaults, just call rfp_mergin_pull() then rfp_mergin_push() directly.

Examples

if (FALSE) { # \dontrun{
rfp_mergin_status("~/Projects/gis/restoration_wedzin_kwa")
} # }