Learn R Programming

geeLite (version 1.0.2)

load_external_postp: Load External Post-Processing Functions

Description

Loads post-processing functions and their configuration from an external folder named postp, located in the root directory of the database. The folder must contain two files: structure.json (which defines the post-processing configuration) and functions.R (which contains the R function definitions to be used for post-processing). The function checks for these files and loads the JSON configuration and sources the R script. If the required files are missing, it stops execution and notifies the user with instructions on how to set up the files correctly.

Usage

load_external_postp(path)

Value

Returns a list of post-processing functions loaded from the

structure.json file. The functions defined in functions.R are sourced and made available in the returned environment.

Arguments

path

[mandatory] (character) The path to the root directory where the database is located.