* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘junctions’ ...
** package ‘junctions’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpTo5Cyn/R.INSTALL2ce28798bd69c/junctions/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Fish.cpp -o Fish.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c Output.cpp -o Output.o
Output.cpp: In function ‘std::vector<int> detect_ancestry(const std::vector<junction>&, const std::vector<double>&)’:
Output.cpp:100:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<junction>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  100 |         for (; j <= (G.size() - 1); ++j) {
      |                ~~^~~~~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c backcrossing.cpp -o backcrossing.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c estimate_time_unphased.cpp -o estimate_time_unphased.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/tbb.h:32,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/RcppParallel/TBB.h:10,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/RcppParallel.h:24,
                 from estimate_time_unphased.cpp:22:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h: In instantiation of ‘tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = long unsigned int]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/tbb_thread.h:251:29:   required from here
  251 |             return as_atomic(location.my_id).compare_and_swap(value.my_id, comparand.my_id);
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h:544:12: warning: casting ‘long unsigned int’ to ‘tbb::atomic<long unsigned int>&’ does not use ‘constexpr tbb::atomic<long unsigned int>::atomic(long unsigned int)’ [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h: In instantiation of ‘tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = tbb::interface5::internal::hash_map_base::bucket*]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/concurrent_hash_map.h:291:31:   required from here
  291 |                   && as_atomic(my_table[new_seg]).compare_and_swap(is_allocating, NULL) == NULL )
      |                      ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h:544:12: warning: casting ‘tbb::interface5::internal::hash_map_base::bucket*’ to ‘tbb::atomic<tbb::interface5::internal::hash_map_base::bucket*>&’ does not use ‘constexpr tbb::atomic<T*>::atomic(T*) [with T = tbb::interface5::internal::hash_map_base::bucket]’ [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c main_functions.cpp -o main_functions.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/nloptr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c unphased.cpp -o unphased.o
unphased.cpp: In function ‘void update_pop(const std::vector<Fish_inf>&, std::vector<Fish_inf>&, int, double, int)’:
unphased.cpp:37:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
   37 |     for (size_t i = 0; i < popSize; ++i) {
      |                        ~~^~~~~~~~~
unphased.cpp: In function ‘Output simulation_phased_nonphased(int, double, int, double, std::vector<double>, const Rcpp::NumericVector&, bool, bool, int, int, rnd_t&)’:
unphased.cpp:104:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  104 |   for (size_t t = 0; t <= maxTime; ++t) {
      |                      ~~^~~~~~~~~~
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/tbb.h:32,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/RcppParallel/TBB.h:10,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/RcppParallel.h:24,
                 from util.h:15,
                 from unphased.cpp:17:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h: In instantiation of ‘tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = long unsigned int]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/tbb_thread.h:251:29:   required from here
  251 |             return as_atomic(location.my_id).compare_and_swap(value.my_id, comparand.my_id);
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h:544:12: warning: casting ‘long unsigned int’ to ‘tbb::atomic<long unsigned int>&’ does not use ‘constexpr tbb::atomic<long unsigned int>::atomic(long unsigned int)’ [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h: In instantiation of ‘tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = tbb::interface5::internal::hash_map_base::bucket*]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/concurrent_hash_map.h:291:31:   required from here
  291 |                   && as_atomic(my_table[new_seg]).compare_and_swap(is_allocating, NULL) == NULL )
      |                      ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h:544:12: warning: casting ‘tbb::interface5::internal::hash_map_base::bucket*’ to ‘tbb::atomic<tbb::interface5::internal::hash_map_base::bucket*>&’ does not use ‘constexpr tbb::atomic<T*>::atomic(T*) [with T = tbb::interface5::internal::hash_map_base::bucket]’ [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o junctions.so Fish.o Output.o RcppExports.o backcrossing.o estimate_time_unphased.o main_functions.o unphased.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpTo5Cyn/R.INSTALL2ce28798bd69c/junctions/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpTo5Cyn/R.INSTALL2ce28798bd69c/junctions/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpTo5Cyn/R.INSTALL2ce28798bd69c/junctions/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-junctions/00new/junctions/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘junctions’
    finding HTML links ... done
    calc_k                                  html  
    calculate_MAT                           html  
    estimate_time                           html  
    estimate_time_diploid                   html  
    estimate_time_haploid                   html  
    estimate_time_one_chrom                 html  
    junctions-package                       html  
    log_likelihood_diploid                  html  
    log_likelihood_haploid                  html  
    number_of_junctions                     html  
    number_of_junctions_backcross           html  
    number_of_junctions_di                  html  
    number_of_junctions_markers             html  
    sim_backcrossing                        html  
    sim_fin_chrom                           html  
    sim_inf_chrom                           html  
    sim_phased_unphased                     html  
    time_error                              html  
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (junctions)