[R-pkg-devel] debugging memory errors

2019-11-06 Thread Marcin Jurek
Hello, I'm trying to submit my package to CRAN and received the following error message: Error(s) in re-building vignettes: --- re-building ‘GPvecchia_vignette.Rmd’ using rmarkdown .../RcppArmadillo/include/armadillo_bits/subview_meat.hpp:1223:54: runtime error: reference binding to null pointer o

Re: [R-pkg-devel] debugging memory errors

2019-11-06 Thread Ivan Krylov
On Wed, 6 Nov 2019 08:43:50 -0600 Marcin Jurek wrote: > I have very little clue what to do, above all because I don't know > how to reproduce the error. Using AddressSanitizer to find memory errors in R packages requires the R installation to be built with AddressSanitizer, too. I found it usef

Re: [R-pkg-devel] debugging memory errors

2019-11-06 Thread Henrik Bengtsson
There's also R Hub by Gábor Csárdi: https://builder.r-hub.io/advanced It provides a win-builder-like service where you can test your package with different R setups, including 'Debian Linux, R-devel, GCC ASAN/UBSAN'. There's also an 'rhub' package that allows you to run all this from the R pro

Re: [R-pkg-devel] debugging memory errors

2019-11-06 Thread Dirk Eddelbuettel
On 6 November 2019 at 08:43, Marcin Jurek wrote: | Hello, I'm trying to submit my package to CRAN and received the following | error message: | | Error(s) in re-building vignettes: | --- re-building ‘GPvecchia_vignette.Rmd’ using rmarkdown | .../RcppArmadillo/include/armadillo_bits/subview_meat.

[R-pkg-devel] two functions with the same name when importing

2019-11-06 Thread Bernd . Gruber
Hi, I have a problem regarding the name of two functions and I know the "correct" way is to use importFrom to make sure only specified functions are imported. But my problem is that my package really depends on another package adegenet as I basically use 90% of the say >100 functions. So when I

Re: [R-pkg-devel] two functions with the same name when importing

2019-11-06 Thread Duncan Murdoch
On 06/11/2019 6:50 p.m., Bernd.Gruber wrote: Hi, I have a problem regarding the name of two functions and I know the "correct" way is to use importFrom to make sure only specified functions are imported. But my problem is that my package really depends on another package adegenet as I basicall