A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/r-lib/actions/issues/483 below:

setup-r-dependencies error during lockfile creation (ubuntu) · Issue #483 · r-lib/actions · GitHub

Hello!

In some runs using setup-r-dependencies@v2 the action fails during dependency resolution with Error: <rlib_error in throw(cond, parent = e): You can only throw conditions> it seems to only(?) happen on ubuntu it is not cleanly reproducible, re-running tends to fix it.

https://github.com/kgoldfeld/simstudy/runs/4827705901?check_suite_focus=true#step:6:69 (and previous attempt)
https://github.com/r-lib/styler/runs/4828086477?check_suite_focus=true
log:

Dependency resolution
  ℹ Creating lockfile '.github/pkg.lock'
  ! Using bundled GitHub PAT. Please add your own PAT using `gitcreds::gitcreds_set()`.
  ℹ Creating lockfile '.github/pkg.lock'
  ✔ Updated metadata database: 2.88 MB in 7 files.
  
  ℹ Creating lockfile '.github/pkg.lock'
  ℹ Updating metadata database
  
  Error: Error: <rlib_error in throw(cond, parent = e): You can only throw conditions>
  $calls
  $calls[[1]]
  pak::lockfile_create(c("deps::.", "any::sessioninfo", extra_deps), 
      lockfile = ".github/pkg.lock", dependencies = c(needs, ("all")))
  
  $calls[[2]]
  remote(function(...) {
      get("lockfile_create_internal", asNamespace("pak"))(...)
  }, list(pkg = pkg, lockfile = lockfile, lib = lib, upgrade = upgrade, 
      dependencies = dependencies))
  
  $calls[[3]]
  err$rethrow(stop(res$error$parent$error), res$error$parent, call = FALSE)
  
  $calls[[4]]
  withCallingHandlers(expr, error = function(e) {
      if (is.null(e$`_nframe`)) 
          e$`_nframe` <- length(sys.calls())
      e$`_childcall` <- realcall
      e$`_childframe` <- realframe
      e$`_childignore` <- list(c(realframe + 1L, realframe + 1L), 
          c(e$`_nframe` + 1L, sys.nframe() + 1L))
      throw(cond, parent = e)
  })
  
  $calls[[5]]
  stop(res$error$parent$error)
  
  $calls[[6]]
  .handleSimpleError(function (e) 
  {
      if (is.null(e$`_nframe`)) 
          e$`_nframe` <- length(sys.calls())
      e$`_childcall` <- realcall
      e$`_childframe` <- realframe
      e$`_childignore` <- list(c(realframe + 1L, realframe + 1L), 
          c(e$`_nframe` + 1L, sys.nframe() + 1L))
      throw(cond, parent = e)
  }, "", base::quote(withCallingHandlers(expr, error = function(e) {
      if (is.null(e$`_nframe`)) 
          e$`_nframe` <- length(sys.calls())
      e$`_childcall` <- realcall
      e$`_childframe` <- realframe
      e$`_childignore` <- list(c(realframe + 1L, realframe + 1L), 
          c(e$`_nframe` + 1L, sys.nframe() + 1L))
      throw(cond, parent = e)
  })))
  
  $calls[[7]]
  h(simpleError(msg, call))
  
  $calls[[8]]
  throw(cond, parent = e)
  
  $calls[[9]]
  throw(new_error("You can only throw conditions"))
  
  
  $parents
  [1] 0 1 2 3 2 0 6 7 8
  
  $envs
  $envs[[1]]
  [1] "0x55b7b52795b8"
  
  $envs[[2]]
  [1] "0x55b7b5287948"
  
  $envs[[3]]
  [1] "0x55b7b52cdef0"
  
  $envs[[4]]
  [1] "0x55b7b52ce2e0"
  
  $envs[[5]]
  [1] "0x55b7b52ce890"
  
  $envs[[6]]
  [1] "0x55b7b52cc5b8"
  
  $envs[[7]]
  [1] "0x55b7b52cc698"
  
  $envs[[8]]
  [1] "0x55b7b4ed6a40"
  
  $envs[[9]]
  [1] "0x55b7b4ed70d0"
  
  
  $topenvs
  $topenvs[[1]]
  [1] "namespace:pak"
  
  $topenvs[[2]]
  [1] "namespace:pak"
  
  $topenvs[[3]]
  [1] "0x55b7b532a5d8"
  
  $topenvs[[4]]
  [1] "namespace:base"
  
  $topenvs[[5]]
  [1] "namespace:base"
  
  $topenvs[[6]]
  [1] "namespace:base"
  
  $topenvs[[7]]
  [1] "0x55b7b532a5d8"
  
  $topenvs[[8]]
  [1] "0x55b7b532a5d8"
  
  $topenvs[[9]]
  [1] "0x55b7b532a5d8"
  
  
  $indices
  [1] 1 2 3 4 5 6 7 8 9
  
  $nframes
  [1] 9
  
  $messages
  $messages[[1]]
  [1] "You can only throw conditions"
  
  
  $ignore
  NULL
  
  $classes
  [1] "rlib_error" "error"      "condition" 
  
  $pids
  [1] 7849 7849 7849 7849 7849 7849 7849 7849 7849
  
  attr(,"class")
  [1] "rlib_trace"

lorenzwalthert and msberends


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4