Learn R Programming

rTRNG (version 4.23.1-2)

LdFlags: Linker flags for rTRNG.

Description

Output the linker flags required to build against rTRNG.

Usage

LdFlags()

Arguments

Value

Returns NULL invisibly. The function is not called for its return value rather for the side effect of outputting the flags.

Details

LdFlags is typically called from Makevars as

PKG_LIBS += $(shell ${R_HOME}/bin/Rscript -e "rTRNG::LdFlags()")

and from Makevars.win as

PKG_LIBS += $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "rTRNG::LdFlags()")