variplex: Analysis of Strong Dependency and Conflict Graphs of Variability Models

Computes and analyses the strong binary relationships of a variability model (a feature model, or the configuration space of a system such as the 'Linux' kernel): which features require others, which exclude each other and of which pairs at least one must be selected, in every valid configuration. Models are read in the Universal Variability Language (UVL) or as Boolean formulas in DIMACS format, such as those that 'KMax', 'KConfigReader', 'KconfigSampler' or 'TraVarT' produce from other notations. A satisfiability solver ('Glucose') finds the relationships; the resulting graphs are written as Pajek files and analysed with more than one hundred functions that return tibbles: atomic sets, hierarchy, conflicts, configuration and team planning, combinatorial testing, network patterns and the evolution of a model through its versions. Rules that involve three or more features at once are not represented in the graphs. UVL models are translated into Boolean logic as in Heradio et al. (2027) <doi:10.1016/j.scico.2026.103549>, the graphs are computed as in Heradio et al. (2026) <doi:10.1016/j.softx.2026.102663> and analysed as networks as in Sánchez-Ruiz et al. (2026) <doi:10.1007/978-3-032-40763-4_18>. A companion data set of graphs for 5,709 models is described in Heradio et al. (2026) <doi:10.5281/zenodo.17277788>.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: dplyr, igraph, jsonlite, Matrix, methods, Rcpp, stats, tibble, tools, utils
LinkingTo: Rcpp
Suggests: DiagrammeR, DiagrammeRsvg, ggplot2, knitr, rmarkdown, rsvg, spelling, testthat (≥ 3.0.0), withr
Published: 2026-12-04
DOI: 10.32614/CRAN.package.variplex (may not be active yet)
Author: Rubén Heradio ORCID iD [aut, cre, cph] (first author of Strong4VM and BoneDigger), Luis Cambelo [ctb, cph] (Strong4VM and BoneDigger), Miguel A. Olivero [ctb, cph] (Strong4VM), José Manuel Sánchez Ruíz [ctb, cph] (Strong4VM), Alberto Pérez García-Plaza [ctb, cph] (Strong4VM), David Fernández Amorós [ctb, cph] (Strong4VM), Gilles Audemard [ctb, cph] (Glucose SAT solver), Laurent Simon [ctb, cph] (Glucose SAT solver), Niklas Eén [ctb, cph] (MiniSat, on which Glucose is based), Niklas Sörensson [ctb, cph] (MiniSat, on which Glucose is based), Dictino Chaos [ctb, cph] (BoneDigger backbone solver), Terence Parr [ctb, cph] (ANTLR 4 C++ runtime), Sam Harwell [ctb, cph] (ANTLR 4 C++ runtime), The ANTLR Project [cph] (ANTLR 4 C++ runtime), The UVL parser contributors [cph] (UVL grammar from which the parser in src/s4/uvl2dimacs/parser was generated)
Maintainer: Rubén Heradio <rheradio at issi.uned.es>
BugReports: https://github.com/rheradio/variplex/issues
License: LGPL-3
Copyright: see file COPYRIGHTS
URL: https://rheradio.github.io/variplex/, https://github.com/rheradio/variplex, https://github.com/rheradio/strong4vm
NeedsCompilation: yes
SystemRequirements: C++17, GANAK (optional, for vp_generate(representativeness = TRUE))
Language: en-GB
Citation: variplex citation info
Materials: README, NEWS
CRAN checks: variplex results

Documentation:

Reference manual: variplex.html , variplex.pdf
Vignettes: Conflicts and configuration (source)
Following a model through time (source)
Features, hierarchy and the whole model (source)
The graphs and the files (source)
Limits and theory (source)
Patterns and statistics (source)
Reading and drawing the results (source)
Teams and testing (source)
Get started with variplex (source)

Downloads:

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

Linking:

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