Re: [R-pkg-devel] How do you Rd reference parallel::mclapply() so it works also on Windows?

2020-07-08 Thread Henrik Bengtsson
On Wed, Jul 8, 2020 at 12:11 AM Martin Maechler wrote: ... > Indeed, another example, why we should move away from the > 'file' instead of 'topic' (<-> \alias{.}) paradigm and requirement. > > I'm optimistic we will do that soonish ... On Wed, Jul 8, 2020 at 1:17 AM Kurt Hornik wrote: ... > But

Re: [R-pkg-devel] Valgrind warning on saveRDS, about object in external pointer

2020-07-08 Thread David Cortes
Thanks for answering. I’m not able to reproduce the warning when trying R CMD check with valgrind on my computer (tried compiling with gcc9 and clang9), nor with the r-debug docker images from github ( https://github.com/wch/r-debug). However, from what I was told when trying to upload a new versi

Re: [R-pkg-devel] Valgrind warning on saveRDS, about object in external pointer

2020-07-08 Thread Ivan Krylov
On Wed, 08 Jul 2020 19:23:41 +0300 David Cortes wrote: >- The warning is about an un-initialized value allocated in a call to >C++ std::vector::reserve, which is called on a C++ vector member of the >struct in the external pointer. I'm ready to admit that I didn't read the code well enough, but

[R-pkg-devel] Valgrind warning on saveRDS, about object in external pointer

2020-07-08 Thread David Cortes
Hello, I am currently getting a valgrind warning in a package that I’ve developed, which occurs on a call to R’s ‘saveRDS’, and I am having a very hard time trying to figure out what went wrong: https://www.stats.ox.ac.uk/pub/bdr/memtests/valgrind/isotree/isotree-Ex.Rout In more detail: - The pac

Re: [R-pkg-devel] package installation and linking with JAGS

2020-07-08 Thread Ivan Krylov
On Wed, 8 Jul 2020 11:06:31 +0200 Frantisek Bartos wrote: >Check: for GNU extensions in Makefiles, Result: WARNING This warning is easy to deal with: >JAGS_ROOT ?= c:/progra~1/JAGS/JAGS-4.3.0 Use plain "=" macro definitions, since others aren't considered portable enough. >SOURCES= $(wildcard

[R-pkg-devel] package installation and linking with JAGS

2020-07-08 Thread Frantisek Bartos
Hello, we have written an R package that uses JAGS and requires a JAGS module that's distributed with the package. We had a lot of problems making the installation work across platforms and we adapted the way it's done in 'runjags' (it also contains a JAGS module). However, we are having two probl

Re: [R-pkg-devel] How to refer to COPYRIGHTS and AUTHORS extra files in DESCRIPTION

2020-07-08 Thread git demont
Thank you Ahmadou, Robert and Gábor, In package 'presser' Gábor used no dedicated AUTHORS file but use 'comment' and 'role' tag of Authors@R to mention their contribution and refer to further comments in file (e.g. inst/credits/redoc.md, src/md5.h) Robert, also described a strategy using Author

Re: [R-pkg-devel] How do you Rd reference parallel::mclapply() so it works also on Windows?

2020-07-08 Thread Martin Maechler
> Henrik Bengtsson > on Tue, 7 Jul 2020 18:11:00 -0700 writes: > Here's another "Non-file package-anchored link(s) ..." > issue. I'd like to reference parallel::mclapply() in my > help pages. With the new R-devel requirements, you have > to link to the file and not t