This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#' --- | |
#' output: | |
#' md_document: | |
#' pandoc_args: [ | |
#' '-f', 'markdown-implicit_figures', | |
#' '-t', 'commonmark', | |
#' --wrap=preserve | |
#' ] | |
#' --- | |
#' |
plot(1:10)
Created on 2018-09-29 by the reprex package (v0.2.1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This file has no copyright assigned and is placed in the Public Domain. | |
* This file is part of the mingw-w64 runtime package. | |
* No warranty is given; refer to the file DISCLAIMER.PD within this package. | |
*/ | |
#ifndef _TIME_H_ | |
#define _TIME_H_ | |
#include <crtdefs.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
res <- jsonlite::fromJSON("http://www.bison-fute.gouv.fr/previsions/previsions.json") | |
library(tidyverse) | |
prev_bf <- tibble( | |
days = res$days, | |
depts = list(res$deptsLine[1:94]), | |
depart = map(res$values, ~ strsplit(.x[1:94], split = ",")) %>% modify_depth(2, 1) %>% simplify_all(), | |
retour = map(res$values, ~ strsplit(.x[1:94], split = ",")) %>% modify_depth(2, 2) %>% simplify_all() | |
) %>% | |
unnest() | |
prev_bf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/questions/10646665/how-to-convert-r-markdown-to-html-i-e-what-does-knit-html-do-in-rstudio-0-9 | |
https://stackoverflow.com/questions/22081991/rmarkdown-pandoc-pdflatex-not-found | |
https://stackoverflow.com/questions/16172345/how-can-i-use-emacs-ess-mode-with-r-markdown | |
https://stackoverflow.com/questions/37241578/knitr-getting-a-parse-all-error-in-r-when-converting-rmd-file-into-html | |
https://stackoverflow.com/questions/33913780/internal-links-in-rmarkdown-dont-work | |
https://stackoverflow.com/questions/31214524/how-do-i-produce-r-package-vignettes-in-multiple-formats | |
https://stackoverflow.com/questions/25382459/rmarkdown-error-in-yaml | |
https://stackoverflow.com/questions/45228938/beamer-rmarkdown-changing-slide-count-for-backup-slides | |
https://stackoverflow.com/questions/25599860/how-to-increase-stack-space-overflow-for-pandoc-in-r | |
https://stackoverflow.com/questions/27246746/how-to-replicate-knit-html-in-a-command-line |
inspired from https://gitlab.pagedmedia.org/tools/pagedjs-cli/blob/master/index.js
This implement a Printer class that extend EventEmitter which does:
- browser = puppeteer.launch()
- page = browser.newPage()
- Serving the paged html locally
/print
the website/polyfill
les scripts js
- page.goto(
http://localhost:${port}/print/${basename}
) locally served files
- Advanced R markdown workshop: https://arm.rbind.io/