Skip to content

Dev page

Colin Fay edited this page Jan 31, 2023 · 3 revisions

Conventional commits

Starting in August 2022, commits messages should be formatted according to Conventional Commits

The type should be one of

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test: Adding missing tests or correcting existing tests

Style

Please style the files according to grkstyle::grk_style_transformer()

# If you work in RStudio
options(styler.addins_style_transformer = "grkstyle::grk_style_transformer()")

# If you work in VSCode
options(languageserver.formatting_style = function(options) {
  grkstyle::grk_style_transformer()
})

Testing a golem version

# Launch a docker that will hang
docker run -d --rm rocker/shiny:latest tail -f /dev/null

Attach an IDE

Screenshot 2022-12-23 at 11 03 06

Launch an R session and install the latest dev version of {golem}

install.packages(c("pak"))
pak::pak("thinkr-open/golem@dev")