Running 'testthat.R' [177s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(compboost)
  > 
  > test_check("compboost")
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1274): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1487): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x172e): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1876): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1970): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1a58): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb]+0x5cb): undefined reference to `dgbsvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x355): undefined reference to `dposvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x3a7): undefined reference to `dgesvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x189): undefined reference to `dlange_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x1b9): undefined reference to `dgetrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x268): undefined reference to `dgetrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x352): undefined reference to `dgecon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE]+0x21f): undefined reference to `dgtsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x29e): undefined reference to `dlangb_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x2df): undefined reference to `dgbtrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x571): undefined reference to `dgbtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x6ac): undefined reference to `dgbcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj[_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj]+0x11c): undefined reference to `dtrcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_[_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_]+0xc1): undefined reference to `dpocon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x15f): undefined reference to `dlansy_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x187): undefined reference to `dpotrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x215): undefined reference to `dpotrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x3dc): undefined reference to `ilaenv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x51d): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x6d2): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE]+0xfc): undefined reference to `dgesv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x409): undefined reference to `dgels_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1098): undefined reference to `dgbsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x14be): undefined reference to `dtrtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1741): undefined reference to `dtrtrs_'
  collect2.exe: error: ld returned 1 exit status
  -- 1. Error: custom cpp base-learner works through api (@test_api.R#206)  ------
  Error occurred building shared library.
  Backtrace:
   1. testthat::expect_silent(...)
   9. Rcpp::sourceCpp(code = getCustomCppExample(silent = TRUE))
  
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1274): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1487): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x172e): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1876): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1970): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1a58): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb]+0x5cb): undefined reference to `dgbsvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x355): undefined reference to `dposvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x3a7): undefined reference to `dgesvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x189): undefined reference to `dlange_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x1b9): undefined reference to `dgetrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x268): undefined reference to `dgetrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x352): undefined reference to `dgecon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE]+0x21f): undefined reference to `dgtsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x29e): undefined reference to `dlangb_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x2df): undefined reference to `dgbtrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x571): undefined reference to `dgbtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x6ac): undefined reference to `dgbcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj[_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj]+0x11c): undefined reference to `dtrcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_[_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_]+0xc1): undefined reference to `dpocon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x15f): undefined reference to `dlansy_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x187): undefined reference to `dpotrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x215): undefined reference to `dpotrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x3dc): undefined reference to `ilaenv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x51d): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x6d2): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE]+0xfc): undefined reference to `dgesv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x409): undefined reference to `dgels_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1098): undefined reference to `dgbsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x14be): undefined reference to `dtrtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1741): undefined reference to `dtrtrs_'
  collect2.exe: error: ld returned 1 exit status
  -- 2. Error: custom loss works through api (@test_api.R#234)  ------------------
  Error occurred building shared library.
  Backtrace:
   1. testthat::expect_silent(...)
   9. Rcpp::sourceCpp(code = getCustomCppExample(silent = TRUE))
  
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1274): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1487): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x172e): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1876): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1970): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1a58): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb]+0x5cb): undefined reference to `dgbsvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x355): undefined reference to `dposvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x3a7): undefined reference to `dgesvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x189): undefined reference to `dlange_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x1b9): undefined reference to `dgetrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x268): undefined reference to `dgetrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x352): undefined reference to `dgecon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE]+0x21f): undefined reference to `dgtsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x29e): undefined reference to `dlangb_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x2df): undefined reference to `dgbtrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x571): undefined reference to `dgbtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x6ac): undefined reference to `dgbcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj[_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj]+0x11c): undefined reference to `dtrcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_[_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_]+0xc1): undefined reference to `dpocon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x15f): undefined reference to `dlansy_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x187): undefined reference to `dpotrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x215): undefined reference to `dpotrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x3dc): undefined reference to `ilaenv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x51d): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x6d2): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE]+0xfc): undefined reference to `dgesv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x409): undefined reference to `dgels_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1098): undefined reference to `dgbsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x14be): undefined reference to `dtrtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1741): undefined reference to `dtrtrs_'
  collect2.exe: error: ld returned 1 exit status
  -- 3. Error: custom cpp loss works through api (@test_api.R#271)  --------------
  Error occurred building shared library.
  Backtrace:
   1. testthat::expect_silent(...)
   9. Rcpp::sourceCpp(code = getCustomCppExample(silent = TRUE))
  
     1/1000: risk = 55
     5/1000: risk = 55
    10/1000: risk = 55
    15/1000: risk = 55
    20/1000: risk = 55
    25/1000: risk = 55
    30/1000: risk = 55
    35/1000: risk = 55
    40/1000: risk = 55
    45/1000: risk = 55
    50/1000: risk = 55
    55/1000: risk = 55
    60/1000: risk = 55
    65/1000: risk = 55
    70/1000: risk = 55
    75/1000: risk = 55
    80/1000: risk = 55
    85/1000: risk = 55
    90/1000: risk = 55
    95/1000: risk = 55
   100/1000: risk = 55
   105/1000: risk = 55
   110/1000: risk = 55
   115/1000: risk = 55
   120/1000: risk = 55
   125/1000: risk = 55
   130/1000: risk = 55
   135/1000: risk = 55
   140/1000: risk = 55
   145/1000: risk = 55
   150/1000: risk = 55
   155/1000: risk = 55
   160/1000: risk = 55
   165/1000: risk = 55
   170/1000: risk = 55
   175/1000: risk = 55
   180/1000: risk = 55
   185/1000: risk = 55
   190/1000: risk = 55
   195/1000: risk = 55
   200/1000: risk = 55
   205/1000: risk = 55
   210/1000: risk = 55
   215/1000: risk = 55
   220/1000: risk = 55
   225/1000: risk = 55
   230/1000: risk = 55
   235/1000: risk = 55
   240/1000: risk = 55
   245/1000: risk = 55
   250/1000: risk = 55
   255/1000: risk = 55
   260/1000: risk = 55
   265/1000: risk = 55
   270/1000: risk = 55
   275/1000: risk = 55
   280/1000: risk = 55
   285/1000: risk = 55
   290/1000: risk = 55
   295/1000: risk = 55
   300/1000: risk = 55
   305/1000: risk = 55
   310/1000: risk = 55
   315/1000: risk = 55
   320/1000: risk = 55
   325/1000: risk = 55
   330/1000: risk = 55
   335/1000: risk = 55
   340/1000: risk = 55
   345/1000: risk = 55
   350/1000: risk = 55
   355/1000: risk = 55
   360/1000: risk = 55
   365/1000: risk = 55
   370/1000: risk = 55
   375/1000: risk = 55
   380/1000: risk = 55
   385/1000: risk = 55
   390/1000: risk = 55
   395/1000: risk = 55
   400/1000: risk = 55
   405/1000: risk = 55
   410/1000: risk = 55
   415/1000: risk = 55
   420/1000: risk = 55
   425/1000: risk = 55
   430/1000: risk = 55
   435/1000: risk = 55
   440/1000: risk = 55
   445/1000: risk = 55
   450/1000: risk = 55
   455/1000: risk = 55
   460/1000: risk = 55
   465/1000: risk = 55
   470/1000: risk = 55
   475/1000: risk = 55
   480/1000: risk = 55
   485/1000: risk = 55
   490/1000: risk = 55
   495/1000: risk = 55
   500/1000: risk = 55
   505/1000: risk = 55
   510/1000: risk = 55
   515/1000: risk = 55
   520/1000: risk = 55
   525/1000: risk = 55
   530/1000: risk = 55
   535/1000: risk = 55
   540/1000: risk = 55
   545/1000: risk = 54
   550/1000: risk = 54
   555/1000: risk = 54
   560/1000: risk = 54
   565/1000: risk = 54
   570/1000: risk = 54
   575/1000: risk = 54
   580/1000: risk = 54
   585/1000: risk = 54
   590/1000: risk = 54
   595/1000: risk = 54
   600/1000: risk = 54
   605/1000: risk = 54
   610/1000: risk = 54
   615/1000: risk = 54
   620/1000: risk = 54
   625/1000: risk = 54
   630/1000: risk = 54
   635/1000: risk = 54
   640/1000: risk = 54
   645/1000: risk = 54
   650/1000: risk = 54
   655/1000: risk = 54
   660/1000: risk = 54
   665/1000: risk = 54
   670/1000: risk = 54
   675/1000: risk = 54
   680/1000: risk = 54
   685/1000: risk = 54
   690/1000: risk = 54
   695/1000: risk = 54
   700/1000: risk = 54
   705/1000: risk = 54
   710/1000: risk = 54
   715/1000: risk = 54
   720/1000: risk = 54
   725/1000: risk = 54
   730/1000: risk = 54
   735/1000: risk = 54
   740/1000: risk = 54
   745/1000: risk = 54
   750/1000: risk = 54
   755/1000: risk = 54
   760/1000: risk = 54
   765/1000: risk = 54
   770/1000: risk = 54
   775/1000: risk = 54
   780/1000: risk = 54
   785/1000: risk = 54
   790/1000: risk = 54
   795/1000: risk = 54
   800/1000: risk = 54
   805/1000: risk = 54
   810/1000: risk = 54
   815/1000: risk = 54
   820/1000: risk = 54
   825/1000: risk = 54
   830/1000: risk = 54
   835/1000: risk = 54
   840/1000: risk = 54
   845/1000: risk = 54
   850/1000: risk = 54
   855/1000: risk = 54
   860/1000: risk = 54
   865/1000: risk = 54
   870/1000: risk = 54
   875/1000: risk = 54
   880/1000: risk = 54
   885/1000: risk = 54
   890/1000: risk = 54
   895/1000: risk = 54
   900/1000: risk = 54
   905/1000: risk = 54
   910/1000: risk = 54
   915/1000: risk = 54
   920/1000: risk = 54
   925/1000: risk = 54
   930/1000: risk = 54
   935/1000: risk = 54
   940/1000: risk = 54
   945/1000: risk = 54
   950/1000: risk = 54
   955/1000: risk = 54
   960/1000: risk = 54
   965/1000: risk = 54
   970/1000: risk = 54
   975/1000: risk = 54
   980/1000: risk = 54
   985/1000: risk = 54
   990/1000: risk = 54
   995/1000: risk = 54
  1000/1000: risk = 54
  
  
  Train 1000 iterations in 0 Seconds.
  Final risk based on the train set: 54
  
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1274): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1487): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x172e): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1876): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1970): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1a58): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb]+0x5cb): undefined reference to `dgbsvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x355): undefined reference to `dposvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x3a7): undefined reference to `dgesvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x189): undefined reference to `dlange_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x1b9): undefined reference to `dgetrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x268): undefined reference to `dgetrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x352): undefined reference to `dgecon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE]+0x21f): undefined reference to `dgtsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x29e): undefined reference to `dlangb_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x2df): undefined reference to `dgbtrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x571): undefined reference to `dgbtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x6ac): undefined reference to `dgbcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj[_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj]+0x11c): undefined reference to `dtrcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_[_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_]+0xc1): undefined reference to `dpocon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x15f): undefined reference to `dlansy_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x187): undefined reference to `dpotrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x215): undefined reference to `dpotrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x3dc): undefined reference to `ilaenv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x51d): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x6d2): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE]+0xfc): undefined reference to `dgesv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x409): undefined reference to `dgels_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1098): undefined reference to `dgbsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x14be): undefined reference to `dtrtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1741): undefined reference to `dtrtrs_'
  collect2.exe: error: ld returned 1 exit status
  -- 4. Error: handler throws warnings (@test_api.R#476)  ------------------------
  Error occurred building shared library.
  Backtrace:
   1. testthat::expect_silent(...)
   9. Rcpp::sourceCpp(code = getCustomCppExample(silent = TRUE))
  
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1274): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1487): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x172e): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1876): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1970): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1a58): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb]+0x5cb): undefined reference to `dgbsvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x355): undefined reference to `dposvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x3a7): undefined reference to `dgesvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x189): undefined reference to `dlange_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x1b9): undefined reference to `dgetrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x268): undefined reference to `dgetrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x352): undefined reference to `dgecon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE]+0x21f): undefined reference to `dgtsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x29e): undefined reference to `dlangb_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x2df): undefined reference to `dgbtrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x571): undefined reference to `dgbtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x6ac): undefined reference to `dgbcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj[_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj]+0x11c): undefined reference to `dtrcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_[_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_]+0xc1): undefined reference to `dpocon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x15f): undefined reference to `dlansy_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x187): undefined reference to `dpotrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x215): undefined reference to `dpotrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x3dc): undefined reference to `ilaenv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x51d): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x6d2): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE]+0xfc): undefined reference to `dgesv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x409): undefined reference to `dgels_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1098): undefined reference to `dgbsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x14be): undefined reference to `dtrtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1741): undefined reference to `dtrtrs_'
  collect2.exe: error: ld returned 1 exit status
  -- 5. Error: Base-learner example works (@test_cpp_examples.R#9)  --------------
  Error occurred building shared library.
  Backtrace:
   1. testthat::expect_silent(...)
   9. Rcpp::sourceCpp(...)
  
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1274): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1487): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x172e): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1876): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1970): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1a58): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb]+0x5cb): undefined reference to `dgbsvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x355): undefined reference to `dposvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x3a7): undefined reference to `dgesvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x189): undefined reference to `dlange_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x1b9): undefined reference to `dgetrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x268): undefined reference to `dgetrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x352): undefined reference to `dgecon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE]+0x21f): undefined reference to `dgtsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x29e): undefined reference to `dlangb_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x2df): undefined reference to `dgbtrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x571): undefined reference to `dgbtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x6ac): undefined reference to `dgbcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj[_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj]+0x11c): undefined reference to `dtrcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_[_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_]+0xc1): undefined reference to `dpocon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x15f): undefined reference to `dlansy_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x187): undefined reference to `dpotrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x215): undefined reference to `dpotrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x3dc): undefined reference to `ilaenv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x51d): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x6d2): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE]+0xfc): undefined reference to `dgesv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x409): undefined reference to `dgels_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1098): undefined reference to `dgbsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x14be): undefined reference to `dtrtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1741): undefined reference to `dtrtrs_'
  collect2.exe: error: ld returned 1 exit status
  -- 6. Error: custom cpp factory works (@test_factory.R#77)  --------------------
  Error occurred building shared library.
  Backtrace:
    1. testthat::expect_output(Rcpp::sourceCpp(code = getCustomCppExample()))
   10. Rcpp::sourceCpp(code = getCustomCppExample())
  
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1274): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1487): undefined reference to `dgemm_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x172e): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1876): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1970): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text+0x1a58): undefined reference to `dgemv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib17solve_band_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_jjRKNS_4BaseIS5_S4_EEbb]+0x5cb): undefined reference to `dgbsvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib18solve_sympd_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x355): undefined reference to `dposvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb[_ZN4arma6auxlib19solve_square_refineINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEbb]+0x3a7): undefined reference to `dgesvx_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x189): undefined reference to `dlange_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x1b9): undefined reference to `dgetrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x268): undefined reference to `dgetrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib18solve_square_rcondINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeES7_RKNS_4BaseIS5_S4_EEb]+0x352): undefined reference to `dgecon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib25solve_tridiag_fast_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERKS6_RKNS_4BaseIS5_S4_EE]+0x21f): undefined reference to `dgtsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x29e): undefined reference to `dlangb_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x2df): undefined reference to `dgbtrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x571): undefined reference to `dgbtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib23solve_band_rcond_commonINS_3MatIdEEEEbRNS2_INT_9elem_typeEEERNS4_8pod_typeERKS6_jjRKNS_4BaseIS5_S4_EEb]+0x6ac): undefined reference to `dgbcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj[_ZN4arma6auxlib12rcond_trimatIdEET_RKNS_3MatIS2_EEj]+0x11c): undefined reference to `dtrcon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_[_ZN4arma6auxlib14lu_rcond_sympdIdEET_RKNS_3MatIS2_EES2_]+0xc1): undefined reference to `dpocon_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x15f): undefined reference to `dlansy_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x187): undefined reference to `dpotrf_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb[_ZN4arma6auxlib17solve_sympd_rcondINS_3MatIdEEEEbRNS2_INT_8pod_typeEEERS5_S7_RKNS_4BaseIS5_S4_EEb]+0x215): undefined reference to `dpotrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x3dc): undefined reference to `ilaenv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x51d): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatIdEEEEbRNS2_INT_8pod_typeEEES7_RKNS_4BaseIS5_S4_EE]+0x6d2): undefined reference to `dgelsd_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE[_ZN4arma6auxlib17solve_square_fastINS_3MatIdEEEEbRNS2_INT_9elem_typeEEES7_RKNS_4BaseIS5_S4_EE]+0xfc): undefined reference to `dgesv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x409): undefined reference to `dgels_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1098): undefined reference to `dgbsv_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x14be): undefined reference to `dtrtrs_'
  file107a42d8d4b01.o:file107a42d8d4b01.cpp:(.text$_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj[_ZN4arma14glue_solve_gen5applyIdNS_3MatIdEES3_EEbRNS2_IT_EERKNS_4BaseIS4_T0_EERKNS7_IS4_T1_EEj]+0x1741): undefined reference to `dtrtrs_'
  collect2.exe: error: ld returned 1 exit status
  -- 7. Error: Baselearner factory printer works (@test_printer.R#104)  ----------
  Error occurred building shared library.
  Backtrace:
    1. testthat::expect_output(Rcpp::sourceCpp(code = getCustomCppExample()))
   10. Rcpp::sourceCpp(code = getCustomCppExample())
  
  == testthat results  ===========================================================
  [ OK: 419 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: custom cpp base-learner works through api (@test_api.R#206) 
  2. Error: custom loss works through api (@test_api.R#234) 
  3. Error: custom cpp loss works through api (@test_api.R#271) 
  4. Error: handler throws warnings (@test_api.R#476) 
  5. Error: Base-learner example works (@test_cpp_examples.R#9) 
  6. Error: custom cpp factory works (@test_factory.R#77) 
  7. Error: Baselearner factory printer works (@test_printer.R#104) 
  
  Error: testthat unit tests failed
  Execution halted