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

Build and Deploy Site workflow fails #340

Open
uschille opened this issue Feb 25, 2025 · 2 comments
Open

Build and Deploy Site workflow fails #340

uschille opened this issue Feb 25, 2025 · 2 comments

Comments

@uschille
Copy link
Contributor

What is the problem?

The workflow 01 Build and Deploy Site is failing as of Feb 24, 2025. I could not immediately trace it back to an update of sandpaper, CRAN, or the Github Actions backend.

Error in `purrr::map()`:
ℹ In index: 1.
ℹ With name: 01-introduction.md.
Caused by error in `self$frontmatter <- ep$frontmatter`:
! cannot add bindings to a locked environment
Backtrace:
     ▆
  1. ├─sandpaper:::ci_deploy(reset = reset)
  2. │ └─sandpaper::validate_lesson(path)
  3. │   └─sandpaper:::this_lesson(path)
  4. │     └─.store$set(path)
  5. │       └─pegboard::Lesson$new(path, jekyll = FALSE)
  6. │         └─pegboard (local) initialize(...)
  7. │           └─pegboard:::read_sandpaper_lesson(path, ...)
  8. │             └─pegboard:::read_markdown_files(...)
  9. │               └─purrr::map(.x = the_files, .f = Episode$new, ...)
 10. │                 └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
 11. │                   ├─purrr:::with_indexed_errors(...)
 12. │                   │ └─base::withCallingHandlers(...)
 13. │                   ├─purrr:::call_with_cleanup(...)
 14. │                   └─R6 (local) .f(.x[[i]], ...)
 15. │                     └─pegboard (local) initialize(...)
 16. └─base::.handleSimpleError(...)
 17.   └─purrr (local) h(simpleError(msg, call))
 18.     └─cli::cli_abort(...)
 19.       └─rlang::abort(...)
Execution halted

Location of problem (optional)

sandpaper:::ci_deploy(reset = reset)

@uschille
Copy link
Contributor Author

@tobyhodges Is this happening in other lessons as well?

@K-Meech
Copy link
Contributor

K-Meech commented Mar 7, 2025

I think this is fixed now @uschille ? There was another run of Build and Deploy Site a few days ago, which seemed to run successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants