Using modules & packages

Functions for users of modules and packages

use()

Import a module or package

Writing modules

Infrastructure and utility functions for use inside modules

export()

Explicitly declare module exports

file()

Find the full file names of files in modules

name()

Get a module’s name

register_S3_method()

Register S3 methods

.on_load() .on_unload()

Hooks for module events

Interactive use

Functions for use in interactive sessions and for testing

help()

Display module documentation

unload() reload()

Unload or reload a given module

set_script_path() script_path()

Set the base path of the script