Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic reprex crashes R #5969

Closed
testlabauto opened this issue Jan 13, 2025 · 4 comments
Closed

Basic reprex crashes R #5969

testlabauto opened this issue Jan 13, 2025 · 4 comments
Labels
bug Something isn't working lang: r

Comments

@testlabauto
Copy link
Contributor

System details:

Positron and OS details:

2025.02.0-39
OSX

Interpreter details:

R 4.3.3

Describe the issue:

Simple reprex seems to be crashing R (see repro steps).

Steps to reproduce the issue:

  1. Start R interpreter
  2. Run the reprex:
reprex::reprex({
	x <- rnorm(100)
	plot(x, sin(x))
	})

Note the crash message:

Image

Expected or desired behavior:

Reprex works normally.

Were there any error messages in the UI, Output panel, or Developer Tools console?

None

@testlabauto testlabauto added bug Something isn't working lang: r labels Jan 13, 2025
@jonvanausdeln
Copy link
Contributor

It also repro's the failure on Windows

@juliasilge
Copy link
Contributor

juliasilge commented Jan 13, 2025

If you look at std_out, it's failing to upload the image to imgur:

Standard output and error

Quitting from lines 20-22 [unnamed-chunk-2] (steep-carp_reprex.spin.Rmd)
Error in xfun::upload_imgur(file, key, ..., include_xml = TRUE) : 
  Failed to upload steep-carp_reprex_files/figure-gfm/unnamed-chunk-2-1.png (reason: 1025)

@juliasilge
Copy link
Contributor

This fails in RStudio as well; we should likely open an issue on the reprex repo.

@juliasilge
Copy link
Contributor

There already is one! I added our example to tidyverse/reprex#475.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lang: r
Projects
None yet
Development

No branches or pull requests

3 participants