check_infomap: Check if Infomap's standalone file is installed.

View source: R/check_infomap.R

check_infomapR Documentation

Check if Infomap's standalone file is installed.

Description

Attempts to run Infomap via the system command to make sure it works propoerly.

Usage

check_infomap(x = "Infomap")

Arguments

x

The name of the Infomap executable file.

Details

For now, this package depends on Infomap's stand-alone version. Futre versions or another package will incorporate Infomap directly into R.

Value

FALSE and an error if Infomap is not installed correctly. TRUE (and version number) if it is.

Examples

check_infomap()


Ecological-Complexity-Lab/infomap_ecology_package documentation built on June 6, 2024, 5:28 a.m.