Package: relatable
Type: Package
Title: Functions for Mapping Key-Value Pairs, Many-to-Many,
        One-to-Many, and Many-to-One Relations
Version: 1.0.0
Authors@R: person("Dominic", "Jarkey", email = "dominic.jarkey@gmail.com", role = c("aut", "cre"))
Description: Functions to safely map from a vector of keys to a vector of values, determine properties of a given relation, or ensure a relation conforms to a given type, such as many-to-many, one-to-many, injective, surjective, or bijective. Permits default return values for use similar to a vectorised switch statement, as well as safely handling large vectors, NAs, and duplicate mappings.
Depends: R (>= 3.4)
Imports: compare (>= 0.2-6)
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.0.1
Suggests: testthat, knitr, rmarkdown, tibble
VignetteBuilder: knitr
URL: https://github.com/domjarkey/relatable
NeedsCompilation: no
Packaged: 2018-01-30 15:13:31 UTC; dom
Author: Dominic Jarkey [aut, cre]
Maintainer: Dominic Jarkey <dominic.jarkey@gmail.com>
Repository: CRAN
Date/Publication: 2018-01-30 16:56:41 UTC
Built: R 4.5.2; ; 2025-11-01 01:35:51 UTC; windows
