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 <memory cannot be printed> #0 0x7fcd5ef603d4 in arma::Mat<double>::operator[](unsigned long long) const /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:6436 #1 0x7fcd5ef603d4 in arma::Proxy<arma::Col<double> >::operator[](unsigned long long) const /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Proxy.hpp:230 #2 0x7fcd5ef603d4 in arma::eOp<arma::Col<double>, 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 0x7fcd5ef603d4 in arma::eOp<arma::Col<double>, arma::eop_square>::elem_type arma::accu_proxy_linear<arma::eOp<arma::Col<double>, arma::eop_square> >(arma::Proxy<arma::eOp<arma::Col<double>, arma::eop_square> > const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:94 #4 0x7fcd602e6afc in arma::enable_if2<arma::is_arma_type<arma::eOp<arma::Col<double>, arma::eop_square> >::value, arma::eOp<arma::Col<double>, arma::eop_square>::elem_type>::result arma::accu<arma::eOp<arma::Col<double>, arma::eop_square> >(arma::eOp<arma::Col<double>, arma::eop_square> const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:270 #5 0x7fcd602e6afc in arma::enable_if2<arma::is_arma_type<arma::eOp<arma::Col<double>, arma::eop_square> >::value&&arma::resolves_to_vector<arma::eOp<arma::Col<double>, arma::eop_square> >::yes, arma::eOp<arma::Col<double>, arma::eop_square>::elem_type>::result arma::sum<arma::eOp<arma::Col<double>, arma::eop_square> >(arma::eOp<arma::Col<double>, arma::eop_square> const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_sum.hpp:31 #6 0x7fcd602e6afc in mahaInt(arma::Mat<double>&, arma::Col<double>&, arma::Mat<double>&, bool) /home/hornik/tmp/CRAN_special_gcc-san/Rfast.Rcheck/00_pkg_src/Rfast/src/maha.cpp:80 #7 0x7fcd602f6c20 in Rfast_mahaCpp /home/hornik/tmp/CRAN_special_gcc-san/Rfast.Rcheck/00_pkg_src/Rfast/src/maha_ex.cpp:24 #8 0x7fcd8225e35c in R_doDotCall /home/hornik/src/R/src/main/dotcode.c:763 #9 0x7fcd823ffeb6 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8672 #10 0x7fcd823d8a5f in bcEval /home/hornik/src/R/src/main/eval.c:7505 #11 0x7fcd82384bb2 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #12 0x7fcd8237e862 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #13 0x7fcd8238358a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #14 0x7fcd82385491 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #15 0x7fcd82385491 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #16 0x7fcd823a3936 in do_set /home/hornik/src/R/src/main/eval.c:3571 #17 0x7fcd82385ad3 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #18 0x7fcd8251e81c in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:265 #19 0x7fcd8251e81c in R_ReplConsole /home/hornik/src/R/src/main/main.c:317 #20 0x7fcd8252e053 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1219 #21 0x55a8b730e0c9 in main /home/hornik/src/R/src/main/Rmain.c:29 #22 0x7fcd80833d67 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #23 0x7fcd80833e24 in __libc_start_main_impl ../csu/libc-start.c:360 #24 0x55a8b730e110 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 <memory cannot be printed> #0 0x7fcd5ef6045c in arma::Proxy<arma::Col<double> >::operator[](unsigned long long) const /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/Proxy.hpp:230 #1 0x7fcd5ef6045c in arma::eOp<arma::Col<double>, 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 0x7fcd5ef6045c in arma::eOp<arma::Col<double>, arma::eop_square>::elem_type arma::accu_proxy_linear<arma::eOp<arma::Col<double>, arma::eop_square> >(arma::Proxy<arma::eOp<arma::Col<double>, arma::eop_square> > const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:94 #3 0x7fcd602e6afc in arma::enable_if2<arma::is_arma_type<arma::eOp<arma::Col<double>, arma::eop_square> >::value, arma::eOp<arma::Col<double>, arma::eop_square>::elem_type>::result arma::accu<arma::eOp<arma::Col<double>, arma::eop_square> >(arma::eOp<arma::Col<double>, arma::eop_square> const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:270 #4 0x7fcd602e6afc in arma::enable_if2<arma::is_arma_type<arma::eOp<arma::Col<double>, arma::eop_square> >::value&&arma::resolves_to_vector<arma::eOp<arma::Col<double>, arma::eop_square> >::yes, arma::eOp<arma::Col<double>, arma::eop_square>::elem_type>::result arma::sum<arma::eOp<arma::Col<double>, arma::eop_square> >(arma::eOp<arma::Col<double>, arma::eop_square> const&) /home/hornik/tmp/CRAN_special_gcc-san/Library/RcppArmadillo/include/armadillo_bits/fn_sum.hpp:31 #5 0x7fcd602e6afc in mahaInt(arma::Mat<double>&, arma::Col<double>&, arma::Mat<double>&, bool) /home/hornik/tmp/CRAN_special_gcc-san/Rfast.Rcheck/00_pkg_src/Rfast/src/maha.cpp:80 #6 0x7fcd602f6c20 in Rfast_mahaCpp /home/hornik/tmp/CRAN_special_gcc-san/Rfast.Rcheck/00_pkg_src/Rfast/src/maha_ex.cpp:24 #7 0x7fcd8225e35c in R_doDotCall /home/hornik/src/R/src/main/dotcode.c:763 #8 0x7fcd823ffeb6 in bcEval_loop /home/hornik/src/R/src/main/eval.c:8672 #9 0x7fcd823d8a5f in bcEval /home/hornik/src/R/src/main/eval.c:7505 #10 0x7fcd82384bb2 in Rf_eval /home/hornik/src/R/src/main/eval.c:1167 #11 0x7fcd8237e862 in R_execClosure /home/hornik/src/R/src/main/eval.c:2393 #12 0x7fcd8238358a in applyClosure_core /home/hornik/src/R/src/main/eval.c:2306 #13 0x7fcd82385491 in Rf_applyClosure /home/hornik/src/R/src/main/eval.c:2328 #14 0x7fcd82385491 in Rf_eval /home/hornik/src/R/src/main/eval.c:1280 #15 0x7fcd823a3936 in do_set /home/hornik/src/R/src/main/eval.c:3571 #16 0x7fcd82385ad3 in Rf_eval /home/hornik/src/R/src/main/eval.c:1232 #17 0x7fcd8251e81c in Rf_ReplIteration /home/hornik/src/R/src/main/main.c:265 #18 0x7fcd8251e81c in R_ReplConsole /home/hornik/src/R/src/main/main.c:317 #19 0x7fcd8252e053 in run_Rmainloop /home/hornik/src/R/src/main/main.c:1219 #20 0x55a8b730e0c9 in main /home/hornik/src/R/src/main/Rmain.c:29 #21 0x7fcd80833d67 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #22 0x7fcd80833e24 in __libc_start_main_impl ../csu/libc-start.c:360 #23 0x55a8b730e110 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