> unzip("permFDP-master.zip") > file.rename("permFDP-master", "permFDP") [1] TRUE > shell("R CMD build permFDP") * checking for file 'permFDP/DESCRIPTION' ... OK * preparing 'permFDP': * checking DESCRIPTION meta-information ... OK * cleaning src * checking for LF line-endings in source and make files and shell scripts * checking for empty or unneeded directories * building 'permFDP_0.1.0.tar.gz' > install.packages("permFDP_0.1.0.tar.gz",repos=NULL) Microsoft R Open 4.0.2 The enhanced R distribution from Microsoft Microsoft packages Copyright (C) 2020 Microsoft Corporation Using the Intel MKL for parallel mathematical computing (using 16 cores). Default CRAN mirror snapshot taken on 2020-07-16. See: https://mran.microsoft.com/. * installing *source* package 'permFDP' ... ** using staged installation ** libs "C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -m64 -I"C:/PROGRA~1/MICROS~4/ROPEN~1/R-40~1.2/include" -DNDEBUG -I'C:/Program Files/Microsoft/R Open/R-4.0.2/library/Rcpp/include' -I'C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include' -I"C:/a/w/1/s/vendor/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o "C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -m64 -I"C:/PROGRA~1/MICROS~4/ROPEN~1/R-40~1.2/include" -DNDEBUG -I'C:/Program Files/Microsoft/R Open/R-4.0.2/library/Rcpp/include' -I'C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include' -I"C:/a/w/1/s/vendor/extsoft/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c permFDP.cpp -o permFDP.o In file included from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/aux_/na_assert.hpp:23, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/arg.hpp:25, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/placeholders.hpp:24, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/apply.hpp:24, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/aux_/iter_apply.hpp:17, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/aux_/find_if_pred.hpp:14, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/find_if.hpp:17, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/find.hpp:17, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/aux_/contains_impl.hpp:20, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/contains.hpp:20, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/policies/policy.hpp:10, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/special_functions/math_fwd.hpp:29, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/special_functions/beta.hpp:13, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/distributions/students_t.hpp:16, from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/t_test.hpp:12, from permFDP.cpp:5: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses] failed ************ (Pred::************ ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses] failed ************ (boost::mpl::not_::************ ^ In file included from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/t_test.hpp:13, from permFDP.cpp:5: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:16:54: error: 'mean' function uses 'auto' type specifier without trailing return type auto mean(ForwardIterator first, ForwardIterator last) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:16:54: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: In function 'auto boost::math::statistics::mean(ForwardIterator, ForwardIterator)': C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:20:8: warning: 'if constexpr' only available with -std=c++17 or -std=gnu++17 if constexpr (std::is_integral::value) ^~~~~~~~~ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:30:13: warning: 'if constexpr' only available with -std=c++17 or -std=gnu++17 else if constexpr (std::is_same_v::iterator_category, std::random_access_iterator_tag>) ^~~~~~~~~ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:30:29: error: 'is_same_v' is not a member of 'std' else if constexpr (std::is_same_v::iterator_category, std::random_access_iterator_tag>) ^~~~~~~~~ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:30:29: note: suggested alternative: 'is_same' else if constexpr (std::is_same_v::iterator_category, std::random_access_iterator_tag>) ^~~~~~~~~ is_same C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:30:104: error: expected '(' before ',' token else if constexpr (std::is_same_v::iterator_category, std::random_access_iterator_tag>) ^ ( In file included from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/t_test.hpp:13, from permFDP.cpp:5: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:30:137: error: expected primary-expression before '>' token else if constexpr (std::is_same_v::iterator_category, std::random_access_iterator_tag>) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:30:138: error: expected primary-expression before ')' token else if constexpr (std::is_same_v::iterator_category, std::random_access_iterator_tag>) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: At global scope: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:78:37: error: 'mean' function uses 'auto' type specifier without trailing return type inline auto mean(Container const & v) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:78:37: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:84:58: error: 'variance' function uses 'auto' type specifier without trailing return type auto variance(ForwardIterator first, ForwardIterator last) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:84:58: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: In function 'auto boost::math::statistics::variance(ForwardIterator, ForwardIterator)': C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:89:8: warning: 'if constexpr' only available with -std=c++17 or -std=gnu++17 if constexpr (std::is_integral::value) ^~~~~~~~~ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: At global scope: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:120:41: error: 'variance' function uses 'auto' type specifier without trailing return type inline auto variance(Container const & v) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:120:41: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:126:65: error: 'sample_variance' function uses 'auto' type specifier without trailing return type auto sample_variance(ForwardIterator first, ForwardIterator last) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:126:65: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:134:48: error: 'sample_variance' function uses 'auto' type specifier without trailing return type inline auto sample_variance(Container const & v) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:134:48: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:140:74: error: 'mean_and_sample_variance' function uses 'auto' type specifier without trailing return type auto mean_and_sample_variance(ForwardIterator first, ForwardIterator last) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:140:74: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: In function 'auto boost::math::statistics::mean_and_sample_variance(ForwardIterator, ForwardIterator)': C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:145:8: warning: 'if constexpr' only available with -std=c++17 or -std=gnu++17 if constexpr (std::is_integral::value) ^~~~~~~~~ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: At global scope: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:176:50: error: 'mean_and_sample_variance' function uses 'auto' type specifier without trailing return type auto mean_and_sample_variance(Container const & v) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:176:50: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:184:58: error: 'skewness' function uses 'auto' type specifier without trailing return type auto skewness(ForwardIterator first, ForwardIterator last) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:184:58: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: In function 'auto boost::math::statistics::skewness(ForwardIterator, ForwardIterator)': C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:188:8: warning: 'if constexpr' only available with -std=c++17 or -std=gnu++17 if constexpr (std::is_integral::value) ^~~~~~~~~ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: At global scope: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:243:41: error: 'skewness' function uses 'auto' type specifier without trailing return type inline auto skewness(Container const & v) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:243:41: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:251:68: error: 'first_four_moments' function uses 'auto' type specifier without trailing return type auto first_four_moments(ForwardIterator first, ForwardIterator last) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:251:68: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: In function 'auto boost::math::statistics::first_four_moments(ForwardIterator, ForwardIterator)': C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:255:8: warning: 'if constexpr' only available with -std=c++17 or -std=gnu++17 if constexpr (std::is_integral::value) ^~~~~~~~~ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: At global scope: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:298:51: error: 'first_four_moments' function uses 'auto' type specifier without trailing return type inline auto first_four_moments(Container const & v) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:298:51: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:307:58: error: 'kurtosis' function uses 'auto' type specifier without trailing return type auto kurtosis(ForwardIterator first, ForwardIterator last) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:307:58: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: In function 'auto boost::math::statistics::kurtosis(ForwardIterator, ForwardIterator)': C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:309:10: warning: structured bindings only available with -std=c++17 or -std=gnu++17 auto [M1, M2, M3, M4] = first_four_moments(first, last); ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: At global scope: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:318:41: error: 'kurtosis' function uses 'auto' type specifier without trailing return type inline auto kurtosis(Container const & v) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:318:41: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:324:65: error: 'excess_kurtosis' function uses 'auto' type specifier without trailing return type auto excess_kurtosis(ForwardIterator first, ForwardIterator last) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:324:65: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:330:48: error: 'excess_kurtosis' function uses 'auto' type specifier without trailing return type inline auto excess_kurtosis(Container const & v) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:330:48: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:337:66: error: 'median' function uses 'auto' type specifier without trailing return type auto median(RandomAccessIterator first, RandomAccessIterator last) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:337:66: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:358:45: error: 'median' function uses 'auto' type specifier without trailing return type inline auto median(RandomAccessContainer & v) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:358:45: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:364:76: error: 'gini_coefficient' function uses 'auto' type specifier without trailing return type auto gini_coefficient(RandomAccessIterator first, RandomAccessIterator last) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:364:76: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: In function 'auto boost::math::statistics::gini_coefficient(RandomAccessIterator, RandomAccessIterator)': C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:370:8: warning: 'if constexpr' only available with -std=c++17 or -std=gnu++17 if constexpr (std::is_integral::value) ^~~~~~~~~ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp: At global scope: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:413:55: error: 'gini_coefficient' function uses 'auto' type specifier without trailing return type inline auto gini_coefficient(RandomAccessContainer & v) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:413:55: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:419:90: error: 'sample_gini_coefficient' function uses 'auto' type specifier without trailing return type inline auto sample_gini_coefficient(RandomAccessIterator first, RandomAccessIterator last) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:419:90: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:426:62: error: 'sample_gini_coefficient' function uses 'auto' type specifier without trailing return type inline auto sample_gini_coefficient(RandomAccessContainer & v) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:426:62: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:432:255: error: 'median_absolute_deviation' function uses 'auto' type specifier without trailing return type auto median_absolute_deviation(RandomAccessIterator first, RandomAccessIterator last, typename std::iterator_traits::value_type center=std::numeric_limits::value_type>::quiet_NaN()) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:432:255: note: deduced return type only available with -std=c++14 or -std=gnu++14 In file included from C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/t_test.hpp:13, from permFDP.cpp:5: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:460:192: error: 'median_absolute_deviation' function uses 'auto' type specifier without trailing return type inline auto median_absolute_deviation(RandomAccessContainer & v, typename RandomAccessContainer::value_type center=std::numeric_limits::quiet_NaN()) ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/univariate_statistics.hpp:460:192: note: deduced return type only available with -std=c++14 or -std=gnu++14 In file included from permFDP.cpp:5: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/t_test.hpp:38:139: error: 'one_sample_t_test' function uses 'auto' type specifier without trailing return type auto one_sample_t_test(ForwardIterator begin, ForwardIterator end, typename std::iterator_traits::value_type assumed_mean) { ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/t_test.hpp:38:139: note: deduced return type only available with -std=c++14 or -std=gnu++14 C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/t_test.hpp: In function 'auto boost::math::statistics::one_sample_t_test(ForwardIterator, ForwardIterator, typename std::iterator_traits<_Iter>::value_type)': C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/t_test.hpp:40:10: warning: structured bindings only available with -std=c++17 or -std=gnu++17 auto [mu, s_sq] = mean_and_sample_variance(begin, end); ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/t_test.hpp: At global scope: C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/t_test.hpp:45:88: error: 'one_sample_t_test' function uses 'auto' type specifier without trailing return type auto one_sample_t_test(Container const & v, typename Container::value_type assumed_mean) { ^ C:/Program Files/Microsoft/R Open/R-4.0.2/library/BH/include/boost/math/statistics/t_test.hpp:45:88: note: deduced return type only available with -std=c++14 or -std=gnu++14 permFDP.cpp: In function 'double designTTest(std::vector, std::vector)': permFDP.cpp:17:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i = 0; i < design.size(); i++) { ~~^~~~~~~~~~~~~~~ permFDP.cpp:27:8: warning: structured bindings only available with -std=c++17 or -std=gnu++17 auto [t, p] = boost::math::statistics::two_sample_t_test(cIntensities, tIntensities); ^ permFDP.cpp:27:42: error: 'two_sample_t_test' is not a member of 'boost::math::statistics' auto [t, p] = boost::math::statistics::two_sample_t_test(cIntensities, tIntensities); ^~~~~~~~~~~~~~~~~ permFDP.cpp:27:42: note: suggested alternative: 'one_sample_t_test' auto [t, p] = boost::math::statistics::two_sample_t_test(cIntensities, tIntensities); ^~~~~~~~~~~~~~~~~ one_sample_t_test permFDP.cpp: In function 'std::vector randBalDesign(int, int)': permFDP.cpp:60:24: error: 'std::chrono' has not been declared unsigned seed = std::chrono::system_clock::now().time_since_epoch().count(); ^~~~~~ permFDP.cpp:68:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i = 0; i < controlGroup.size(); i++) { ~~^~~~~~~~~~~~~~~~~~~~~ permFDP.cpp:71:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i = 0; i < testGroup.size(); i++) { ~~^~~~~~~~~~~~~~~~~~ permFDP.cpp: In function 'int countHits(std::vector, double)': permFDP.cpp:83:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i=0; i < sortedPVals.size(); i++) { ~~^~~~~~~~~~~~~~~~~~~~ permFDP.cpp: In function 'int getHighestPositionBelowThresh(std::vector, double)': permFDP.cpp:96:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i=0; i < fdp.size(); i++) { ~~^~~~~~~~~~~~ permFDP.cpp: In function 'double permFDRAdjust(std::vector, double, std::vector, std::vector >, int, int, int)': permFDP.cpp:145:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i_prot = 0; i_prot < intOnly[0].size(); i_prot++) { ~~~~~~~^~~~~~~~~~~~~~~~~~~ permFDP.cpp:149:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i_sample = 0; i_sample < balDesign.size(); i_sample++) { ~~~~~~~~~^~~~~~~~~~~~~~~~~~ permFDP.cpp:159:12: warning: structured bindings only available with -std=c++17 or -std=gnu++17 auto [t, p] = boost::math::statistics::two_sample_t_test(cIntensities, tIntensities); ^ permFDP.cpp:159:46: error: 'two_sample_t_test' is not a member of 'boost::math::statistics' auto [t, p] = boost::math::statistics::two_sample_t_test(cIntensities, tIntensities); ^~~~~~~~~~~~~~~~~ permFDP.cpp:159:46: note: suggested alternative: 'one_sample_t_test' auto [t, p] = boost::math::statistics::two_sample_t_test(cIntensities, tIntensities); ^~~~~~~~~~~~~~~~~ one_sample_t_test permFDP.cpp:172:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i = 0; i < expPs.size(); i++) { ~~^~~~~~~~~~~~~~ permFDP.cpp:177:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i = 0; i< rank.size(); i++) { ~^~~~~~~~~~~~~ permFDP.cpp:182:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i_perm = 0; i_perm < randPVals.size(); i_perm++) { ~~~~~~~^~~~~~~~~~~~~~~~~~ permFDP.cpp:201:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] if (bestIndex == fdp.size() - 1) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~ permFDP.cpp: In function 'double permFDRAdjustCpp(Rcpp::NumericVector, double, Rcpp::NumericVector, Rcpp::NumericMatrix, int, int, int)': permFDP.cpp:218:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i_col = 0; i_col < intVecVec.size(); i_col++) { ~~~~~~^~~~~~~~~~~~~~~~~~ permFDP.cpp:220:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] for (int i_row = 0; i_row < column.size(); i_row++) { ~~~~~~^~~~~~~~~~~~~~~ make: *** [permFDP.o] Error 1 ERROR: compilation failed for package 'permFDP' * removing 'C:/Program Files/Microsoft/R Open/R-4.0.2/library/permFDP' Warning message: In install.packages("permFDP_0.1.0.tar.gz", repos = NULL) : installation of package ‘permFDP_0.1.0.tar.gz’ had non-zero exit status > sessionInfo() R version 4.0.2 (2020-06-22) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19044) Matrix products: default Random number generation: RNG: Mersenne-Twister Normal: Inversion Sample: Rounding locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] devtools_2.3.0 usethis_1.6.1 RevoUtils_11.0.2 RevoUtilsMath_11.0.0 loaded via a namespace (and not attached): [1] magrittr_1.5 pkgload_1.1.0 R6_2.3.0 rlang_0.4.7 fastmap_1.0.1 fansi_0.4.1 tools_4.0.2 pkgbuild_1.1.0 sessioninfo_1.1.1 cli_2.0.2 withr_2.2.0 ellipsis_0.3.1 [13] remotes_2.1.1 assertthat_0.2.1 rprojroot_1.3-2 crayon_1.3.4 processx_3.4.3 callr_3.4.3 fs_1.4.2 ps_1.3.3 curl_3.3 testthat_2.3.2 memoise_2.0.1 glue_1.4.1 [25] cachem_1.0.6 compiler_4.0.2 desc_1.2.0 backports_1.1.8 prettyunits_1.1.1 >