xmu_genomicmx_binary_url: Resolve a platform GenomicMx binary URL from the umx Release...

xmu_genomicmx_binary_urlR Documentation

Resolve a platform GenomicMx binary URL from the umx Release tag

Description

Uses the GitHub API for the Release with tag genomicmx and returns a single download URL matching this session's OS, arch and R version. No new package dependencies (base R url() + regex on the JSON).

Usage

xmu_genomicmx_binary_url(
  tag = "genomicmx",
  verbose = getOption("umx.verbose", FALSE)
)

Arguments

tag

Release tag to query (default "genomicmx").

verbose

Logical; if TRUE, message diagnostics on no match.

Details

Assets are expected to be named OpenMx_<Version>_<SHA7>_<OS>_<Arch>_R<major>.<minor>.<ext> (e.g. OpenMx_2.50_abc1234_Linux_x86_64_R4.6.tgz). The resolver prefers an exact R<major>.<minor> match and an exact arch match on macOS (arm64 vs x86_64); it does not fall back across arch or R. Legacy assets without an R token are still considered but ranked lower. Returns NULL when no matching asset is found or the API is unreachable.

Value

Character scalar URL or NULL.


umx documentation built on Oct. 11, 2026, 5:07 p.m.