Closed dpc10ster closed 3 years ago
That got used up quick! I've been working on a GitHub Actions branch for the book but the loading takes time. The package checking Action should be more straightforward. I'll make a branch on my fork and get something to you.
I saw the Action branch on GitHub - I have no idea what it does!
Thanks.
On Dec 1, 2020, at 5:52 PM, Peter Phillips notifications@github.com wrote:
That got used up quick! I've been working on a GitHub Actions branch for the book but the loading takes time. The package checking Action should be more straightforward. I'll make a branch on my fork and get something to you.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dpc10ster/RJafroc/issues/59#issuecomment-736870557, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4NJRDTOLDVW4HIVB3DXQDSSVXSBANCNFSM4UJUKR2A.
Pull request #60 should help out.
The check will run with the latest release of R on Windows, Mac and Ubuntu, and the the development version of R in Ubuntu. My first test took around 30 mins to complete, but completed successfully.
https://www.rostrum.blog/2020/08/09/ghactions-pkgs/ was helpful to get started - no need to write Actions from scratch.
The usethis::use_github_action_check_standard()
is described in https://usethis.r-lib.org/reference/use_github_action.html
Thanks for the explanations and links. Dev
On Dec 1, 2020, at 7:12 PM, Peter Phillips notifications@github.com wrote:
Pull request #60 https://github.com/dpc10ster/RJafroc/pull/60 should help out.
The check will run with the latest release of R on Windows, Mac and Ubuntu, and the the development version of R in Ubuntu. My first test took around 30 mins to complete, but completed successfully.
https://www.rostrum.blog/2020/08/09/ghactions-pkgs/ https://www.rostrum.blog/2020/08/09/ghactions-pkgs/ was helpful to get started - no need to write Actions from scratch. The usethis::use_github_action_check_standard() is described in https://usethis.r-lib.org/reference/use_github_action.html https://usethis.r-lib.org/reference/use_github_action.html — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dpc10ster/RJafroc/issues/59#issuecomment-736901368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4NJRBYRYCX2744MQO3NWTSSWA5RANCNFSM4UJUKR2A.
Success!
Should I post a similar issue in RJafrocBook
?
pkgdown::build_site()
working on GitHub Actionslearn_github_actions
Success - the _pkgdown.yaml
file was missing a variable name. https://github.com/dpc10ster/RJafroc/commit/72a6065028e2bcb5e2827f36b415693928b3ceb3 fixes the file in the learn_github_actions
branch, and the website is built and deployed to the gh-pages
branch by the GitHub Action.
This sort of action should be useful for building the RJafrocBook. Is the GitHub Pages sourced from the docs
folder in that repo? Let's open open an issue on it in RJafrocBook, like you said above.
Yes; I will post an issue;
I don't see some changes I made a few hours ago in README.md
in the website at RJafroc. The TBA has been replaced by a paragraph.
I thought some customization I did of the workflows/pkgdown.yaml
and the fact that I was not pushing to the master
branch was the reason for not working. I fixed these. But, still not updating the website from current README.md
file.
The master branch deployed to gh-pages
about 40mins ago... Check the repo Settings (on the menu above, right-hand end). Scroll down the first page of settings until you get to GitHub Pages. It might still be set to the docs
directory in the master branch. Make sure it is set to the root of the gh-pages
branch.
What is the completer URL? I changed from doc to root and got a page build failure:
The page build failed for the master
branch with the following error:
The variable {{F}
on line 24 in vignettes/Ch11Vig1SampleSize.Rmd
was not properly closed with }}
. For more information, see https://docs.github.com/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#tag-not-properly-terminated https://docs.github.com/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#tag-not-properly-terminated.
For information on troubleshooting Jekyll see:
https://docs.github.com/articles/troubleshooting-jekyll-builds https://docs.github.com/articles/troubleshooting-jekyll-builds
If you have any questions you can submit a request on the Contact GitHub page at https://support.github.com/contact?repo_id=137936838&page_build_id=219323583 https://support.github.com/contact?repo_id=137936838&page_build_id=219323583
On Dec 4, 2020, at 9:52 PM, Peter Phillips notifications@github.com wrote:
The master branch deployed to gh-pages about 40mins ago... Check the repo Settings (on the menu above, right-hand end). Scroll down the first page of settings until you get to GitHub Pages. It might still be set to the docs directory in the master branch. Make sure it is set to the root of the gh-pages branch.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dpc10ster/RJafroc/issues/59#issuecomment-739112117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4NJRBOUZI7HJJ7OBE2RO3STGN5DANCNFSM4UJUKR2A.
got it!!!
On Fri, Dec 4, 2020 at 11:11 PM Dev Chakraborty dpc10ster@gmail.com wrote:
What is the completer URL? I changed from doc to root and got a page build failure:
The page build failed for the
master
branch with the following error:The variable
{{F}
on line 24 invignettes/Ch11Vig1SampleSize.Rmd
was not properly closed with}}
. For more information, see https://docs.github.com/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#tag-not-properly-terminated .For information on troubleshooting Jekyll see:
https://docs.github.com/articles/troubleshooting-jekyll-builds
If you have any questions you can submit a request on the Contact GitHub page at https://support.github.com/contact?repo_id=137936838&page_build_id=219323583
On Dec 4, 2020, at 9:52 PM, Peter Phillips notifications@github.com wrote:
The master branch deployed to gh-pages about 40mins ago... Check the repo Settings (on the menu above, right-hand end). Scroll down the first page of settings until you get to GitHub Pages. It might still be set to the docs directory in the master branch. Make sure it is set to the root of the gh-pages branch.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dpc10ster/RJafroc/issues/59#issuecomment-739112117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4NJRBOUZI7HJJ7OBE2RO3STGN5DANCNFSM4UJUKR2A .
After any changes, in a branch different from master
I need to merge into master
in order to trigger a build for the website.
I am closing this as the transition from Travis to GitHub Actions appears to be completed.
I think I have messed up the yaml
files; I did check using an online yaml parser
, and the spacing/indentation seems to be OK. I was trying to add a [skip ci]
feature as in:
jobs:
test-coverage:
runs-on: macOS-latest
if: "!contains(github.event.head_commit.message, 'ci skip')" # the extra line to skip build
But it does not skip as expected with a commit message containing [skip ci]
. And when I remove the extra line the builds don't always get activated.
Ignore last message; I forgot about the master branch
Hi Peter,
I am out of credits on Travis; I will need to be more careful in future on when to use the allowed credits.
I tried installing
R
andRStudio
on my OSX based virtual machine running Windows 8 but they failed to run.I think I will use the
rhub
website to periodically check the software. It should work forRJafroc
but I am not sure aboutRJafrocBook
.Maybe I should get a Windows machine? Hate to step down from the Mac.
Any ideas?
PS: their prices are atrocious: $69 per month!