rd-helpdb 0.0.1

Reader for installed R package help databases (aliases, .rdx/.rdb, Meta/hsearch.rds), built on rd-rds
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# rd-helpdb

`rd-helpdb` reads the compiled help database of an installed R package and provides alias, topic, and help-search access.

## Overview

An installed package help database consists of `help/aliases.rds`, the `help/<pkg>.rdx` index and `help/<pkg>.rdb` record pair, and `Meta/hsearch.rds`. `rd-helpdb` reads the standalone RDS files and the compressed records addressed by the `.rdx` index; it does not discover package directories through R's `.libPaths()`.

Standalone `.rds` envelope handling is delegated to [`rd-rds`](../rd-rds/README.md). Consumers that need a canonical document model can lower decoded help objects into [`rd-ast`](../rd-ast/README.md).

## Stability

Alias, topic, and search reading for an explicitly named installed-package directory is supported. Discovering R libraries or packages on a machine is out of scope; see the [workspace stability policy](https://github.com/eitsupi/r-documentation-rs/blob/main/STABILITY.md).

## License

MIT; see [the workspace license](../../LICENSE). See the [workspace README](../../README.md) for repository status and layout.