Skip to content

Find tools needed to build R packages

Notifications You must be signed in to change notification settings

sangeetabhatia03/pkgbuild

 
 

Repository files navigation

pkgbuild

Travis-CI Build Status AppVeyor Build Status Coverage status

The goal of pkgbuild is to make it easy to build packages with compiled code. It provides tools to configure your R session, and check that everything is working ok. If you are using RStudio, it also helps you trigger automatical install of the build tools.

Installation

You can install pkgbuild from github with:

# install.packages("devtools")
devtools::install_github("hadley/pkgbuild")

Example

# Check that you have the build tools installed
pkgbuild::check_build_tools(debug = TRUE)

# Build a package
pkgbuild::build("/path/to/my/package")

# Run your own code in an environment guarnteed to 
# have build tools available
pkgbuild::with_build_tools(my_code)

About

Find tools needed to build R packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 99.2%
  • C 0.8%