Re: [Rd] head.ts, tail.ts loses time

2024-06-09 Thread Gabor Grothendieck
zoo overcomes many of the limitations of ts: library(zoo) as.ts(head(as.zoo(presidents))) ## Qtr1 Qtr2 Qtr3 Qtr4 ## 1945 NA 87 82 75 ## 1946 63 50 xts also works here. On Sun, Jun 9, 2024 at 12:04 PM Spencer Graves wrote: > > Hello, All: > > > The 'head'

Re: [Rd] clarifying and adjusting the C API for R

2024-06-09 Thread Travers Ching
Hi Luke, thanks for all your work on R! I'd like to ask specifically about R_serialize / R_unserialize (and associated helper functions). These are used by at least a handful of packages and I don't see them in the list from Yutani. Are these API functions considered "stable"? Best, Travers On

Re: [Rd] head.ts, tail.ts loses time

2024-06-09 Thread Josiah Parry
It looks like to me the class is being removed explicitly due to the use of as.numeric() On Sun, Jun 9, 2024 at 12:04 PM Spencer Graves wrote: > Hello, All: > > > The 'head' and 'tail' functions strip the time from a 'ts' > object. > Example: > > > > head(presidents) > [1] NA 87 82

[Rd] head.ts, tail.ts loses time

2024-06-09 Thread Spencer Graves
Hello, All: The 'head' and 'tail' functions strip the time from a 'ts' object. Example: > head(presidents) [1] NA 87 82 75 63 50 > window(presidents, 1945, 1946.25) Qtr1 Qtr2 Qtr3 Qtr4 1945 NA 87 82 75 1946 63 50 Below please find code for 'head.ts' and 'tail.ts'

Re: [Bioc-devel] Build fail due to "undefined color `fgcolor`"

2024-06-09 Thread Martin Morgan
This seems to me like a change in the xcolor package, but I'm not sure. I opened an issue on the BiocStyle package at https://github.com/Bioconductor/BiocStyle/issues/109. Martin From: Bioc-devel on behalf of Alvaro Cuadros Date: Sunday, June 9, 2024 at 5:00 AM To: bioc-devel@r-project.org

[Rd] Fields used by available.packages

2024-06-09 Thread Lluís Revilla
Hi all, I have recently been researching how available.packages and install.packages filter packages from repositories with additional fields in their PACKAGES file. Currently there are some default filters, but users (and R admins) can set up their own filters by passing a list to the fields

Re: [Rd] [External] Re: changes in R-devel and zero-extent objects in Rcpp

2024-06-09 Thread Hiroaki Yutani
(Mainly reply to self) I found there's a new API VECTOR_PTR_RO. Thanks for adding this! https://github.com/r-devel/r-svn/commit/d499fab95b1ba23ee7842293030d4af1e69ae0fe Best, Yutani 2024年6月9日(日) 14:13 Hiroaki Yutani : > Sorry to ask about a bit drifted topic, but will there be an alternative

Re: [R-pkg-devel] Seeking help with a phantom "re-building vignettes" error in 00check.log from CRAN

2024-06-09 Thread Ivan Krylov via R-package-devel
В Fri, 7 Jun 2024 12:03:23 -0700 Jeff Lewis пишет: > I am running into a perplexing issue that creates an error in the > Windows build when I submit the package to CRAN. The error does not > occur on: win-builder-devel, > Debian on CRAN, my mac, or in Docker using r-base on my mac. Here is >

Re: [Bioc-devel] Build fail due to "undefined color `fgcolor`"

2024-06-09 Thread Alvaro Cuadros
On Fri, Jun 7, 2024 at 10:23 PM Christian Mertes wrote: > > Dear Bioc Team, > > I got today a build error from OUTRIDER and FRASER with: > > LaTeX errors: > ! Package xcolor Error: Undefined color `fgcolor'. > > The same errror also pops up at other packages such as ggbio: > > output file: