Re: [R-pkg-devel] Example files for functions reading binary files

2023-12-03 Thread Ivan Krylov
On Sun, 3 Dec 2023 09:33:30 + Rafael Ayala Hernandez wrote: > The binary files that are read contain just arrays of coefficients > and metadata about these. > > I would like to provide a small file of these to be used in the > examples of the man page for the functions that read them. Files

Re: [R-pkg-devel] Example files for functions reading binary files

2023-12-03 Thread Josiah Parry
Rafael, I believe the issue is that packages cannot include binary *executables.* If you have a binary file (such as a parquet file) in inst/extdata, I do not think that would be a problem. It would be a good idea to ensure that that file is small, though. I think downloading a file is a big no no

Re: [R-pkg-devel] NOTE: Examples with CPU time > 2.5 times elapsed time

2023-12-03 Thread Josiah Parry
In these cases, I unfortunately find the best approach to be to wrap the examples in `if (interactive()) ` to ensure that they will not be ran on CRAN tests machines. It hampers the checks of CRAN but it makes it possible to get usable code to users. On Sun, Dec 3, 2023 at 9:54 AM Artur Araujo wr

[R-pkg-devel] Example files for functions reading binary files

2023-12-03 Thread Rafael Ayala Hernandez
ello, I have added some functions to read binary files in my asteRisk package. The binary files that are read contain just arrays of coefficients and metadata about these. I would like to provide a small file of these to be used in the examples of the man page for the functions that read them.

[R-pkg-devel] NOTE: Examples with CPU time > 2.5 times elapsed time

2023-12-03 Thread Artur Araujo
Dear R package developers, Package TPmsm is not passing the incoming checks. The following messages appear on 00check.log: * using log directory �/srv/hornik/tmp/CRAN/TPmsm.Rcheck� * using R Under development (unstable) (2023-11-29 r85646) * using platform: x86_64-pc-linux-gnu * R was compiled b