Creates (or refreshes) the server-side archive and writes the .tar.gz
bytes to dest. Use daggle_verify_archive() afterwards to confirm integrity.
Usage
daggle_archive_run(
name,
run_id,
dest = tempfile(fileext = ".tar.gz"),
base_url = NULL
)Details
This is the first wrapper in daggleR that returns a binary response.
Future binary downloads should mirror this shape: resolve the base URL
with resolve_base_url(), build the request directly via
httr2::request() and httr2::req_url_path_append() (skipping
daggle_request(), which always parses the response as JSON), then
persist with writeBin() on httr2::resp_body_raw().
