Skip to content
Find tools needed to build R packages
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Fully qualify calls to unzip and untar Mar 12, 2019
man Make register routines opt-in Oct 16, 2018
revdep
tests Skip building binary tests on CRAN Mar 12, 2019
.Rbuildignore Add revdep results Sep 18, 2018
.gitignore
.travis.yml
DESCRIPTION
NAMESPACE
NEWS.md
README.md
appveyor.yml
codecov.yml Add codecov options Aug 15, 2017
cran-comments.md Update cran-comments Oct 16, 2018
pkgbuild.Rproj

README.md

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 automatic install of the build tools.

Installation

You can install pkgbuild from github with:

# install.packages("devtools")
devtools::install_github("r-lib/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 guaranteed to 
# have build tools available
pkgbuild::with_build_tools(my_code)
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.