check_rTRNG_linking: Check rTRNG linking.

View source: R/LdFlags.R

check_rTRNG_linkingR Documentation

Check rTRNG linking.

Description

Check whether C++ code using the TRNG library can be built and linked against rTRNG on the current system.

Usage

check_rTRNG_linking(silent = FALSE)

Arguments

silent

logical: should the report of error messages be suppressed?

Value

A scalar logical with the result of the check. If FALSE, using the TRNG library from C++ code sourced via sourceCpp or part of an R package is not expected to work.


miraisolutions/rTRNG documentation built on Feb. 4, 2024, 7:35 p.m.