Skip to contents

CRAN Status Badge R Build status codecov

igraphlite is a cpp11-powered R package interface to igraph network analysis library. It is not a fork of the existing R igraph package, but a reboot from scratch striving for good performance, simple codebase, and the consistency with the C implementation.

Requirements

  • Unix-like environment (macOS, Linux, WSL, MinGW on MSYS2, etc.)
  • C++14 compiler (clang++ >= Apple LLVM 8.1, g++ >= 5.3)
  • CMake (>= 3.18.0)
  • NOT required:
    • R igraph package
    • C igraph library: igraphlite first tries to find_package() in ${igraph_ROOT} and ${CMAKE_PREFIX_PATH}; if not found, it builds and installs an appropriate version automatically.

Installation

# install.packages("devtools")
devtools::install_github("heavywatal/rigraphlite")