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).