knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Authentication

Q-Auth-1

I am getting an error when using circle::use_circle_deploy() or tic::use_ghactions_deploy().

Answer

In most cases this is related to API authentication issues. Ensure that the following points are met:

  1. For Circle CI, install the respective GitHub App from the GitHub Marketplace.
  2. Ensure that you have set the respective API keys for the problematic provider in your .Renviron file. Consult the help pages of the respective use_*_deploy() function for more help.
  3. GitHub Actions: A GITHUB_PAT with "public_repo" scopes.
  4. Circle CI: Env var R_CIRCLE.

GitHub Actions

Q-GHA-1

How is {tic} different from what r-lib/actions does?

Answer

{tic} uses r-lib/actions as the base to install R in the first place. However in detail, {tic} does the following things differently which aim to enhance the CI experience:

Other

Q-Other-1

Is it possible to update the CI YAML templates installed by {tic} with upstream changes?

Answer

Yes! Have a look at "Updating Templates" for more information.


Q-Other-2

Am I the only one using {tic}?

Answer

You can see who and how many people use {tic.R} on GitHub via this query: https://github.com/search?p=5&q=filename%3Atic.R&type=Code


Q-Other-3

Package {rgl} fails to install because of either

Answer

The first one is usually caused by a missing installation of XQuartz on macOS. Add brew install xquartz to the runner.

The second error requires to set the DISPLAY env var to mimic a non-headless state. Add export DISPLAY=:99 to the stage in which {rgl} should be installed. If the warning message during loading of {rgl} should be suppressed, either env var RGL_USE_NULL = TRUE can be set or R option options(rgl.useNull = TRUE).



ropenscilabs/tic documentation built on Feb. 5, 2024, 5:06 p.m.