Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appveyor development builds fail due to recent version bump #244

Closed
2 of 3 tasks
bokov opened this issue Oct 14, 2019 · 3 comments
Closed
2 of 3 tasks

Appveyor development builds fail due to recent version bump #244

bokov opened this issue Oct 14, 2019 · 3 comments
Labels
Milestone

Comments

@bokov
Copy link
Contributor

bokov commented Oct 14, 2019

Please specify whether your issue is about:

  • a possible bug
  • a question about package functionality
  • a suggested code or documentation change, improvement to the code, or feature request

If you are reporting (1) a bug or (2) a question about code, please supply:

To reproduce: push any change to the repo

Put your code here (error messages):

# starting around line 219 of the log...
Installing package into 'c:/RLibrary'
(as 'lib' is unspecified)
Warning: unable to access index for repository https://cloud.r-project.org/bin/windows/contrib/4.0:
  cannot open URL 'https://cloud.r-project.org/bin/windows/contrib/4.0/PACKAGES'

# ... then later, starting on line 342 the error happens:

Packages required but not available:
  'haven', 'curl', 'data.table', 'readxl', 'openxlsx', 'tibble'
Packages suggested but not available:
  'bit64', 'testthat', 'knitr', 'magrittr', 'clipr', 'csvy', 'feather',
  'fst', 'hexView', 'jsonlite', 'pzfx', 'readODS', 'readr', 'rmatio',
  'xml2', 'yaml'
The suggested packages are required for a complete check.
Checking can be attempted without them by setting the environment
variable _R_CHECK_FORCE_SUGGESTS_ to a false value.
See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.
* DONE
Status: 1 ERROR
See
  'C:/projects/rio/rio.Rcheck/00check.log'
for details.
Command exited with code 1

In krlmlr/r-appveyor#167, @krlmlr advises to set PKGTYPE: source

I'm trying that right now, and though it took forever, both the x64 and i386 devel versions built successfully. I'll try committing a trivial change on my fork to see if these packages have been cached and maybe it will run faster this time...

@bokov
Copy link
Contributor Author

bokov commented Oct 14, 2019

Darn. It re-compiles everything. I guess until CRAN creates the 4.0 subdirectory on their repos, it's a choice between: not committing anything, committing but not testing devel versions on Windows, or having very slow devel builds.

If you want to go with slow builds, I have a PR ready to submit.

@bokov
Copy link
Contributor Author

bokov commented Oct 17, 2019

This is the PR in question:
https://ci.appveyor.com/project/bokov/rio/builds/28093351

It took 1 hour 25 minutes to run, but it's green.

@bokov
Copy link
Contributor Author

bokov commented Nov 13, 2019

It is no longer necessary to use PKGTYPE: source in appveyor.yml for now. But this problem may repeat with the next version bump ( krlmlr/r-appveyor#167 )

@bokov bokov closed this as completed Nov 13, 2019
@leeper leeper added this to the v0.6 milestone Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants