I am trying to get the github actions CI from usethis
working on a new project -- I haven't made any modifications to the scripts yet. They may be found here.
In the project DESCRIPTION, I am using the Remote:
section to install xgboost
precompiled for linux with the GPU functionality enabled. Here is the snippet from the DESCRIPTION which is in question:
...
xgboost (>= 1.7.2.1)
Config/testthat/edition: 3
Remotes:
url::https://github.com/dmlc/xgboost/releases/download/v1.7.2/xgboost_r_gpu_linux_1.7.2.tar.gz
URL: https://cmatkhan.github.io/brentlabXGBoost/
This is the error I am getting:
Error:
! error in pak subprocess
Caused by error:
! Could not solve package dependencies:
* deps::.: ! pkgdepends resolution error for deps::..
Caused by error:
! Cannot determine package name for 1 package:
"url::https://github.com/dmlc/xgboost/releases/download/v1.7.2/xgboost_r_gpu_linux_1.7.2.tar.gz".
ℹ Maybe you need to add a `<packagename>=` prefix?
* local::.: ! pkgdepends resolution error for local::..
Caused by error:
! Cannot determine package name for 1 package:
"url::https://github.com/dmlc/xgboost/releases/download/v1.7.2/xgboost_r_gpu_linux_1.7.2.tar.gz".
ℹ Maybe you need to add a `<packagename>=` prefix?
I see that it is suggesting that I add <packagename>=
prefix, but I don't know what that means, where to put it, or what syntax to use.
If this suggestion from the Error message is clear to someone else, I would greatly appreciate either getting pointed in the right direction re: documentation (couldn't find any that helped me) or just an example of what this message is trying to tell me to do.
Otherwise, any suggestions on what to try to debug this? The package does install through the usual means (outside of the CI and possibly specifically pak or pkgdown...not sure yet).