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

Fix blog build action #955

Closed
melange396 opened this issue Apr 15, 2024 · 2 comments
Closed

Fix blog build action #955

melange396 opened this issue Apr 15, 2024 · 2 comments
Assignees
Labels
blog bug chore dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code

Comments

@melange396
Copy link
Contributor

The "blog build" GH action was broken (by me w/ help from dependabot) somewhere seemingly between dee2694 (the v3.2.12 release, which succeeded) and the commit of #940 , which failed.

A history of runs of the blog build GH Action can be found at https://github.com/cmu-delphi/www-main/actions/workflows/blog.yaml . The first failure in the GH Actions history can be found at https://github.com/cmu-delphi/www-main/actions/runs/8344599900/job/22841412601 , and a snippet of the error output is below:

> Rscript -e "blogdown::build_site(local=FALSE, run_hugo=FALSE, build_rmd='md5sum')"

Rendering content/blog/2015-07-23-template-post.Rmd... Done.
Rendering content/blog/2020-08-10-hello-world.Rmd... Done.
Rendering content/blog/2020-08-26-fb-survey.Rmd... 
Quitting from lines 298-365 [unnamed-chunk-3] (2020-08-26-fb-survey.Rmd)
Error in `plot_theme()`:
! The `legend.pos` theme element is not defined in the element
  hierarchy.
Backtrace:
  1. base::eval(...)
  4. blogdown (local) `<fn>`(...)
  5. rmarkdown::render(...)
  6. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  7. knitr:::process_file(text, output)
     ...
 27. knitr:::knit_print.default(x, ...)
 28. evaluate (local) normal_print(x)
 [30](https://github.com/cmu-delphi/www-main/actions/runs/8344599900/job/22841412601#step:9:31). ggplot2:::print.ggplot(x)
 32. ggplot2:::ggplot_gtable.ggplot_built(data)
 33. ggplot2:::plot_theme(plot)
Execution halted
Error: Failed to render content/blog/2020-08-26-fb-survey.Rmd
Execution halted
Error: Process completed with exit code 1.
@melange396 melange396 added bug dependencies Pull requests that update a dependency file chore blog github_actions Pull requests that update Github_actions code labels Apr 15, 2024
@melange396
Copy link
Contributor Author

looks like this may have been fixed on or before #949 somehow... im gonna do some more checking before closing this.

@melange396 melange396 self-assigned this Apr 24, 2024
@melange396
Copy link
Contributor Author

looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blog bug chore dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code
Projects
None yet
Development

No branches or pull requests

1 participant