Package check result: ERROR Check: examples, Result: ERROR Running examples in ‘Rfast-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: MLE of (hyper-)spherical distributions > ### Title: MLE of (hyper-)spherical distributions > ### Aliases: vmf.mle multivmf.mle acg.mle iag.mle > ### Keywords: von Mises-Fisher distribution central angular Gaussian > ### distribution maximum likelihood estimation projected normal > ### distribution directional data spherical data > > ### ** Examples > > m <- c(0, 0, 0, 0) > s <- cov(iris[, 1:4]) > x <- racg(100, s) > mod <- acg.mle(x) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:6436:13: runtime error: reference binding to misaligned address 0xbfdfe4700a7ce92f for type 'const double', which requires 8 byte alignment 0xbfdfe4700a7ce92f: note: pointer points here #0 0x7ff9ced60334 in arma::Mat::operator[](unsigned long long) const /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:6436 #1 0x7ff9ced60334 in arma::Proxy >::operator[](unsigned long long) const /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Proxy.hpp:230 #2 0x7ff9ced60334 in arma::eOp, arma::eop_square>::operator[](unsigned long long) const /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/eOp_meat.hpp:127 #3 0x7ff9ced60334 in arma::eOp, arma::eop_square>::elem_type arma::accu_proxy_linear, arma::eop_square> >(arma::Proxy, arma::eop_square> > const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:94 #4 0x7ff9d00e6bfc in arma::enable_if2, arma::eop_square> >::value, arma::eOp, arma::eop_square>::elem_type>::result arma::accu, arma::eop_square> >(arma::eOp, arma::eop_square> const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:270 #5 0x7ff9d00e6bfc in arma::enable_if2, arma::eop_square> >::value&&arma::resolves_to_vector, arma::eop_square> >::yes, arma::eOp, arma::eop_square>::elem_type>::result arma::sum, arma::eop_square> >(arma::eOp, arma::eop_square> const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_sum.hpp:31 #6 0x7ff9d00e6bfc in mahaInt(arma::Mat&, arma::Col&, arma::Mat&, bool) /home/hornik/tmp/CRAN_special_gcc-san/Rfast.Rcheck/00_pkg_src/Rfast/src/maha.cpp:80 #7 0x7ff9d00f6d20 in Rfast_mahaCpp /home/hornik/tmp/CRAN_special_gcc-san/Rfast.Rcheck/00_pkg_src/Rfast/src/maha_ex.cpp:24 #8 0x7ff9f205e35c in R_doDotCall /home/hornik/src/R/src/main/dotcode.c:763 #9 0x7ff9f21ffeb6 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8672 #10 0x7ff9f21d8a5f in bcEval /home/hornik/src/R/src/main/eval.c:7505 #11 0x7ff9f2184bb2 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #12 0x7ff9f217e862 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #13 0x7ff9f218358a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #14 0x7ff9f2185491 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #15 0x7ff9f2185491 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #16 0x7ff9f21a3936 in do_set /home/hornik/src/R/src/main/eval.c:3571 #17 0x7ff9f2185ad3 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #18 0x7ff9f231e81c in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:265 #19 0x7ff9f231e81c in R_ReplConsole /home/hornik/src/R/src/main/main.c:317 #20 0x7ff9f232e053 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1219 #21 0x55d7e2dba0c9 in main /home/hornik/src/R/src/main/Rmain.c:29 #22 0x7ff9f0633d67 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #23 0x7ff9f0633e24 in __libc_start_main_impl ../csu/libc-start.c:360 #24 0x55d7e2dba110 in _start (/home/hornik/tmp/R-d-gcc-xtra/bin/exec/R+0x1110) (BuildId: c7fe195d896200455f7f0ce073f110b1c5100f12) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Proxy.hpp:230:83: runtime error: load of misaligned address 0xbfdfe4700a7ce92f for type 'const double', which requires 8 byte alignment 0xbfdfe4700a7ce92f: note: pointer points here #0 0x7ff9ced603bc in arma::Proxy >::operator[](unsigned long long) const /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Proxy.hpp:230 #1 0x7ff9ced603bc in arma::eOp, arma::eop_square>::operator[](unsigned long long) const /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/eOp_meat.hpp:127 #2 0x7ff9ced603bc in arma::eOp, arma::eop_square>::elem_type arma::accu_proxy_linear, arma::eop_square> >(arma::Proxy, arma::eop_square> > const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:94 #3 0x7ff9d00e6bfc in arma::enable_if2, arma::eop_square> >::value, arma::eOp, arma::eop_square>::elem_type>::result arma::accu, arma::eop_square> >(arma::eOp, arma::eop_square> const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:270 #4 0x7ff9d00e6bfc in arma::enable_if2, arma::eop_square> >::value&&arma::resolves_to_vector, arma::eop_square> >::yes, arma::eOp, arma::eop_square>::elem_type>::result arma::sum, arma::eop_square> >(arma::eOp, arma::eop_square> const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_sum.hpp:31 #5 0x7ff9d00e6bfc in mahaInt(arma::Mat&, arma::Col&, arma::Mat&, bool) /home/hornik/tmp/CRAN_special_gcc-san/Rfast.Rcheck/00_pkg_src/Rfast/src/maha.cpp:80 #6 0x7ff9d00f6d20 in Rfast_mahaCpp /home/hornik/tmp/CRAN_special_gcc-san/Rfast.Rcheck/00_pkg_src/Rfast/src/maha_ex.cpp:24 #7 0x7ff9f205e35c in R_doDotCall /home/hornik/src/R/src/main/dotcode.c:763 #8 0x7ff9f21ffeb6 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8672 #9 0x7ff9f21d8a5f in bcEval /home/hornik/src/R/src/main/eval.c:7505 #10 0x7ff9f2184bb2 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #11 0x7ff9f217e862 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #12 0x7ff9f218358a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #13 0x7ff9f2185491 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #14 0x7ff9f2185491 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #15 0x7ff9f21a3936 in do_set /home/hornik/src/R/src/main/eval.c:3571 #16 0x7ff9f2185ad3 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #17 0x7ff9f231e81c in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:265 #18 0x7ff9f231e81c in R_ReplConsole /home/hornik/src/R/src/main/main.c:317 #19 0x7ff9f232e053 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1219 #20 0x55d7e2dba0c9 in main /home/hornik/src/R/src/main/Rmain.c:29 #21 0x7ff9f0633d67 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #22 0x7ff9f0633e24 in __libc_start_main_impl ../csu/libc-start.c:360 #23 0x55d7e2dba110 in _start (/home/hornik/tmp/R-d-gcc-xtra/bin/exec/R+0x1110) (BuildId: c7fe195d896200455f7f0ce073f110b1c5100f12) *** caught segfault *** address (nil), cause 'unknown' Traceback: 1: Rfast::mahala(x, mu, lam1) 2: acg.mle(x) An irrecoverable exception occurred. R is aborting now ... Segmentation fault Post-processing issues found: File: Rfast-Ex.Rout /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:6436:13: runtime error: reference binding to misaligned address 0xbfdfe4700a7ce92f for type 'const double', which requires 8 byte alignment /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Proxy.hpp:230:83: runtime error: load of misaligned address 0xbfdfe4700a7ce92f for type 'const double', which requires 8 byte alignment File: 00check.log /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:6436:13: runtime error: reference binding to misaligned address 0xbfdfe4700a7ce92f for type 'const double', which requires 8 byte alignment /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Proxy.hpp:230:83: runtime error: load of misaligned address 0xbfdfe4700a7ce92f for type 'const double', which requires 8 byte alignment