Skip to content
Prev 2370 / 12125 Next

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

Thank you Uwe & Neal,

Following your suggestion, I tried inserting a binary version of the
package into the repository. I first tried inserting the package into
R 3.4; however, the note persists on winbuilder for R-release:

* using log directory 'd:/RCompile/CRANguest/R-release/grattan.Rcheck'
* using R version 3.4.3 (2017-11-30)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'grattan/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'grattan' version '1.5.3.2'
* checking CRAN incoming feasibility ... NOTE
Maintainer: 'Hugh Parsonage <hugh.parsonage at gmail.com>'

Possibly mis-spelled words in DESCRIPTION:
  Grattan (18:24)
  indices (17:77)
  repos (19:34)
  taxstats (19:23)

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/

 (ephemeral link: https://win-builder.r-project.org/4SMyJyP2fZcC/00check.log )

whereas when I run R CMD check --as-cran on a local machine, as well
as on appveyor, I get the expected NOTE.

?  using log directory
'C:/Users/hughp/AppData/Local/Temp/Rtmp4IHBGp/file3b0053a64c53/grattan.Rcheck'
?  using R version 3.4.3 (2017-11-30)
?  using platform: x86_64-w64-mingw32 (64-bit)
?  using session charset: ISO8859-1
?  using option '--as-cran'
?  checking for file 'grattan/DESCRIPTION'
?  checking extension type ... Package
?  this is package 'grattan' version '1.5.3.2'
N  checking CRAN incoming feasibility
   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/

The newly inserted binary package appears to install fine on
Appveyor's instance:

Rscript -e "is.null(install.packages('taxstats', repos =
'https://hughparsonage.github.io/drat'))"
Installing package into 'c:/RLibrary'
(as 'lib' is unspecified)
trying URL 'https://hughparsonage.github.io/drat/bin/windows/contrib/3.4/taxstats_0.0.5.1415.zip'
Content type 'application/zip' length 78843919 bytes (75.2 MB)
==================================================
downloaded 75.2 MB
package 'taxstats' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\appveyor\AppData\Local\Temp\1\Rtmp6HCDYs\downloaded_packages
[1] TRUE


I understand that available.packages() using caching, but rebooting my
computer did not change this result (I'm not sure if this is
sufficient to eliminate the possibility that caching is masking a
problem).


Sorry that this package is causing problems on CRAN. Very appreciative
of your patience.


Hugh.
On 6 February 2018 at 04:19, Uwe Ligges <ligges at statistik.tu-dortmund.de> wrote: