Giter VIP home page Giter VIP logo

bookdown-github-actions-netlify's Introduction

๐Ÿงฉ Emil Hvitfeldt  
โ”œโ”€๐Ÿ“ฆ Packages  
โ”‚ โ”œโ”€โš™๏ธ tidymodels  
โ”‚ โ”‚ โ”œโ”€ tidyclust   - Clustering in tidymodels  
โ”‚ โ”‚ โ”œโ”€ textrecipes - Extra 'Recipes' for Text Processing  
โ”‚ โ”‚ โ”œโ”€ themis      - Extra 'Recipes' steps for unbalanced data  
โ”‚ โ”‚ โ””โ”€ censored    - Parsnip wrappers for survival models  
โ”‚ โ”œโ”€๐ŸŽจ Colors  
โ”‚ โ”‚ โ”œโ”€ prismatic   - Simple color manipulation  
โ”‚ โ”‚ โ””โ”€ paletteer   - Functions for all R color palettes  
โ”‚ โ”œโ”€๐Ÿ“– Text  
โ”‚ โ”‚ โ”œโ”€ emoji       - Data and functions about emojis  
โ”‚ โ”‚ โ”œโ”€ friends     - Complete script transcription of the Friends  
โ”‚ โ”‚ โ”œโ”€ textdata    - Download and Load Various Text Datasets  
โ”‚ โ”‚ โ””โ”€ wordsalad   - Extract and Analyze Word Vectors  
โ”‚ โ””โ”€๐Ÿ“Œ Other  
โ”‚   โ”œโ”€ ggpage      - Creates Page Layout Visualizations  
โ”‚   โ””โ”€ gganonumize - Anonymize the labels and text in a ggplot2  
โ”œโ”€๐Ÿ”ต Quarto  
โ”‚ โ”œโ”€ rough-notation           - Use roughnotation javascript in revealjs presentations  
โ”‚ โ”œโ”€ revealjs letterbox theme - A Quarto reveal.js theme for letterbox styled slides  
โ”‚ โ”œโ”€ NES.css theme            - A Quarto reveal.js theme based on NES.css  
โ”‚ โ””โ”€ designMode               - Enable designMode in html Quarto output  
โ”œโ”€๐ŸŒŸ Projects  
โ”‚ โ”œโ”€ R-text-data       - List of textual data in R  
โ”‚ โ”œโ”€ r-color-palettes  - Showcase of all color palettes in R  
โ”‚ โ”œโ”€ emilhvitfeldt.com - Personal Blog  
โ”‚ โ””โ”€ xaringan.gallery  - Collection of examples and custom themes  
โ”œโ”€๐Ÿ“š Books  
โ”‚ โ”œโ”€ smltar                 - Supervised Machine Learning for Text Analysis in R  
โ”‚ โ””โ”€ Feature Engieering A-Z - Everything you need to know abut feature engineering  
โ”œโ”€๐Ÿง‘โ€๐Ÿซ Education Material  
โ”‚ โ”œโ”€ ISLR tidymodels labs - Tidymodels translation of ISLR labs  
โ”‚ โ””โ”€ emilverse            - Collection of personal packages and templates  
โ””โ”€๐Ÿ’ก Other  
  โ”œโ”€ Talks     - My public talks  
  โ”œโ”€ Workshops - My Public Workshops  
  โ””โ”€ Courses   - My Public Courses

bookdown-github-actions-netlify's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bookdown-github-actions-netlify's Issues

R-CMD-check failure

Hi Emil,

While I followed the blog post and have been successful (hooray! and thanks!) in getting this skeleton of a book on Netlify, I am getting an email from GitHub every time I push the book to GitHub.

message line: [higgi13425/rmrwr-book] Run failed: R-CMD-check - master (44e2925)

Contents of email:
Run failed for master (44e2925)

Repository: higgi13425/rmrwr-book
Workflow: R-CMD-check
Duration: 1 minute and 56.0 seconds
Finished: 2020-03-21 22:24:05 UTC

View results

Jobs:
3238c688-6b65-561e-b91c-95930ccb262e failed (3 annotations)
โ€”
You are receiving this because this workflow ran on your branch.
Manage your GitHub Actions notifications here.

Is there a way to turn off R-CMD-check?
Or fix this problem if it is truly a problem?

For reference:
GitHub repo: https://github.com/higgi13425/rmrwr-book
Netlify: https://rmrwr-book.netlify.com

thanks,
Peter

use_github_actions()

Hi Emil,

I ran into one problem in following your blog post.
I could not (initially) use
use_github_action("bookdown.yaml")
It would throw an error, claiming that use_github_action was not available.

I read the documents in the development version of usethis
and it appears that you have to run
use_github_actions() first,
and then you can run
use_github_action("bookdown.yaml")

This seems to work.
I don't know if it is something specific to my setup (session_info below), or a breaking change in the dev version of usethis

If this is not just me, it is probably worth updating your blog post.

thanks,
Peter

โ”€ Session info โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
setting value
version R version 3.6.2 (2019-12-12)
os macOS High Sierra 10.13.6
system x86_64, darwin15.6.0
ui RStudio
language (EN)
collate en_US.UTF-8
ctype en_US.UTF-8
tz America/Detroit
date 2020-03-21

โ”€ Packages โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
package * version date lib source
assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.6.0)
backports 1.1.5 2019-10-02 [1] CRAN (R 3.6.0)
bookdown 0.18 2020-03-05 [1] CRAN (R 3.6.0)
callr 3.4.2 2020-02-12 [1] CRAN (R 3.6.0)
cli 2.0.2 2020-02-28 [1] CRAN (R 3.6.0)
clipr 0.7.0 2019-07-23 [1] CRAN (R 3.6.0)
crayon 1.3.4 2017-09-16 [1] CRAN (R 3.6.0)
curl 4.3 2019-12-02 [1] CRAN (R 3.6.1)
desc 1.2.0 2018-05-01 [1] CRAN (R 3.6.0)
devtools * 2.2.2 2020-02-17 [1] CRAN (R 3.6.0)
digest 0.6.25 2020-02-23 [1] CRAN (R 3.6.0)
ellipsis 0.3.0 2019-09-20 [1] CRAN (R 3.6.1)
evaluate 0.14 2019-05-28 [1] CRAN (R 3.6.0)
fansi 0.4.1 2020-01-08 [1] CRAN (R 3.6.1)
fs 1.3.2 2020-03-05 [1] CRAN (R 3.6.0)
gh 1.1.0 2020-01-24 [1] CRAN (R 3.6.1)
git2r 0.26.1 2019-06-29 [1] CRAN (R 3.6.0)
glue 1.3.2 2020-03-12 [1] CRAN (R 3.6.0)
htmltools 0.4.0 2019-10-04 [1] CRAN (R 3.6.0)
httr 1.4.1 2019-08-05 [1] CRAN (R 3.6.0)
jsonlite 1.6.1 2020-02-02 [1] CRAN (R 3.6.1)
knitr 1.28 2020-02-06 [1] CRAN (R 3.6.1)
magrittr 1.5 2014-11-22 [1] CRAN (R 3.6.0)
memoise 1.1.0 2017-04-21 [1] CRAN (R 3.6.0)
packrat 0.5.0 2018-11-14 [1] CRAN (R 3.6.2)
pkgbuild 1.0.6 2019-10-09 [1] CRAN (R 3.6.1)
pkgload 1.0.2 2018-10-29 [1] CRAN (R 3.6.0)
prettyunits 1.1.1 2020-01-24 [1] CRAN (R 3.6.1)
processx 3.4.2 2020-02-09 [1] CRAN (R 3.6.2)
ps 1.3.2 2020-02-13 [1] CRAN (R 3.6.0)
R6 2.4.1 2019-11-12 [1] CRAN (R 3.6.1)
Rcpp 1.0.4 2020-03-17 [1] CRAN (R 3.6.0)
remotes 2.1.1 2020-02-15 [1] CRAN (R 3.6.0)
renv 0.9.3 2020-02-10 [1] CRAN (R 3.6.2)
rlang 0.4.5 2020-03-01 [1] CRAN (R 3.6.0)
rmarkdown 2.1 2020-01-20 [1] CRAN (R 3.6.1)
rprojroot 1.3-2 2018-01-03 [1] CRAN (R 3.6.0)
rstudioapi 0.11 2020-02-07 [1] CRAN (R 3.6.0)
sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 3.6.0)
testthat 2.3.2 2020-03-02 [1] CRAN (R 3.6.0)
usethis * 1.5.1.9000 2020-03-21 [1] Github (r-lib/usethis@2431e97)
withr 2.1.2 2018-03-15 [1] CRAN (R 3.6.0)
xfun 0.12 2020-01-13 [1] CRAN (R 3.6.1)
yaml 2.2.1 2020-02-01 [1] CRAN (R 3.6.1)

[1] /Library/Frameworks/R.framework/Versions/3.6/Resources/library

workflow not building bookdown

Hi Emil, thanks for your blog and detailed description. I followed your recipe, however, the book is not build. I have no real idea what is not working. the netlify deploy messages suggest that the build command is not found (c.f. below: 11:22:08 AM: No build command found, continuing to publishing). However, I cannot tell how to fix this. Thanks for your help.
Rainer

netlify page: https://pru-learnr.netlify.app
github repo: https://github.com/rainer-rq-koelle/pru-LearnR-booklet

netlify deploy log
11:22:04 AM: Build ready to start
11:22:06 AM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6
11:22:06 AM: build-image tag: v3.4.1
11:22:06 AM: buildbot version: 9042ba4998dab698f1f37fb8d36912c08a387191
11:22:06 AM: Fetching cached dependencies
11:22:06 AM: Starting to download cache of 28.3KB
11:22:06 AM: Finished downloading cache in 84.125472ms
11:22:06 AM: Starting to extract cache
11:22:06 AM: Finished extracting cache in 9.375635ms
11:22:06 AM: Finished fetching cache in 93.79427ms
11:22:06 AM: Starting to prepare the repo for build
11:22:07 AM: Preparing Git Reference refs/heads/master
11:22:08 AM: No build command found, continuing to publishing
11:22:08 AM: Starting to deploy site from '/'
11:22:08 AM: Creating deploy tree
11:22:08 AM: Creating deploy upload records
11:22:08 AM: 1 new files to upload
11:22:08 AM: 0 new functions to upload
11:22:09 AM: Finished processing build request in 2.342891379s
11:22:09 AM: Starting post processing
11:22:09 AM: Post processing - HTML
11:22:09 AM: Post processing - header rules
11:22:09 AM: Post processing - redirect rules
11:22:09 AM: Post processing done
11:22:09 AM: Site is live

website 404 during build

Thank you for sharing the tutorial!
I followed it (with a few minor tweaks) and deployed my bookdown files successfully.
However, there has been one wrinkle:
each time when the gh action workflow gets triggered by push,
it takes about 5 minutes for the workflow to finish,
during which time my website would appear to be down (page not found error).
Is this expected behaviour?
Or have I misunderstood something?

Here is my repository

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.