Re: [Rd] unlist errors on a nested list of empty lists

2018-05-10 Thread Martin Maechler
> Steven Nydick > on Wed, 9 May 2018 13:25:11 + writes: > I do not have access to the bug reporting system. If somebody can get me > access, I can create a formal bug report. > The latter issues seem like duplicates of: > https://bugs.r-project.org/bugzilla3/show_

[Rd] grDevices::grey could provide clearer error message when length(alpha) != length(level)

2018-05-10 Thread Hugh Parsonage
e.g. grDevices::grey(level = 0.1, alpha = c(0, 1)) #> Error in grey(level = 0.1, alpha = c(0, 1)) : #> attempt to set index 1/1 in SET_STRING_ELT Perhaps #> Error in grey(level = 0.1, alpha = c(0, 1)) : #> lengths of 'level' and 'alpha' differ __ R-d

Re: [Rd] grDevices::grey could provide clearer error message when length(alpha) != length(level)

2018-05-10 Thread Duncan Murdoch
On 10/05/2018 9:17 AM, Hugh Parsonage wrote: e.g. grDevices::grey(level = 0.1, alpha = c(0, 1)) #> Error in grey(level = 0.1, alpha = c(0, 1)) : #> attempt to set index 1/1 in SET_STRING_ELT Perhaps #> Error in grey(level = 0.1, alpha = c(0, 1)) : #> lengths of 'level' and 'alpha' differ O

[Rd] readLines() behaves differently for gzfile connection

2018-05-10 Thread Ben Heavner
When I read a .gz file with readLines() in 3.4.3, it returns text (and a warning). In 3.5.0, it gives a warning, but no text. Is this expected behavior or a bug? 3.4.3: > source_file = "1k_annotation.gz" > readfile_con <- gzfile(source_file, "r") > readLines(readfile_con, n = 5) [1] "#chr\tpos\tre

Re: [Rd] readLines() behaves differently for gzfile connection

2018-05-10 Thread Michael Lawrence
Would it be possible to get that file or a representative subset of it somewhere so that I can reproduce this? Thanks, Michael On Thu, May 10, 2018 at 3:31 PM, Ben Heavner wrote: > When I read a .gz file with readLines() in 3.4.3, it returns text (and a > warning). In 3.5.0, it gives a warning,

Re: [Rd] readLines() behaves differently for gzfile connection

2018-05-10 Thread Ben Heavner
You bet - it's available on github at https://github.com/UW-GAC/wgsaparsr/blob/master/tests/testthat/1k_annotation.gz -Ben On Thu, May 10, 2018 at 4:17 PM, Michael Lawrence wrote: > Would it be possible to get that file or a representative subset of it > somewhere so that I can reproduce this?