[MacPorts] #66984: R: error with generating png images: figure margins too large
MacPorts
noreply at macports.org
Thu Feb 23 12:32:52 UTC 2023
#66984: R: error with generating png images: figure margins too large
-------------------------------------------+------------------------
Reporter: barracuda156 | Owner: i0ntempest
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: powerpc, leopard, snowleopard | Port: R
-------------------------------------------+------------------------
Any idea how to fix this? Recurring error with a number of ports.
Example:
{{{
* checking examples ... ERROR
Running examples in ‘shinylight-Ex.R’ failed
The error most likely occurred in:
> ### Name: encodePlot
> ### Title: Renders a plot as a base64-encoded image
> ### Aliases: encodePlot
>
> ### ** Examples
>
> pdf <- encodePlot(grDevices::png, "image/png", 200, 300, function() {
+ barplot(c(1, 2, 3, 4))
+ })
Error in plot.new() : figure margins too large
Calls: encodePlot -> plotFn -> barplot -> barplot.default -> plot.new
Execution halted
}}}
Another one: https://github.com/rstudio/shiny/issues/3781
--
Ticket URL: <https://trac.macports.org/ticket/66984>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list