/base

Scripts for building R on Windows

Primary LanguagePowerShell

R for Windows AppVeyor Build Status

Official repository for building R on Windows

This repository is used for daily builds on appveyor which get deployed on CRAN.

Local Requirements

Building R on Windows requires the following tools:

Except for Rtools, all of these can be installed using chocolatey:

choco install miktex
choco install strawberryperl
choco install innosetup --pre

Alternatively, the appveyor-tools.ps1 powershell script can also be used for unattended installation of these tools.

Building

To build manually first clone this repository plus dependencies:

git clone https://github.com/rwinlib/base
cd base
git submodule update --init

Running build-r-devel.bat or build-r-patched.bat will automatically download the latest R-devel.tar.gz or R-patched.tar.gz and start the build.

build-r-devel.bat

The appveyor.yml file has more details.

AppVeyor Deployment

This repository is used for daily builds on appveyor which get deployed on the ftp server. See appveyor.md and appveyor.yml for configuration details.

Release Steps

For release manager:

  • Uncomment and update the release url in appveyor.yml
  • Commit to temp branch, tag release locally and push tag to GH.
  • Download artifact from AppVeyor. Edit tag to attach zip and release.
  • Create new dir in base/old/ on the FTP and unzip the files
  • Rename md5sum.txt file and copy files to base/
  • Copy (dont symlink) R-x.y.z-win.exe to R-x.y.zpatched-win.exe as placeholder until R-patched is uploaded tomorrow