Movatterモバイル変換


[0]ホーム

URL:


pkgbuild

R-CMD-checkCodecov test coverage

The goal of pkgbuild is to make it easy to build packages withcompiled code. It provides tools to configure your R session, and checkthat everything is working ok. If you are using RStudio, it also helpsyou trigger automatic install of the build tools.

Installation

Install the released version from CRAN

install.packages("pkgbuild")

Or install the development version from GitHub:

# install.packages("pak")pak::pak("r-lib/pkgbuild")

Example

# Check that you have the build tools installedpkgbuild::check_build_tools(debug =TRUE)# Build a packagepkgbuild::build("/path/to/my/package")# Run your own code in an environment guaranteed to# have build tools availablepkgbuild::with_build_tools(my_code)

Configuration

DESCRIPTION entries

Options

Environment variables

Code of Conduct

Please note that the pkgbuild project is released with aContributor Codeof Conduct. By contributing to this project, you agree to abide byits terms.


[8]ページ先頭

©2009-2025 Movatter.jp