Learn R Programming

odiffr (version 0.5.1)

odiffr_update: Download Latest odiff Binary

Description

Downloads the odiff binary from GitHub releases to the user's cache directory. The downloaded binary will be used by find_odiff() if no system-wide installation or user-specified path is found.

Usage

odiffr_update(version = "latest", force = FALSE)

Value

Character string with the path to the downloaded binary.

Arguments

version

Character string specifying the version to download. Use "latest" (default) to download the most recent release, or specify a version tag like "v4.1.2".

force

Logical; if TRUE, re-download even if the binary already exists in the cache. Default is FALSE.

Examples

Run this code
if (FALSE) {
# Download latest version
odiffr_update()

# Download specific version
odiffr_update(version = "v4.1.2")

# Force re-download
odiffr_update(force = TRUE)
}

Run the code above in your browser using DataLab