crystract: Crystallographic Information File (CIF) Data Processing Tools

Provides a suite of functions to parse Crystallographic Information Files (.cif), extracting essential data such as chemical formulas, unit cell parameters, atomic coordinates, and symmetry operations. It also includes tools to calculate interatomic distances, identify bonded pairs using various algorithms (minimum_distance, brunner_nn_reciprocal, econ_nn, crystal_nn), determine nearest neighbor counts, and calculate bond angles. The package is designed to facilitate the preparation of crystallographic data for further analysis, including machine learning applications in materials science. Methods are described in: Brunner (1977) <doi:10.1107/S0567739477000461>; Hoppe (1979) <doi:10.1524/zkri.1979.150.14.23>; O'Keeffe (1979) <doi:10.1107/S0567739479001765>; Shannon (1976) <doi:10.1107/S0567739476001551>; Pan et al. (2021) <doi:10.1021/acs.inorgchem.0c02996>; Pauling (1960, ISBN:978-0801403330).

Version: 1.0.0
Depends: R (≥ 3.5.0)
Imports: data.table, dplyr, stringr, future, future.apply, geometry
Suggests: DT, ggplot2, htmlwidgets, knitr, plotly, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-03-20
DOI: 10.32614/CRAN.package.crystract (may not be active yet)
Author: Don Ngo ORCID iD [aut, cre], Anirudh Prabhu ORCID iD [aut], Julia-Maria Hubner ORCID iD [aut]
Maintainer: Don Ngo <dngo at carnegiescience.edu>
License: GPL (≥ 3)
URL: https://prabhulab.github.io/ml-crystals/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: crystract results

Documentation:

Reference manual: crystract.html , crystract.pdf
Vignettes: Using the crystract Package for Crystallographic Analysis (source, R code)

Downloads:

Package source: crystract_1.0.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): crystract_1.0.0.tgz, r-release (x86_64): crystract_1.0.0.tgz, r-oldrel (x86_64): crystract_1.0.0.tgz

Linking:

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