Re: [R-pkg-devel] Tracking down cause of UBSAN error

2020-10-15 Thread James Lamb
To add to Dirk's summary of the available options, you might find it useful to borrow from the setup that we use to replicate CRAN's UBSAN checks on GitHub Actions for {lightgbm}.

Re: [R-pkg-devel] Tracking down cause of UBSAN error

2020-10-15 Thread Dirk Eddelbuettel
Hugh, The different SAN/ASAB/UBSAN/... analysers depend critically on _exactly how_ the instrumentation is setup. That make the whole setup analysis a little brittle, and it is a real shame that neither CRAN nor some of the entities supposedly here in order to support R users and developers

[R-pkg-devel] Tracking down cause of UBSAN error

2020-10-15 Thread Hugh Parsonage
Hello, I am getting a UBSAN-clang failure on my package hutilscpp (). However I cannot reproduce the error on rhub, nor can I see an obvious problem with the code. (Though obviously there is something wrong.) The testthat.Rout log from CRAN reads

Re: [R-pkg-devel] C++ library USING_R

2020-10-15 Thread Dirk Eddelbuettel
On 15 October 2020 at 10:36, Joseph Park wrote: | Apologies for the mis-directed reply, and, imprecise syntax/context re | environment variable. | | Just to close the loop, it seems that using a -D macro assignment inside | the make command (macro?) is interpreted as a make option: (I think

Re: [R-pkg-devel] C++ library USING_R

2020-10-15 Thread Joseph Park
Apologies for the mis-directed reply, and, imprecise syntax/context re environment variable. Just to close the loop, it seems that using a -D macro assignment inside the make command (macro?) is interpreted as a make option: $(LIBEDM):     @(cd $(CPPEDM_SRC_PATH) && $(MAKE) clean && $(MAKE) \