Message-ID: <PN1PR01MB0733E92BC069BEF2403240D59FF60@PN1PR01MB0733.INDPRD01.PROD.OUTLOOK.COM>
Date: 2017-06-01T01:54:51Z
From: Anil Dabral
Subject: installed.packages() does not work properly
Hi,
I tried executing the following statement multiple times on R 3.4 and it worked only the first time. In older versions of R it seems to have worked. Am I doing anything wrong?
In R 3.4 (works only the first time)
tmp <- installed.packages() #this works
tmp <- installed.packages() ## See error below
Error in if (file.exists(dest) && file.mtime(dest) > file.mtime(lib) && :
missing value where TRUE/FALSE needed
in R 3.3.3 works well when executed multiple times.
tmp <- installed.packages() #this works
tmp <- installed.packages() #this works
tmp <- installed.packages() #this works
Thanks and Regards,
Anil
Sent from Outlook<http://aka.ms/weboutlook>
[[alternative HTML version deleted]]