Replace Travis CI and AppVeyor with GitHub Actions#15
Conversation
Co-authored-by: asgr <5617132+asgr@users.noreply.github.com>
asgr
left a comment
There was a problem hiding this comment.
Can you check that this CI GitHub action actually runs successfully
asgr
left a comment
There was a problem hiding this comment.
Quite a few packages need to be installed from Github asgr using the R remotes package:
ℹ Creating lockfile '.github/pkg.lock'
✔ Updated metadata database: 7.77 MB in 15 files.
ℹ Creating lockfile '.github/pkg.lock'
ℹ Updating metadata database
✔ Updating metadata database ... done
ℹ Creating lockfile '.github/pkg.lock'
✖ Creating lockfile '.github/pkg.lock' [8.2s]
Error:
! error in pak subprocess
Caused by error:
! Could not solve package dependencies:
- deps::.:
- Can't install dependency asgr/Highlander (>= 0.1.7)
- Can't install dependency asgr/ProSpect
- asgr/Highlander: Can't install dependency cmaeshpc
- cmaeshpc: Can't find package called cmaeshpc.
- asgr/ProSpect: Can't install dependency ProSpectData (>= 1.1.0)
- ProSpectData: Can't find package called ProSpectData.
- any::sessioninfo: dependency conflict
- any::rcmdcheck: dependency conflict
Backtrace:
- pak::lockfile_create(c(deps, extra_deps), lockfile = ".github/pkg.lock", …
- pak:::remote(function(...) { …
- err$throw(res$error)
Subprocess backtrace:
- base::withCallingHandlers(cli_message = function(msg) { …
- get("lockfile_create_internal", asNamespace("pak"))(...)
- prop$stop_for_solution_error()
- private$plan$stop_for_solve_error()
- pkgdepends:::pkgplan_stop_for_solve_error(self, private)
- base::throw(new_error("Could not solve package dependencies:\n", msg, …
- | base::signalCondition(cond)
- global (function (e) …
Execution halted
Error: Process completed with exit code 1.
…s, skip Suggests in CI Co-authored-by: asgr <5617132+asgr@users.noreply.github.com>
Fixed in e30fa55. The root cause was that Two changes were made:
The CI run did trigger and uncovered a |
.travis.yml.appveyor.ymlRemotes:field toDESCRIPTIONfor GitHub-only hard-dependency packages (Rfits,magicaxis,celestial,ProFound).github/workflows/R-CMD-check.yamlusingr-lib/actionsasgr/Highlanderandasgr/ProSpectfromRemotes:— their transitive deps (cmaeshpc,ProSpectData) are not in any public registry, and since they are onlySuggeststhey don't need to be inRemotes:dependencies: '"hard"'insetup-r-dependenciesand addknitr/rmarkdownexplicitly so vignettes build without pak attempting to install unavailableSuggestspackages.Rbuildignore: remove stale.travis.ymland.appveyor.ymlentries🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.