Error: Failed to install 'covr' from GitHub: #80
Unanswered
venkatesh588
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use this Github action https://github.com/marketplace/actions/r-package-validation-report however getting the below error message. I have granted access however getting this error message.
Can someone please help me?
${GITHUB_ACTION_PATH}/dependencies.R
[ ! -f "./template.qmd" ] && cp ${GITHUB_ACTION_PATH}/template.qmd . || echo "./template.qmd already exists"
MIN_QUARTO_VERSION="1.5.29"
if [[ "$(echo -e "$(quarto --version)\n${MIN_QUARTO_VERSION}" | sort -V | head -1)" == "${MIN_QUARTO_VERSION}" ]]; then
echo "✅ Quarto CLI version sufficient (>= ${MIN_QUARTO_VERSION})"
echo "Quarto CLI version: $(quarto --version)"
else
echo "❌ Quarto CLI version insufficient (< ${MIN_QUARTO_VERSION})"
apt-get update
apt-get install -qy wget jq
# Install newer version of Quarto CLI.
# This gets the latest version number (v1.5 up to v1.9) of Quarto from GitHub releases.
# It assumes that such version number (v1.5 up to v1.9) exists within the last 100 released Quarto versions.
export QUARTO_VERSION="$(curl -L -H "Accept: application/vnd.github+json"
-H "X-GitHub-Api-Version: 2022-11-28"
https://api.github.com/repos/quarto-dev/quarto-cli/releases?per_page=100
2>/dev/null |
jq -r 'map(select(.tag_name | test("^v1.[5-9]"))) | .[0].name[1:]')"
echo "Downloading and installing latest Quarto CLI version ${QUARTO_VERSION}"
wget https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.deb
dpkg -i quarto-${QUARTO_VERSION}-linux-amd64.deb
echo "New Quarto CLI version: $(quarto --version)"
fi
shell: bash --noprofile --norc -e -o pipefail {0}
env:
GITHUB_PAT: ***
##[debug]bash --noprofile --norc -e -o pipefail /__w/_temp/7b7d090a-ec57-479c-b034-c853b0cb6e7f.sh
Using github PAT from envvar GITHUB_PAT. Use
gitcreds::gitcreds_set()
and unset GITHUB_PAT in .Renviron (or elsewhere) if you want to use the more secure git credential store instead.Error: Failed to install 'covr' from GitHub:
HTTP error 401.
Bad credentials
Rate limit remaining: 59/60
Rate limit reset at: 2025-08-14 10:20:24 UTC
Execution halted
Error: Process completed with exit code 1.
Regards,
Venkateswar
Beta Was this translation helpful? Give feedback.
All reactions