Re: [Bioc-devel] Error: invalid graphics state in creating vignettes

2019-05-02 Thread Shin, Sunyoung
lines(x=c(convertUnit(unit(3, "lines"), "npc", valueOnly = TRUE), 1 - convertUnit(unit(1, "lines"), "npc", valueOnly = TRUE)), y=unit(1.5, "lines"), gp=gpar(col = "blue", lwd = 1.5, xpd=NA), arrow=arrow(length = u

Re: [Bioc-devel] Error: invalid graphics state in creating vignettes

2019-04-29 Thread Jianhong Ou, Ph.D.
id.text("5'", x=unit(2, "lines"), gp=gpar(col="blue", cex=1), y=unit(1, "lines")) } else { grid.lines(x=c(convertUnit(unit(3, "lines"), "npc", valueOnly = TRUE), 1 - convertUnit(unit(1, "lines"), "npc", valueOnly =

Re: [Bioc-devel] Error: invalid graphics state in creating vignettes

2019-04-28 Thread Shin, Sunyoung
Hello Jianhong, Thank you very much for the quick response. I dropped all par commands, and used layout() instead of par(mfrow=c(4,1)). But, I still get the same error message. I put the updated code below. Do you have some suggestions on debugging? * creating vignettes ... ERROR ---

Re: [Bioc-devel] Error: invalid graphics state in creating vignettes

2019-04-23 Thread Jianhong Ou, Ph.D.
Hi Sunyong, plotMotifLogo does not compatible with par now. Please use grid to plot the multiple panels in one canvas. I am working on this but it takes time. Jianhong. On 4/23/19, 12:47 AM, "Bioc-devel on behalf of Shin, Sunyoung" wrote: Dear all, I got an error message:

[Bioc-devel] Error: invalid graphics state in creating vignettes

2019-04-22 Thread Shin, Sunyoung
Dear all, I got an error message: invalid graphics state as below from BUILD report for atSNP 0.99.23 (https://master.bioconductor.org/packages/3.9/bioc/html/atSNP.html). This occurs on every platform: malbec2, tokay2, and celaya2. Running devtools::check() on my local computer does not