Colin Gillespie

Results 33 comments of Colin Gillespie

So this is odd. This works ``` pagedown::chrome_print("https://en.wikipedia.org/wiki/R_(programming_language)", output = "wiki.pdf") ``` But this doesn't ``` pagedown::chrome_print( input = "chapter1.html", output = "chapter1.pdf" ) ``` --- Chapter1.Rmd now looks like...

``` ❯ pagedown::chrome_print( input = "file://chapter1.html", output = "chapter1.pdf" ) Error in force(expr) : Failed to generate output. Reason: net::ERR_INVALID_URL Run `rlang::last_error()` to see where the error occurred. ✖ [main*...

> You'll need the absolute path prefixed with file://, which ends up being file:///Users/colin/chapter1.html Duh! I did that the first time, and got an error. Must have had a typo...

My chapter1.Rmd is now minimal. It's only five lines: ``` --- title: "Introduction" output: xaringan::moon_reader --- ``` This ``` input = "file:///data/ncsg3/gitlab/training/r/introduction/slides/chapter1.html" output = "/data/ncsg3/gitlab/training/r/introduction/slides/chapter1.pdf" pagedown::chrome_print(input = input, output =...

@wesleyburr / @gadenbuie I had a "similar" issue with [RStudio](https://github.com/rstudio/rstudio/issues/11385). Essentially when opening an HTML _file_, it used firefox. The issue was that the default browser for opening a file...

In a recent [blog post](https://www.jumpingrivers.com/blog/what-r-version-do-you-really-need-for-a-package/) we gathered this information. It would be straightforward to tweak the code and submit a PR. @sfirke Would you like a PR on this?

There's a couple of screenshots as well. ``` R> sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04.1 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3 LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so locale:...

* `devtools::document()` works in both the Rstudio console and RStudio terminal. * Check package (CTRL + Shift + E) on RStudio also works

One further step forward. ``` # The first dir is the one with knitr and loaded in .Rprofile > .libPaths() [1] "/data/ncsg3/Rpackages" "/usr/lib/R/site-library" [3] "/usr/lib/R/library" > tools:::.build_packages("benchmarkme/") * checking for...

Looking at your installation path, I think you are using RSPM. When I've had odd issues like this (not with {ragg}) I tried installing via the old fashioned rstudio.cloud CRAN...