| .onLoad | R Documentation |
This internal function is executed automatically when the **TesiproV** package is loaded (via 'library(TesiproV)').
Setting package-specific default options that can later be used by TesiproV functions to configure parallel execution in a controlled and CRAN-compliant way.
The function returns 'invisible(NULL)' and is **not exported**. It is intended solely for internal package initialisation.
.onLoad(libname, pkgname)
libname |
Ignored. Path to the library where the package is installed (standard argument for '.onLoad'). |
pkgname |
Ignored. Name of the package (standard argument for '.onLoad'). |
The function performs one step:
1. It checks whether the namespace of the package 'future' is available and aborts with a clear error message if it is missing.
By not calling 'future::plan()' during package startup, TesiproV avoids altering the user's global parallel configuration. This follows CRAN recommendations that packages should not change global execution plans on load.
(C) 2021-2026 K. Nille-Hauf, T. Feiri, M. Ricker, T. Lux – Hochschule Biberach (until 2022), TU Dortmund University - Chair of Structural Concrete (since 2023)
## Load the package (initialises default options)
library(TesiproV)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.