Official repository for building R on Windows
This repository is used for daily builds on appveyor which get deployed on CRAN.
Building R on Windows requires the following tools:
- Latest Rtools compiler toolchain
- Recent MiKTeX + packages
fancyvrb
,inconsolata
,epsf
,mptopdf
,url
- Inno Setup to build the installer
- Perl such as Strawberry Perl
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.
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.
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.
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 tobase/
- Copy (dont symlink)
R-x.y.z-win.exe
toR-x.y.zpatched-win.exe
as placeholder until R-patched is uploaded tomorrow