install_onnx_runtime: Install ONNX Runtime

View source: R/install_onnx_runtime.R

install_onnx_runtimeR Documentation

Install ONNX Runtime

Description

Download and install ONNX Runtime library for your platform. This is required before using the churon package if ONNX Runtime is not already installed on your system.

Usage

install_onnx_runtime(version = "1.29.0", quiet = FALSE, destdir, ...)

Arguments

version

Character string specifying the ONNX Runtime version to install. Defaults to "1.29.0". Supported versions are "1.28.0" and "1.29.0"; "latest" selects "1.29.0".

quiet

Logical. If TRUE, suppress download progress messages.

destdir

Required character string naming the installation directory.

...

Additional arguments passed to download.file()

Details

This function installs external software only when explicitly called. Supply destdir yourself; no installation directory is selected by default. The library is placed in destdir/lib and configured for this R session. In later sessions, set ORT_DYLIB_PATH to the installed library file before loading churon. Restart R before switching an already loaded runtime.

Value

Invisible TRUE on success, stops with error on failure.


churon documentation built on Sept. 28, 2026, 5:07 p.m.