If you are a developer and using the load_all() function from devtools or pkgload to load patRoon, it is highly recommended to disable debug compilation flags as this considerably degrades performance:
# disable debug flags via package optionsoptions(pkg.build_extra_flags =FALSE)# disable debug flags via environment variable, may be more reliable with e.g. testthatSys.setenv(PKG_BUILD_EXTRA_FLAGS ="false")