[Rd] Graphic parameters with length zero in grid cause R to crash

2020-05-19 Thread Gu, Zuguang
Hi, I found in grid package, if the graphic parameters have zero length, R crashes. In the following code, I only tested `grid.rect()` and the `fill` parameter, but I think it should be similar as other grid graphic functions. In `gpar()` function, the graphic parameters are not allowed to

Re: [Rd] Graphic parameters with length zero in grid cause R to crash

2020-05-19 Thread Bob Rudis
Reproduced on latest Catalina beta and R 4.0.0 and latest RStudio devel build (it crashes the session). On Tue, May 19, 2020 at 7:39 AM Gu, Zuguang wrote: > > Hi, > > > I found in grid package, if the graphic parameters have zero length, R > crashes. In the > > following code, I only tested `gri