Re: [R-pkg-devel] NOTE about use of `:::`

2022-12-15 Thread Duncan Murdoch
If you want the name of the function to appear, then you can put the function in an environment whose parent is where most of the evaluation should take place. For example, f <- function(...) { call <- match.call(expand.dots = TRUE) call[[1]] <- quote(parse_args) envir <- new.env(parent

[R-pkg-devel] How to reduce examples in a package that takes more than 5 seconds to run?

2022-12-15 Thread Ismail Otoakhia
The R package 'ardl.nardl' has some examples that take more than 5 seconds to run. I was advised by the CRAN team to reduce the run time to less than 5 seconds. How can this be achieved? E. I Otoakhia [[alternative HTML version deleted]] _

Re: [R-pkg-devel] How to reduce examples in a package that takes more than 5 seconds to run?

2022-12-15 Thread Brian G. Peterson
On 12/15/22 08:34, Ismail Otoakhia wrote: The R package 'ardl.nardl' has some examples that take more than 5 seconds to run. I was advised by the CRAN team to reduce the run time to less than 5 seconds. How can this be achieved? - you can lower the amount of data in the example - you can use

Re: [R-pkg-devel] How to reduce examples in a package that takes more than 5 seconds to run?

2022-12-15 Thread Ben Bolker
On 2022-12-15 9:57 a.m., Brian G. Peterson wrote: On 12/15/22 08:34, Ismail Otoakhia wrote: The R package 'ardl.nardl' has some examples that take more than 5 seconds to run. I was advised by the CRAN team to reduce the run time to less than 5 seconds. How can this be achieved? - you can

Re: [R-pkg-devel] How to reduce examples in a package that takes more than 5 seconds to run?

2022-12-15 Thread Spencer Graves
On 12/15/22 9:02 AM, Ben Bolker wrote: On 2022-12-15 9:57 a.m., Brian G. Peterson wrote: On 12/15/22 08:34, Ismail Otoakhia wrote: The R package 'ardl.nardl' has some examples that take more than 5 seconds to run. I was advised by the CRAN team to reduce the run time to less than 5 secon