Re: [R-pkg-devel] Trouble with long-running tests on CRAN debian server

2023-08-23 Thread Scott Ritchie
software design point of view, it might be nicer to set that in > the examples + tests. > > > > Regards, > > Berry > > > > > > From: R-package-devel on behalf > of Scott Ritchie > > Sent: Monday, August 21, 2023 19:23 > > To: Dirk

Re: [R-pkg-devel] Trouble with long-running tests on CRAN debian server

2023-08-21 Thread Scott Ritchie
Thanks Dirk and Ivan, I took a slightly different work-around of forcing the number of threads to 1 when running functions of the test dataset in the package, by adding the following to each user facing function: ``` # Check if running on package test_data, and if so, force data.table to be

Re: [R-pkg-devel] Trouble with long-running tests on CRAN debian server

2023-08-21 Thread Scott Ritchie
at 13:16, Ivan Krylov wrote: > On Mon, 21 Aug 2023 12:02:55 +0100 > Scott Ritchie wrote: > > > remotes::install_github("sritchie73/ukbnmr") > > library(ukbnmr) > > system.time({ remove_technical_variation(test_data) }) > > data.tables, you say? Can you

[R-pkg-devel] Trouble with long-running tests on CRAN debian server

2023-08-21 Thread Scott Ritchie
}) ``` Kind Regards, Scott Ritchie [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel