Skip to content

Conversation

@averissimo
Copy link
Contributor

@averissimo averissimo commented Oct 3, 2025

Pull Request

Companion to

Notes

This should be an easy find-and-replace to do the same in other modules

Changes description

  • Adds pseudo_code_chunk() to module's code to hide that heading.
  • Check if there are other headers that need hiding when code is not present

@averissimo averissimo changed the title feat: use pseudo_chunk_code to remove code headers from reporter when… Hints that "Module's code" header should also be removed when code is not shown in reporter Oct 3, 2025
@m7pr m7pr self-assigned this Oct 7, 2025
@m7pr
Copy link
Contributor

m7pr commented Oct 7, 2025

R dependency resolution fails, becuase there is some conflict

Creating lockfile '.github/pkg.lock'Loading metadata databaseLoading metadata database ... doneCreating lockfile '.github/pkg.lock'Creating lockfile '.github/pkg.lock' [5.9s]
  
  Error: 
  ! error in pak subprocess
  Caused by error: 
  ! Could not solve package dependencies:
  * deps::.: dependency conflict
  * any::sessioninfo: dependency conflict
  ---
  Backtrace:
  1. pak::lockfile_create(c(deps, extra_deps), lockfile = ".github/pkg.lock", …
  2. pak:::remote(function(...) { …
  3. err$throw(res$error)
  ---
  Subprocess backtrace:
  1. base::withCallingHandlers(cli_message = function(msg) { …
  2. get("lockfile_create_internal", asNamespace("pak"))(...)
  3. prop$stop_for_solution_error()
  4. private$plan$stop_for_solve_error()
  5. pkgdepends:::pkgplan_stop_for_solve_error(self, private)
  6. base::throw(new_error("Could not solve package dependencies:\n", msg, …
  7. | base::signalCondition(cond)
  8. global (function (e) …
  Execution halted
  Error: Process completed with exit code 1.

@gogonzo
Copy link
Contributor

gogonzo commented Oct 14, 2025

We decided to do this other way. Thanks @averissimo

@gogonzo gogonzo closed this Oct 14, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2025
@gogonzo gogonzo deleted the 400-skip_headers_when_no_code branch October 14, 2025 13:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants