Appveyor API Client Package

appveyor is a simple client package for the Appveyor REST API. It can control containerized builds of R packages and other software projects as part of a continuous integration workflow. Unlike most CIs, it is specifically aimed at a Windows development environment. Kirill Müller offers some documentation for how to use Appveyor for R package development, including the specification for an appveyor.yml file in your package repository.

Installation

CRAN Build Status codecov.io

This package is not yet on CRAN. To install the latest development version from GitHub, run the following:

if(!require("devtools")){
    install.packages("devtools")
    library("devtools")
}
install_github("cloudyr/appveyor")

Code Examples

To use the Appveyor API, you will need a Github account and an Appveyor API token, which can be retrieved from https://ci.appveyor.com/api-token. The easiest way to authenticate requests is simply to store this token in the APPVEYOR_TOKEN environment variable, for example using: Sys.setenv("APPVEYOR_TOKEN" = "exampletoken") or in one's .Renviron file. All functions in the package will then retrieve this environment variable for the purposes of authentication.

More coming soon...


cloudyr project logo



cloudyr/appveyor documentation built on May 13, 2019, 8:17 p.m.