crandalf (version 0.0.1)

need_compile: Whether a package needs to be compiled

Description

This function uses the column NeedsCompilation of the package database on CRAN to check if a package needes to be compiled. When it contains C/C++/Fortran code, it has to be compiled. For such packages, we might need to install additional system dependencies (e.g. libxml2-dev for the XML package).

Usage

need_compile(p)

Arguments

p
the package name (must be of length 1)

Value

TRUE or FALSE.