Каждый раз, когда я использую RcppEigen или RcppNumeric, я получаю очень длинное предупреждающее сообщение в консоли.
/home/Haache/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:83: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
/home/Haache/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:83: warning: ignoring attributes on template argument ‘Eigen::internal::unpacket_traits<__vector(2) double>::half {aka __vector(2) double}’ [-Wignored-attributes]
/home/Haache/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:188:88: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type {aka __vector(2) double}’ [-Wignored-attributes]
typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
^~~~
In file included from /home/Haache/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Core:430:0,
from /home/Haache/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/Eigen/Dense:1,
from /home/Haache/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigenForward.h:30,
from /home/Haache/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen/include/RcppEigen.h:25,
from /home/Haache/R/x86_64-pc-linux-gnu-library/3.4/RcppNumerical/include/RcppNumerical.h:10,
from PeerCount.cpp:3:
Однако код работает хорошо.Я получаю этот код для любого кода.Предупреждение появляется, когда я загружаю
#include <RcppEigen.h>
или
#include <RcppNumerical.h>
Все мои пакеты обновлены