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

Neal Fultz nfultz at gmail.com
Mon Feb 5 18:04:06 CET 2018


It looks like the drat repo you linked to only has windows binaries for
3.2, which is probably too old for win builder? Just a guess.

On Mon, Feb 5, 2018 at 11:28 AM, Hugh Parsonage <hugh.parsonage at gmail.com>
wrote:

> 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

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list