══ Failed tests ═════════════════════════════════════════════════════════════════════════════════════
── Error (test-compiler-ghpages.R:26:3): animint2pages() returns owner/repo string ──
Error in value[[3L]](cond): A GitHub token is required to create and push to a new repository.
To create a GitHub token, follow these steps:
Copy the generated token.
After creating the token, you can set it up in your R environment by running:
Sys.setenv(GITHUB_PAT="yourGithubPAT")
gert::git_config_global_set("user.name", "yourUserName")
gert::git_config_global_set("user.email", "yourEmail")
Backtrace:
▆
└─animint2::animint2pages(viz, github_repo = "animint2pages_test_repo") at test-compiler-ghpages.R:26:3
I am using RStudio Version 2024.04.0+735 (2024.04.0+735) on Arm Mac OS 14.4.1.
The compiler-ghpages test case fails the second time when executed again in the same RStudio session. If RStudio is restarted it passes again.
the error messages are:
══ Failed tests ═════════════════════════════════════════════════════════════════════════════════════ ── Error (test-compiler-ghpages.R:26:3): animint2pages() returns owner/repo string ── Error in
value[[3L]](cond)
: A GitHub token is required to create and push to a new repository. To create a GitHub token, follow these steps:Backtrace: ▆
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ]