call R CMD check with --install-args=--build on Windows

Replaces #123 (already merged).

Fixes #125.