From hongooi at microsoft.com  Fri Sep 29 17:00:08 2017
From: hongooi at microsoft.com (Hong Ooi)
Date: Fri, 29 Sep 2017 15:00:08 +0000
Subject: [Rd] Unexpected behaviour with download.packages on Windows
Message-ID: <SG2P15301MB0093271671C7ABCA1DA5E76BA67E0@SG2P15301MB0093.APCP153.PROD.OUTLOOK.COM>

If no 'type' is specified, download.packages("pkgname") will download source packages (.tar.gz files), even on Windows. However, the help says


  type   character string, indicate which type of packages: see install.packages.


and on Windows, install.packages defaults to downloading binary packages.

Is this intended behaviour on the part of download.packages? This is on R 3.3.3 and 3.4.1; I haven't tested on 3.4.2 but there's no indication the function has changed.



[Rd] Unexpected behaviour with download.packages on Windows
Hong Ooi