Re: [R-SIG-Mac] Installation Problems

2020-09-17 Thread Simon Urbanek



> On Sep 18, 2020, at 3:37 PM, Roy Mendelssohn - NOAA Federal 
>  wrote:
> 
> Thanks.  They eventually showed up.  What was weird was if you asked to check 
> for packages available to be updated,  they were listed,  but then failed on 
> the update.   I know nothing about how this system works  but it appears the 
> "list" of what is new is somehow separate from a file list on the server,  if 
> that is making any sense.


Yes, that's how it works - the list is in the PACKAGES file and that is what 
the GUIs and available.packages() use. So what happened was that CRAN has 
likely started the sync in the middle of the build machine pushing the content* 
so the PACKAGES file was already updated, but not all the new files were there 
yet. And because CRAN syncs only once in a few hours there was a discrepancy 
between the PACKAGES file and the tgz files until the next sync.

Cheers,
Simon

* - the setup is a bit convoluted because both CRAN and the Mac build machine 
are behind firewalls, so they use a content server in the middle to synchronize 
the repository, and, each of the three pieces is on a different continent :).



>  And this was true using the R-GUI as well as RStudio,  and I think I tried 3 
> different repositories,  including R-Cloud.  So that got me worried there was 
> something nutty on my end.
> 
> Anyway,  thanks for the work.  One package had some things I particularly 
> wanted to check out.
> 
> -Roy
> 
> 
>> On Sep 17, 2020, at 8:19 PM, Simon Urbanek  
>> wrote:
>> 
>> Roy,
>> 
>> it looks like the sync from the Mac master to CRAN was incomplete for some 
>> reason (CCing CRAN in case there was some error). I presume it will fix 
>> itself on next sync, but you can use the Mac master in the meantime which 
>> worked for me:
>> 
>> install.packages(c("rpf", "statespacer", "tmap", 
>> "workflows"),,"https://mac.R-project.org;)
>> 
>> Cheers,
>> Simon
>> 
>> 
>> 
>> 
>>> On Sep 18, 2020, at 3:57 AM, Roy Mendelssohn - NOAA Federal via R-SIG-Mac 
>>>  wrote:
>>> 
>>> Though what is shown below is from the RStudio repository,  I have tried 
>>> several others,  including R-cloud.  Is it just something on my end or are 
>>> there problems.  CRAN shows the versions trying to be installed.
>>> 
>>> -Roy
>>> 
>>> install.packages(c("rpf", "statespacer", "tmap", "workflows"))
>>> Installing packages into ‘/Users/rmendels/Library/R/4.0/library’
>>> (as ‘lib’ is unspecified)
>>> trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rpf_1.0.5.tgz'
>>> Warning in install.packages :
>>> cannot open URL 
>>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rpf_1.0.5.tgz': HTTP 
>>> status was '404 Not Found'
>>> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>>> cannot open URL 
>>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rpf_1.0.5.tgz'
>>> Warning in install.packages :
>>> download of package ‘rpf’ failed
>>> trying URL 
>>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/statespacer_0.3.0.tgz'
>>> Warning in install.packages :
>>> cannot open URL 
>>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/statespacer_0.3.0.tgz': 
>>> HTTP status was '404 Not Found'
>>> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>>> cannot open URL 
>>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/statespacer_0.3.0.tgz'
>>> Warning in install.packages :
>>> download of package ‘statespacer’ failed
>>> trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/tmap_3.2.tgz'
>>> Warning in install.packages :
>>> cannot open URL 
>>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/tmap_3.2.tgz': HTTP status 
>>> was '404 Not Found'
>>> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>>> cannot open URL 
>>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/tmap_3.2.tgz'
>>> Warning in install.packages :
>>> download of package ‘tmap’ failed
>>> trying URL 
>>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/workflows_0.2.0.tgz'
>>> Warning in install.packages :
>>> cannot open URL 
>>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/workflows_0.2.0.tgz': HTTP 
>>> status was '404 Not Found'
>>> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>>> cannot open URL 
>>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/workflows_0.2.0.tgz'
>>> Warning in install.packages :
>>> download of package ‘workflows’ failed
>>> **
>>> "The contents of this message do not reflect any position of the U.S. 
>>> Government or NOAA."
>>> **
>>> Roy Mendelssohn
>>> Supervisory Operations Research Analyst
>>> NOAA/NMFS
>>> Environmental Research Division
>>> Southwest Fisheries Science Center
>>> ***Note new street address***
>>> 110 McAllister Way
>>> Santa Cruz, CA 95060
>>> Phone: (831)-420-3666
>>> Fax: (831) 420-3980
>>> e-mail: roy.mendelss...@noaa.gov www: https://www.pfeg.noaa.gov/
>>> 
>>> "Old age and treachery will overcome youth and skill."
>>> "From those who have been given much, much 

Re: [R-SIG-Mac] Installation Problems

2020-09-17 Thread Roy Mendelssohn - NOAA Federal via R-SIG-Mac
Thanks.  They eventually showed up.  What was weird was if you asked to check 
for packages available to be updated,  they were listed,  but then failed on 
the update.   I know nothing about how this system works  but it appears the 
"list" of what is new is somehow separate from a file list on the server,  if 
that is making any sense.  And this was true using the R-GUI as well as 
RStudio,  and I think I tried 3 different repositories,  including R-Cloud.  So 
that got me worried there was something nutty on my end.

Anyway,  thanks for the work.  One package had some things I particularly 
wanted to check out.

-Roy


> On Sep 17, 2020, at 8:19 PM, Simon Urbanek  
> wrote:
> 
> Roy,
> 
> it looks like the sync from the Mac master to CRAN was incomplete for some 
> reason (CCing CRAN in case there was some error). I presume it will fix 
> itself on next sync, but you can use the Mac master in the meantime which 
> worked for me:
> 
> install.packages(c("rpf", "statespacer", "tmap", 
> "workflows"),,"https://mac.R-project.org;)
> 
> Cheers,
> Simon
> 
> 
> 
> 
>> On Sep 18, 2020, at 3:57 AM, Roy Mendelssohn - NOAA Federal via R-SIG-Mac 
>>  wrote:
>> 
>> Though what is shown below is from the RStudio repository,  I have tried 
>> several others,  including R-cloud.  Is it just something on my end or are 
>> there problems.  CRAN shows the versions trying to be installed.
>> 
>> -Roy
>> 
>> install.packages(c("rpf", "statespacer", "tmap", "workflows"))
>> Installing packages into ‘/Users/rmendels/Library/R/4.0/library’
>> (as ‘lib’ is unspecified)
>> trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rpf_1.0.5.tgz'
>> Warning in install.packages :
>> cannot open URL 
>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rpf_1.0.5.tgz': HTTP status 
>> was '404 Not Found'
>> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>> cannot open URL 
>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rpf_1.0.5.tgz'
>> Warning in install.packages :
>> download of package ‘rpf’ failed
>> trying URL 
>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/statespacer_0.3.0.tgz'
>> Warning in install.packages :
>> cannot open URL 
>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/statespacer_0.3.0.tgz': 
>> HTTP status was '404 Not Found'
>> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>> cannot open URL 
>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/statespacer_0.3.0.tgz'
>> Warning in install.packages :
>> download of package ‘statespacer’ failed
>> trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/tmap_3.2.tgz'
>> Warning in install.packages :
>> cannot open URL 
>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/tmap_3.2.tgz': HTTP status 
>> was '404 Not Found'
>> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>> cannot open URL 
>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/tmap_3.2.tgz'
>> Warning in install.packages :
>> download of package ‘tmap’ failed
>> trying URL 
>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/workflows_0.2.0.tgz'
>> Warning in install.packages :
>> cannot open URL 
>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/workflows_0.2.0.tgz': HTTP 
>> status was '404 Not Found'
>> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>> cannot open URL 
>> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/workflows_0.2.0.tgz'
>> Warning in install.packages :
>> download of package ‘workflows’ failed
>> **
>> "The contents of this message do not reflect any position of the U.S. 
>> Government or NOAA."
>> **
>> Roy Mendelssohn
>> Supervisory Operations Research Analyst
>> NOAA/NMFS
>> Environmental Research Division
>> Southwest Fisheries Science Center
>> ***Note new street address***
>> 110 McAllister Way
>> Santa Cruz, CA 95060
>> Phone: (831)-420-3666
>> Fax: (831) 420-3980
>> e-mail: roy.mendelss...@noaa.gov www: https://www.pfeg.noaa.gov/
>> 
>> "Old age and treachery will overcome youth and skill."
>> "From those who have been given much, much will be expected" 
>> "the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
>> 
>> ___
>> R-SIG-Mac mailing list
>> R-SIG-Mac@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

**
"The contents of this message do not reflect any position of the U.S. 
Government or NOAA."
**
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: roy.mendelss...@noaa.gov www: https://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and 

Re: [R-SIG-Mac] Installation Problems

2020-09-17 Thread Simon Urbanek
Roy,

it looks like the sync from the Mac master to CRAN was incomplete for some 
reason (CCing CRAN in case there was some error). I presume it will fix itself 
on next sync, but you can use the Mac master in the meantime which worked for 
me:

install.packages(c("rpf", "statespacer", "tmap", 
"workflows"),,"https://mac.R-project.org;)

Cheers,
Simon




> On Sep 18, 2020, at 3:57 AM, Roy Mendelssohn - NOAA Federal via R-SIG-Mac 
>  wrote:
> 
> Though what is shown below is from the RStudio repository,  I have tried 
> several others,  including R-cloud.  Is it just something on my end or are 
> there problems.  CRAN shows the versions trying to be installed.
> 
> -Roy
> 
> install.packages(c("rpf", "statespacer", "tmap", "workflows"))
> Installing packages into ‘/Users/rmendels/Library/R/4.0/library’
> (as ‘lib’ is unspecified)
> trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rpf_1.0.5.tgz'
> Warning in install.packages :
>  cannot open URL 
> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rpf_1.0.5.tgz': HTTP status 
> was '404 Not Found'
> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>  cannot open URL 
> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rpf_1.0.5.tgz'
> Warning in install.packages :
>  download of package ‘rpf’ failed
> trying URL 
> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/statespacer_0.3.0.tgz'
> Warning in install.packages :
>  cannot open URL 
> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/statespacer_0.3.0.tgz': HTTP 
> status was '404 Not Found'
> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>  cannot open URL 
> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/statespacer_0.3.0.tgz'
> Warning in install.packages :
>  download of package ‘statespacer’ failed
> trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/tmap_3.2.tgz'
> Warning in install.packages :
>  cannot open URL 
> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/tmap_3.2.tgz': HTTP status 
> was '404 Not Found'
> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>  cannot open URL 
> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/tmap_3.2.tgz'
> Warning in install.packages :
>  download of package ‘tmap’ failed
> trying URL 
> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/workflows_0.2.0.tgz'
> Warning in install.packages :
>  cannot open URL 
> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/workflows_0.2.0.tgz': HTTP 
> status was '404 Not Found'
> Error in download.file(url, destfile, method, mode = "wb", ...) : 
>  cannot open URL 
> 'https://cran.rstudio.com/bin/macosx/contrib/4.0/workflows_0.2.0.tgz'
> Warning in install.packages :
>  download of package ‘workflows’ failed
> **
> "The contents of this message do not reflect any position of the U.S. 
> Government or NOAA."
> **
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> NOAA/NMFS
> Environmental Research Division
> Southwest Fisheries Science Center
> ***Note new street address***
> 110 McAllister Way
> Santa Cruz, CA 95060
> Phone: (831)-420-3666
> Fax: (831) 420-3980
> e-mail: roy.mendelss...@noaa.gov www: https://www.pfeg.noaa.gov/
> 
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected" 
> "the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac