Learn R Programming

vol2birdR (version 1.3.2)

assert_version_available: Validates a version/platform combination

Description

Errors if the requested 'LibTorch' version has no build for the current platform.

Usage

assert_version_available(version, platform = install_platform())

Value

invisibly TRUE, called for its side effect of erroring

Arguments

version

the requested 'LibTorch' version

platform

the platform key to check, defaults to the current platform