[R-pkg-devel] New package with C++ code causes R abort in RStudio, not in R console.
Ivan Krylov
|kry|ov @end|ng |rom d|@root@org
Tue Nov 12 19:44:03 CET 2024
В Tue, 12 Nov 2024 14:06:53 +0000
Luc De Wilde <Luc.DeWilde using UGent.be> пишет:
> The package with C++ code is in https://github.com/lucdw/lavaanC.
>
> When testing with a bunch of models, there is one model that causes
> an abort of the R session in RStudio (on Windows), but in the R
> console or in a batch job it causes no errors.
This is a low-confidence guess, but there's a stray src/lavaanC.dll in
the repository. If you install the package straight from the source
directory, you may pick up the *.dll without recompiling it, which may
be incompatible with the version of R running inside RStudio.
If this does reproduce on a clean installation, the most informative
way forward would be to attach a debugger to the RStudio's R process
before it crashes.
--
Best regards,
Ivan
More information about the R-package-devel
mailing list