Skip to contents

This function checks if OpenMP is available in the current R environment and, if so, reports the number of OpenMP threads detected. If OpenMP is not available, it prints a corresponding message. It relies on an internal or external function `get_openmp_threads()` which is assumed to return the number of threads or 0 if unavailable.

Usage

openmp_test()

Value

Invisible NULL. This function is called for its side effects (printing messages).