Skip to content

Commit

Permalink
added code to traceback errors while building package website
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinSee committed Feb 28, 2024
1 parent b5624b6 commit 9615c24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions analysis/scripts/build_pkgdown_website.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ pkgdown::check_pkgdown()
# Run to build the website
pkgdown::build_site()

# Hadley Wickham suggested running this if there are errors, to get a traceback in the current process
pkgdown::build_site(new_process = FALSE)

# to look at the site
pkgdown::preview_site()

Expand Down

0 comments on commit 9615c24

Please sign in to comment.