[R-pkg-devel] Strange Additional_repositories NOTE followed by package install error

Georgi Boshnakov georgi.boshnakov at manchester.ac.uk
Mon Feb 5 13:17:22 CET 2018


>Additional repositories  _with no_ packages:
> https://hughparsonage.github.io/drat/

Is it possible that the CRAN has a more stringent check and not only check that there is a web link, But also that it is an R package repository?

This would explain the difference (but not if the lrepo is fine of course).

Georgi Boshnakov

-----Original Message-----
From: R-package-devel [mailto:r-package-devel-bounces at r-project.org] On Behalf Of Hugh Parsonage
Sent: 05 February 2018 11:29
To: r-package-devel at r-project.org
Subject: [R-pkg-devel] Strange Additional_repositories NOTE followed by package install error

I am unable to reproduce a recent R CMD check failure on CRAN concerning a package of mine: grattan.

This package Suggests: taxstats which is a large package hosted by an Additional repository: https://hughparsonage.github.io/drat/

When I run this check locally, on travis, and on appveyor with _R_CHECK_CRAN_INCOMING_ = true I get the expected NOTE:


* checking CRAN incoming feasibility ... NOTE
Maintainer: ‘Hugh Parsonage <hugh.parsonage at gmail.com>’
Suggests or Enhances not in mainstream repositories:
  taxstats
Availability using Additional_repositories specification:
taxstats   yes   https://hughparsonage.github.io/drat/


However, on CRAN (including win-builder) I get the rather curious NOTE:

* checking CRAN incoming feasibility ... NOTE
Maintainer: 'Hugh Parsonage <hugh.parsonage at gmail.com>'

Suggests or Enhances not in mainstream repositories:
  taxstats
Availability using Additional_repositories specification:
  taxstats   no   ?
  ?           ?   https://hughparsonage.github.io/drat/
Additional repositories with no packages:
  https://hughparsonage.github.io/drat/


followed by errors resulting from failures to install 'taxstats' when code such as the following is run to re-build vignettes:

if (requireNamespace("taxstats", quietly = TRUE)){
  library(taxstats)
} else {
  templib <- tempfile()
  hutils::provide.dir(templib)
  install.packages("taxstats",
                   lib = templib,
                   repos = "https://hughparsonage.github.io/drat/",
                   type = "source")
  library("taxstats", lib.loc = templib) }


Since the failures only occur on Windows machines, and have only appeared recently, I have considered modifying the DESCRIPTION file to 'trick' win-builder into reinstalling taxstats, as I suspect there may be caching issues. However, given that the 'taxstats' package takes a fairly long time to install, I don't want to do this nor submit to CRAN in case I am missing something else that's causing the check to fail.

______________________________________________
R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

-----Original Message-----
From: R-package-devel [mailto:r-package-devel-bounces at r-project.org] On Behalf Of Hugh Parsonage
Sent: 05 February 2018 11:29
To: r-package-devel at r-project.org
Subject: [R-pkg-devel] Strange Additional_repositories NOTE followed by package install error

I am unable to reproduce a recent R CMD check failure on CRAN concerning a package of mine: grattan.

This package Suggests: taxstats which is a large package hosted by an Additional repository: https://hughparsonage.github.io/drat/

When I run this check locally, on travis, and on appveyor with _R_CHECK_CRAN_INCOMING_ = true I get the expected NOTE:


* checking CRAN incoming feasibility ... NOTE
Maintainer: ‘Hugh Parsonage <hugh.parsonage at gmail.com>’
Suggests or Enhances not in mainstream repositories:
  taxstats
Availability using Additional_repositories specification:
taxstats   yes   https://hughparsonage.github.io/drat/


However, on CRAN (including win-builder) I get the rather curious NOTE:

* checking CRAN incoming feasibility ... NOTE
Maintainer: 'Hugh Parsonage <hugh.parsonage at gmail.com>'

Suggests or Enhances not in mainstream repositories:
  taxstats
Availability using Additional_repositories specification:
  taxstats   no   ?
  ?           ?   https://hughparsonage.github.io/drat/
Additional repositories with no packages:
  https://hughparsonage.github.io/drat/


followed by errors resulting from failures to install 'taxstats' when code such as the following is run to re-build vignettes:

if (requireNamespace("taxstats", quietly = TRUE)){
  library(taxstats)
} else {
  templib <- tempfile()
  hutils::provide.dir(templib)
  install.packages("taxstats",
                   lib = templib,
                   repos = "https://hughparsonage.github.io/drat/",
                   type = "source")
  library("taxstats", lib.loc = templib) }


Since the failures only occur on Windows machines, and have only appeared recently, I have considered modifying the DESCRIPTION file to 'trick' win-builder into reinstalling taxstats, as I suspect there may be caching issues. However, given that the 'taxstats' package takes a fairly long time to install, I don't want to do this nor submit to CRAN in case I am missing something else that's causing the check to fail.

______________________________________________
R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel


More information about the R-package-devel mailing list