Learn R Programming

nanonext (version 0.5.1)

nng_version: NNG Library Version

Description

Returns the version of 'libnng' used and whether TLS is supported.

Usage

nng_version()

Arguments

Value

A character vector of length 2.

TLS Support

Where system installations of 'libnng' and 'libmbedtls' development headers are detected in the same location, it is assumed that NNG was built with TLS support (using Mbed TLS) and TLS is configured appropriately.

Otherwise, the environment variable Sys.setenv(NANONEXT_TLS=1) may be set prior to installation if:

- your system installations of 'libnng' (built with TLS support) and 'libmbedtls' are in different locations; or

- you have a system installation of 'libmbedtls' but not 'libnng' and want nanonext to download and build a more recent version of 'libnng' than available in system repositories against this.

Note: this is not applicable to Windows systems.

Examples

Run this code
# NOT RUN {
nng_version()

# }

Run the code above in your browser using DataLab