Learn R Programming

⚠️There's a newer version (1.3.1) of this package.Take me there.

maketools (version 1.0.0)

Exploring and Testing the Toolchain and System Libraries

Description

Packages with C, C++, or Fortran code require a properly configured toolchain and sometimes external system dependencies to build. Because these things vary a lot by platform, getting this all to work can be challenging. The 'maketools' package contains a collection of helper functions that interface with the appropriate system utilities to learn about the build environment. It lets you explore 'make' rules to test the local configuration, or query 'pkg-config' to find the cflags and libs needed for building packages with external dependencies. It also contains tools to analyze which libraries that a installed R package is linked to, by inspecting output from 'ldd' in combination with information from the distribution package manager, e.g. 'rpm' or 'dpkg'. For Windows there are special utilities to automatically find or install the suitable version of the 'Rtools' build environment, and diagnose some common problems.

Copy Link

Version

Install

install.packages('maketools')

Monthly Downloads

663

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jeroen Ooms

Last Published

August 5th, 2020

Functions in maketools (1.0.0)

r_config

R CMD Config
rtools

Find or Install Rtools
pkgconfig

Query pkg-config
diagnostics

Diagnostics Report
sysdeps

Package System Dependencies
make

Make