The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

rollupTree: Perform Recursive Computations

Mass rollup for a Bill of Materials is an example of a class of computations in which elements are arranged in a tree structure and some property of each element is a computed function of the corresponding values of its child elements. Leaf elements, i.e., those with no children, have values assigned. In many cases, the combining function is simple arithmetic sum; in other cases (e.g., mass properties), the combiner may involve other information such as the geometric relationship between parent and child, or statistical relations such as root-sum-of-squares (RSS). This package implements a general function for such problems. It is adapted to specific recursive computations by functional programming techniques; the caller passes a function as the update parameter to rollup() (or, at a lower level, passes functions as the get, set, combine, and override parameters to update_prop()) at runtime to specify the desired operations. The implementation relies on graph-theoretic algorithms from the 'igraph' package of Csárdi, et al. (2006 <doi:10.5281/zenodo.7682609>).

Version: 0.1.0
Depends: R (≥ 3.5)
Imports: igraph
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2025-01-20
DOI: 10.32614/CRAN.package.rollupTree
Author: James Steven Jenkins ORCID iD [aut, cre, cph]
Maintainer: James Steven Jenkins <sjenkins at studioj.us>
BugReports: https://github.com/jsjuni/rollupTree/issues
License: MIT + file LICENSE
URL: https://jsjuni.github.io/rollupTree/, https://github.com/jsjuni/rollupTree
NeedsCompilation: no
Materials: README NEWS
CRAN checks: rollupTree results

Documentation:

Reference manual: rollupTree.pdf
Vignettes: rollupTree (source, R code)

Downloads:

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

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.