Closed kapsner closed 2 years ago
Ok, the error occurs here: https://github.com/ropensci/tic/blob/main/R/steps-install.R#L20 when running pak::local_install_dev_deps
but I do not understand why...
It might be most likely caused by https://github.com/miracum/dqa-dqastats/blob/025d3b942ccd8e1cb5ce1c407e915cfe06825a4e/DESCRIPTION#L41-L42 which {pak} fails to resolve.
Can you reproduce it locally when running pak::local_install_dev_deps()
from the project root? (make sure to remove this dependency beforehand)
Hi @pat-s , thanks for your quick answer.
You are right - when replacing the remotes url with the github-version, pak::local_install_dev_deps()
runs successfully and the tic-workflow works again! (https://github.com/miracum/dqa-dqastats/runs/8203757707?check_suite_focus=true)
So it seems as if the issue is rather related to pak
/ its dependency pkgdepends
as this package does not seem to support all valid formatings of the remotes-section of the description file... (https://cran.r-project.org/web/packages/devtools/vignettes/dependencies.html#other-sources)
Glad this helped! Jep it might be worth reporting this to pal directly and linking this issue 🙂
For some reason, I lately experience some issues with running github actions with the tic-workflow.
The pipelines for some of my packages (DQAstats, DQAgui, miRacumDQA) fail all with the same issue that occurs when running
tic::install
:<simpleError: Cannot install packages: .... values must be length 1, but FUN(X[[1]]) result is length 0>
I tried to run
tic::install()
locally, which results in the very same error, however, I was unable to break down the issue to its origin:Any help to resolve this would be highly appreciated! Thanks in advance.