tidyverse / reprex

Render bits of R code for sharing, e.g., on GitHub or StackOverflow.
https://reprex.tidyverse.org
Other
741 stars 80 forks source link

Error in `reprex_render_impl()` #440

Closed SimaSohrabi closed 10 months ago

SimaSohrabi commented 1 year ago

Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on https://community.rstudio.com/ or https://stackoverflow.com/.


Error in reprex_render_impl():

Backtrace:
    x
 1. \-reprex::reprex()
 2.   \-reprex:::reprex_impl(...)
 3.     \-reprex:::reprex_render_impl(r_file, new_session = new_session, html_preview = html_preview)
 4.       \-cli::cli_abort(...)
 5.         \-rlang::abort(...)
sjackson1997 commented 1 year ago

I am getting the same error when I try to run reprex()

> rlang::last_trace(drop = FALSE)
<error/rlang_error>
Error in `reprex_render_impl()`:
! Unhandled error from `rmarkdown::render()` in the external process.
ℹ This is an internal error that was detected in the reprex package.
  Please report it at <https://github.com/tidyverse/reprex/issues> with a reprex and the full backtrace.
---
Backtrace:
    ▆
 1. └─reprex::reprex(input = "C:/Users/...<removed>...quasiquotation.R")
 2.   └─reprex:::reprex_impl(...)
 3.     └─reprex:::reprex_render_impl(r_file, new_session = new_session, html_preview = html_preview)
 4.       └─cli::cli_abort(...)
 5.         └─rlang::abort(...)
> version _ platform x86_64-w64-mingw32 arch x86_64 os mingw32 crt ucrt system x86_64, mingw32 status major 4 minor 3.1 year 2023 month 06 day 16 svn rev 84548 language R version.string R version 4.3.1 (2023-06-16 ucrt) nickname Beagle Scouts > packageVersion(pkg = "reprex") [1] ‘2.0.2’
hadley commented 11 months ago

Can you please provide a bit more context about exactly what you're doing when you see the error?

jennybc commented 10 months ago

We can't act on these reports until someone provides the code they were trying run reprex on. Hopefully someone will return with more detail.