Re: [R-pkg-devel] [r-package-devel] Win.Metafile and package check - "Found the platform-specific device:"

2023-11-05 Thread Vladimir Dergachev
On Sat, 4 Nov 2023, wayne.w.jo...@shell.com wrote: Hi Vladimir, Thanks for the suggestions. I've considered both but I can't see a way of doing what I'm trying to achieve without explicitly adding a call to win.metafile in my code. To explain a little more... GWSDAT is a Shiny App so we

[Rd] c(NA, 0+1i) not the same as c(as.complex(NA), 0+1i)?

2023-11-05 Thread Michael Chirico
This is another follow-up to the thread from September "Recent changes to as.complex(NA_real_)". A test in data.table was broken by the changes for NA coercion to complex; the breakage essentially comes from c(NA, 0+1i) # vs c(as.complex(NA), 0+1i) The former is the output we tested against;