Skip to content

Conversation

@diegozea
Copy link
Contributor

Hi!

This PR exports the @html_plot macro to display R plots in Pluto:

image

image

This is related to fonsp/Pluto.jl#1085 and https://stackoverflow.com/questions/64049836/using-ggplot2-with-julia-pluto-notebook

I hope it is helpful,

Best regards,

@diegozea
Copy link
Contributor Author

The failing checks look unrelated to this PR.

@diegozea
Copy link
Contributor Author

NOTE: String interpolation is not working inside the macro.

@diegozea
Copy link
Contributor Author

NOTE: It doesn't work for packages that create their own device inside a function, e.g.: https://www.rdocumentation.org/packages/factoextra/versions/1.0.7/topics/eigenvalue

@codecov
Copy link

codecov bot commented Apr 14, 2023

Codecov Report

Attention: Patch coverage is 96.55172% with 1 line in your changes missing coverage. Please review.

Project coverage is 78.38%. Comparing base (0bb0d53) to head (9bbe65b).

Files Patch % Lines
src/ijulia.jl 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #409      +/-   ##
==========================================
- Coverage   80.15%   78.38%   -1.77%     
==========================================
  Files          26       27       +1     
  Lines        1693     1721      +28     
==========================================
- Hits         1357     1349       -8     
- Misses        336      372      +36     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants