init_postp {geeLite}R Documentation

Initialize Post-Processing Folder and Files

Description

Creates a postp folder at the specified path and adds two empty files: structure.json and functions.R.

Usage

init_postp(path, verbose = TRUE)

Arguments

path

[mandatory] character The path to the root directory where the postp folder should be created.

verbose

[optional] (logical) Display messages (default: TRUE).

Details

The structure.json file is initialized with a default JSON structure: "default": null. This file is intended for mapping variables to post-processing functions. The functions.R file is created with a placeholder comment indicating where to define the R functions for post-processing. If the postp folder already exists, an error will be thrown to prevent overwriting existing files.

Value

No return value, called for side effects.

Examples

# Example: Initialize post-processing files in the database directory
## Not run: 
  init_postp("path/to/db")

## End(Not run)


[Package geeLite version 1.0.2 Index]