From jeroen @end|ng |rom berke|ey@edu  Fri Apr 10 08:54:39 2020
From: jeroen @end|ng |rom berke|ey@edu (Jeroen Ooms)
Date: Fri, 10 Apr 2020 08:54:39 +0200
Subject: [Rd] missing binaries in R-devel windows snapshot 78175
In-Reply-To: <ME2PR01MB2403DF7A124DCB01CFB20A01B4DE0@ME2PR01MB2403.ausprd01.prod.outlook.com>
References: <MEAPR01MB2407CE5D97A62210B4F98DC3B4C00@MEAPR01MB2407.ausprd01.prod.outlook.com>
 <CABFfbXtH+UkF+ZoBjh=R-Uv9DuGPKXjBCkTDCaHutBcbndCAHQ@mail.gmail.com>
 <ME2PR01MB2403DF7A124DCB01CFB20A01B4DE0@ME2PR01MB2403.ausprd01.prod.outlook.com>
Message-ID: <CABFfbXs1y7K=vOrmQEFYh_Wto-LatdOhKpa0b0rztZqpFT_yDQ@mail.gmail.com>

On Fri, Apr 10, 2020 at 2:42 AM Bravington, Mark (Data61, Hobart)
<Mark.Bravington at data61.csiro.au> wrote:
>
> > On Thu, Apr 9, 2020 at 12:44 PM Bravington, Mark (Data61, Hobart)
> > <Mark.Bravington at data61.csiro.au> wrote:
> > >
> > > The "r-devel snapshot build" 78175 on Windows--- a dot-exe installer--- seems to be missing a couple of files in its bin/i386 folder: Rterm.exe and Rgui.exe. Both are present in its bin/x64 folder (and in the i386 folder for current R).
>
> From: Jeroen Ooms <jeroen at berkeley.edu>
> Sent: Thursday, 9 April 2020 21:32
> To: Bravington, Mark (Data61, Hobart)
> Cc: R-Devel-2
> Subject: Re: [Rd] missing binaries in R-devel windows snapshot 78175
>
>
> > I just tested this and as far as I can tell there are no missing
> > files. Are you sure there isn't a local problem with your system
> > permissions or antivirus that is removing the files?
>
> You're quite right--- my apologies. I've been Cylanced (without it having the politeness to actually tell me, grrrr). I tried again with the 78172 build that you used, and the two dot-exe files are there immediately after installation--- but 10 minutes later they're gone. One question below about the md5 stuff, though:
>
> > Try to verify the md5 of the installer; some enterprise firewalls are
> > tampering with downloads:
>
> >   openssl::md5(url('https://cran.r-project.org/bin/windows/base/R-devel-win.exe'))
> >   readLines('https://cran.r-project.org/bin/windows/base/md5sum.txt.R-devel')
>
> Thanks for the tip. I did that, and both give the same output. But:
>
>  - If I run 'md5sum' on my local copy of the 78182 installer (ie the file I've just downloaded) I again get the same signature as per your two lines. (It's not the firewall, it's Cylance.)
>
>  - Yet if I run 'openssl::md5( <local copy of installer>)' I get a different signature!

I think you're calculating the md5 of the filename, not the file. You
need to use:

  openssl::md5(file("R-devel-win.exe"))



[Rd] missing binaries in R-devel windows snapshot 78175
Jeroen Ooms