You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @k-doering-NOAA,
Thanks for the continued usefulness of {ghactions4r} and sorry to bug you with a problem.
A recent change in r4ss to use importFrom of specific functions within {kableExtra} rather than the whole package (which caused a conflict with dplyr, see r4ss/r4ss#819).
Now, the call-doc-and-style workflow is failing with the error Error: Error in load_imports(path) : The package "kableExtra" is required. Looking back through the action messages, I see (at this point):
ERROR: dependency ‘rvest’ is not available for package ‘kableExtra’
* removing ‘/home/runner/work/_temp/Library/kableExtra’
This is not an error in other packages or locally on my machine. @kellijohnson-NOAA wisely pointed out that the dependency installation might be different in doc-and-style than in other actions, and indeed, I see the use of remotes::install_deps(dependencies = TRUE) at
as opposed to the r-lib/actions/setup-r-dependencies used in doc-and-style prior to eb8b6fb as well as in other yml files. I don't know the history that prompted the change, but before that commit, doc-and-style was using setup-r-dependencies@v1 whereas others are using v2 (e.g. r-cmd-check). Would it be worth trying ``setup-r-dependencies@v2` to see if that works for whatever cases necessitated the change as well as fixing the r4ss action?
The text was updated successfully, but these errors were encountered:
@iantaylor-NOAA thanks so much! I think I missed this one when I updated all the other workflows to use setup-r-dependencies@v2 and replacing it (already merged in) seems to work- I just ran doc and style on the r4ss main branch manually and it worked fine, generating r4ss/r4ss#821
Hi @k-doering-NOAA,
Thanks for the continued usefulness of {ghactions4r} and sorry to bug you with a problem.
A recent change in r4ss to use
importFrom
of specific functions within {kableExtra} rather than the whole package (which caused a conflict with dplyr, see r4ss/r4ss#819).Now, the call-doc-and-style workflow is failing with the error
Error: Error in load_imports(path) : The package "kableExtra" is required.
Looking back through the action messages, I see (at this point):This is not an error in other packages or locally on my machine.
@kellijohnson-NOAA wisely pointed out that the dependency installation might be different in doc-and-style than in other actions, and indeed, I see the use of
remotes::install_deps(dependencies = TRUE)
atghactions4r/.github/workflows/doc-and-style-r.yml
Line 50 in eb8b6fb
as opposed to the
r-lib/actions/setup-r-dependencies
used in doc-and-style prior to eb8b6fb as well as in other yml files. I don't know the history that prompted the change, but before that commit, doc-and-style was usingsetup-r-dependencies@v1
whereas others are usingv2
(e.g. r-cmd-check). Would it be worth trying ``setup-r-dependencies@v2` to see if that works for whatever cases necessitated the change as well as fixing the r4ss action?The text was updated successfully, but these errors were encountered: