[R-pkg-devel] libc++ and abort function usage

2025-04-04 Thread Reed A. Cartwright
egy that I should try, please let me know. Thanks, Reed [1] https://github.com/reedacartwright/rbedrock [2] https://cran.r-project.org/package=rbedrock [3] https://github.com/llvm/llvm-project/blob/release/12.x/libcxx/include/any#L107-L116 -- Reed A. Cartwright, PhD Associate Professor of Life Scie

Re: [R-pkg-devel] CMake on CRAN Systems

2024-01-17 Thread Reed A. Cartwright
I think this is the same group that advertised an R package template a while back that also clearly didn't follow R-exts rules or use any of the best practices mentioned on this mailing list. https://github.com/stsds/Template-Rcpp On Wed, Jan 17, 2024 at 3:24 PM Simon Urbanek wrote: > > I had a

Re: [R-pkg-devel] Canonical way to Rprintf R_xlen_t

2023-11-28 Thread Reed A. Cartwright
If I have read the R's change log correctly, C99 printf format is now supported on Windows. I think the change was made in the last week. On Tue, Nov 28, 2023, 13:01 Henrik Bengtsson wrote: > "%td" is not supported on all platforms/compilers. This is what I got > when I added it to 'matrixStats

Re: [R-pkg-devel] Canonical way to Rprintf R_xlen_t

2023-11-28 Thread Reed A. Cartwright
If you want to future proof your code, the first or third is the way to go. However, I prefer '%td' for readability. If R ever changes how R_xlen_t is defined, I assume the checks will alert me to the need to change the format string. On Tue, Nov 28, 2023, 12:12 Hugh Parsonage wrote: > Hello, >

Re: [R-pkg-devel] RFC: an interface to manage use of parallelism in packages

2023-10-25 Thread Reed A. Cartwright
Hi Ivan, Interesting package, and I'll provide more feedback later. For a comparison, I'd recommend looking at how GNU make does parallel processing. It uses the concept of job server and job slots. What I like about it is that it is implemented at the OS level because make needs to support intera

Re: [R-pkg-devel] Question about Clang 17 Error

2023-10-11 Thread Reed A. Cartwright
that it's a mismatch of run-times between the > cmake build and the R linking, but from the package alone it's not clear to > me why. > > Cheers, > Simon > > > On Oct 12, 2023, at 3:51 PM, Reed A. Cartwright > wrote: > > Update: I submitted a new version of

Re: [R-pkg-devel] Question about Clang 17 Error

2023-10-11 Thread Reed A. Cartwright
Also the most recent source code tested by CRAN is here: https://github.com/reedacartwright/rbedrock/tree/v0.3.1 On Wed, Oct 11, 2023 at 7:51 PM Reed A. Cartwright wrote: > Update: I submitted a new version of the package, but it did not fix the > issue. The package has now been archived

Re: [R-pkg-devel] Question about Clang 17 Error

2023-10-11 Thread Reed A. Cartwright
I'd appreciate it. On Wed, Sep 27, 2023 at 2:54 PM Reed A. Cartwright wrote: > Is there any way to submit packages directly to the CRAN's clang17 setup? > I can enable verbose output for CMake and compare the output, but I'd > rather not clog up the CRAN incoming queue

Re: [R-pkg-devel] Question about Clang 17 Error

2023-09-27 Thread Reed A. Cartwright
t is quite different from the gannet tests-clang-trunk setup (also > note the different library paths), but that's not something you can do > universally in the package, because it strongly depends on the toolchain > setup. > > Cheers, > Simon > > > > On 28/09/2023, a

Re: [R-pkg-devel] Question about Clang 17 Error

2023-09-27 Thread Reed A. Cartwright
ackage: > > https://urldefense.com/v3/__https://github.com/r-hub/rhub2*readme__;Iw!!IKRxdwAv5BmarQ!a5vkX68B5unua6_Zsh92b99AXfbJiewU7Mp0nqAKE0JDT8v3g2d08JZ8Yq_0ubp0j4GeTWWLjLVAN-FoxPbUQlE$ > > Gabor > > On Wed, Sep 27, 2023 at 8:29 PM Reed A. Cartwright > wrote: > > > &

[R-pkg-devel] Question about Clang 17 Error

2023-09-27 Thread Reed A. Cartwright
ing according to the log. Has anyone seen this before and know where I should start looking to fix it? Thanks. -- Reed A. Cartwright, PhD Associate Professor of Genomics, Evolution, and Bioinformatics School of Life Sciences and The Biodesign Institute Arizona State University ==

Re: [R-pkg-devel] Re-building vignettes had CPU time 9.2 times elapsed time

2023-08-25 Thread Reed A. Cartwright
I've been lurking on this discussion and have a question. What does data.table do to pass CRAN tests? If this is a problem for packages that use data.table, then it certainly is a problem for data.table itself. On Fri, Aug 25, 2023 at 3:46 PM Duncan Murdoch wrote: > On 25/08/2023 6:13 p.m., Tob

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-11 Thread Reed A. Cartwright
Dirk, I'm curious why you chose to call cmake from make instead of from configure. I've always seen cmake as part of the configure step of package building. Thanks, Reed On Thu, May 11, 2023, 04:17 Dirk Eddelbuettel wrote: > > On 11 May 2023 at 09:02, Martin Maechler wrote: > | I've been told

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-10 Thread Reed A. Cartwright
plete example script that includes all the bells and whistles needed to get CMake running with R. On Wed, May 10, 2023 at 1:45 PM Reed A. Cartwright wrote: > I use the following logic in my configure script to detect cmake on the > MacOS builders: > > https://github.com/reedacartwr

Re: [R-pkg-devel] Please install cmake on macOS builders

2023-05-10 Thread Reed A. Cartwright
I use the following logic in my configure script to detect cmake on the MacOS builders: https://github.com/reedacartwright/rbedrock/blob/master/configure#L39-L49 I can't remember which package I borrowed this logic from. But it would be nice if "Writing R Extensions" would expand their cmake sect

[R-pkg-devel] Lists vs Attributes

2021-10-01 Thread Reed A. Cartwright
I'm rethinking the interface of a package, specifically how external binary data is formatted for use in R. I can't decide if it is better to use attributes to store metadata or use a list to hold the main data and metadata as separate elements. Here's is what one datatype currently looks like: L

[R-pkg-devel] Solaris Support

2021-08-23 Thread Reed A. Cartwright
What is the proper way to indicate that a package submitted to CRAN requires the gcc compiler on Solaris? I haven't been able to find any information about how to indicate that in a way that the CRAN builders will pick up on it. -- Reed A. Cartwright, PhD Associate Professor of Gen

[R-pkg-devel] Expired Incoming Package

2021-08-23 Thread Reed A. Cartwright
If my submission is no longer visible using foghorn::cran_incoming(), that means it has expired and I should resubmit, right? -- Reed A. Cartwright, PhD Associate Professor of Genomics, Evolution, and Bioinformatics School of Life Sciences and The Biodesign Institute Arizona State University

Re: [R-pkg-devel] advice on reminders/nags to CRAN maintainers

2021-08-12 Thread Reed A. Cartwright
I'm also waiting several weeks for an update to be approved or sent back to me. In the meantime, the package has been archived by CRAN because the update --- which fixes issues identified by CRAN --- hasn't been approved yet. On Wed, Aug 11, 2021 at 10:44 AM Ben Bolker wrote: > >Wondering a