[R-pkg-devel] vapply and More Complex FUN.VALUE

2023-09-26 Thread Dario Strbenac
Good day, Is it possible to somehow specify more complex return types, such as a data.frame with specific columns? -- Dario Strbenac University of Sydney Camperdown NSW 2050 Australia __

Re: [R-pkg-devel] [Rd] is.atomic(NULL) will become FALSE

2023-09-26 Thread Martin Maechler
I've sent a longish post to the R-devel mailing list with this topic here: https://stat.ethz.ch/pipermail/r-devel/2023-September/082892.html In the mean time, the plan is to effectuate the change in R-devel (the in-development version of R) on Sep.28, ~ 9:30 CEST ( =UTC+2) Martin

Re: [R-pkg-devel] Discrepancy between R CMD check results and usethis::use_cran_comments

2023-09-26 Thread Hadley Wickham
On Tue, Sep 26, 2023 at 2:01 AM Leonard Mada via R-package-devel wrote: > > Dear List-Members, > > There are no errors/warnings/notes when I run the check: > > ── R CMD check results > Rpdb 2.3.3 > Duration: 2m 50.1s > > 0 errors ✔ | 0

Re: [R-pkg-devel] 2 Return values for 2 Functions

2023-09-26 Thread Enrico Schumann
On Tue, 26 Sep 2023, Leonard Mada via R-package-devel writes: > Dear Members, > > > How should the return values be documented, when the > help page covers 2 related functions: > > > 1.) Variant 1: fails the checks > > \value{ > \code{cryst1} returns a list of class \sQuote{cryst1} with the >

[R-pkg-devel] 2 Return values for 2 Functions

2023-09-26 Thread Leonard Mada via R-package-devel
Dear Members, How should the return values be documented, when the help page covers 2 related functions: 1.) Variant 1: fails the checks \value{ \code{cryst1} returns a list of class \sQuote{cryst1} with the following components: \describe{ \item{abc}{a numeric vector of length 3

Re: [R-pkg-devel] [EXTERNAL] Re: Warning: a function declaration without a prototype is deprecated in all versions of C

2023-09-26 Thread Serguei Sokol
Le 26/09/2023 à 10:50, Iñaki Ucar a écrit : On Tue, 26 Sept 2023 at 10:29, Sameh Abdulah wrote: Thanks for replying! The main problem that this warning from a C library that I am relying on, I have no control to fix the warning there. So, I am still getting this warning from R, when

Re: [R-pkg-devel] [EXTERNAL] Re: Warning: a function declaration without a prototype is deprecated in all versions of C

2023-09-26 Thread Iñaki Ucar
On Tue, 26 Sept 2023 at 10:29, Sameh Abdulah wrote: > > Thanks for replying! > > The main problem that this warning from a C library that I am relying on, I > have no control to fix the warning there. So, I am still getting this warning > from R, when building my package. We don't have a way

Re: [R-pkg-devel] [EXTERNAL] Re: Warning: a function declaration without a prototype is deprecated in all versions of C

2023-09-26 Thread Sameh Abdulah
Thanks for replying! The main problem that this warning from a C library that I am relying on, I have no control to fix the warning there. So, I am still getting this warning from R, when building my package. Best, --Sameh From: R-package-devel on behalf of Jeff Newmiller via

Re: [R-pkg-devel] Warning: a function declaration without a prototype is deprecated in all versions of C

2023-09-26 Thread Jeff Newmiller via R-package-devel
This error arises because you are not declaring the function properly before you call it... likely because you have not included the appropriate header file or because you have typoed the function call. If you provide a link to your package someone may point you more precisely to your error,

Re: [R-pkg-devel] R_orderVector1 - algo: radix, shell, or another?

2023-09-26 Thread Jan Gorecki
Thank you Ivan for all detail. I was looking for particular algo for benchmarking purpose. On Mon, Sep 25, 2023 at 9:26 AM Ivan Krylov wrote: > В Sun, 24 Sep 2023 10:38:41 +0200 > Jan Gorecki пишет: > > > >

[R-pkg-devel] Warning: a function declaration without a prototype is deprecated in all versions of C

2023-09-26 Thread Sameh Abdulah
Dear Colleagues, I've encountered a warning in my package that states: 'warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes].' This warning originates from one of the libraries I depend on, specifically OpenBLAS. So, I have no control

Re: [R-pkg-devel] Discrepancy between R CMD check results and usethis::use_cran_comments

2023-09-26 Thread Ivan Krylov
В Tue, 26 Sep 2023 10:01:21 +0300 Leonard Mada via R-package-devel пишет: > ── R CMD check results Is it R CMD check or R CMD check --as-cran? You will most likely get a NOTE when checking a package with --as-cran that had been archived on CRAN. > By the way: what is the purpose of this

[R-pkg-devel] Discrepancy between R CMD check results and usethis::use_cran_comments

2023-09-26 Thread Leonard Mada via R-package-devel
Dear List-Members, There are no errors/warnings/notes when I run the check: ── R CMD check results Rpdb 2.3.3 Duration: 2m 50.1s 0 errors ✔ | 0 warnings ✔ | 0 notes ✔ However, there is a discrepancy when I run: