fcp: Function Composition

A function composition operator to chain a series of calls into a single function, mimicking the math notion of (f o g o h)(x) = h(g(f(x))). Inspired by 'pipeOp' ('|>') since R4.1 and 'magrittr pipe' ('%>%'), the operator build a pipe without putting data through, which is best for anonymous function accepted by utilities such as apply() and lapply().

Version: 0.1.0
Depends: R (≥ 3.5.0)
Published: 2023-12-05
Author: Xiaoran Tong ORCID iD [aut, cre]
Maintainer: Xiaoran Tong <xiaoran.tong.cn at gmail.com>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/xiaoran831213/R_fun_comp
NeedsCompilation: no
CRAN checks: fcp results

Documentation:

Reference manual: fcp.pdf

Downloads:

Package source: fcp_0.1.0.tar.gz
Windows binaries: r-devel: fcp_0.1.0.zip, r-release: fcp_0.1.0.zip, r-oldrel: fcp_0.1.0.zip
macOS binaries: r-release (arm64): fcp_0.1.0.tgz, r-oldrel (arm64): fcp_0.1.0.tgz, r-release (x86_64): fcp_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fcp to link to this page.