Coder Social home page Coder Social logo

Comments (2)

hadley avatar hadley commented on June 15, 2024 1

Here's a simpler reprex that makes a simpler traceback:

format <- build_rmarkdown_format(
  pkg = as_pkgdown("."),
  name = "article",
  toc = TRUE
)
rmarkdown::render("vignettes/data-slices.Rmd", output_format = format)

That yields:

     ▆
  1. └─rmarkdown::render(...)
  2.   └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  3.     └─knitr:::process_file(text, output)
  4.       ├─xfun:::handle_error(...)
  5.       │ └─base::withCallingHandlers(...)
  6.       ├─base::withCallingHandlers(...)
  7.       └─knitr:::process_group(group)
  8.         └─knitr:::call_block(x)
  9.           └─knitr:::block_exec(params)
 10.             └─knitr:::eng_r(options)
 11.               └─knitr:::chunk_device(options, keep != "none", tmp.fig)
 12.                 ├─base::do.call(...)
 13.                 └─svglite (local) `<fn>`(...)
 14.                   └─svglite:::svglite_(...)

I think that implies that this might actually be an svglite issue, so I've filed r-lib/svglite#172. (At the least, I'd want to see what happens if svglite generates a better error before making changes to pkgdown.)

...

Re-looking at your original traceback, I see that this traceback is already included, albeit rather buried. I'll see if I can make it more clear.

from pkgdown.

gavinsimpson avatar gavinsimpson commented on June 15, 2024

Thanks for looking into this @hadley and raising this with issue with svglite

from pkgdown.

Related Issues (20)

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.