* installing *source* package ‘scalednap’ ...
** this is package ‘scalednap’ version ‘1.0.0’
** package ‘scalednap’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++20
using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using C++20
using SDK: ‘MacOSX14.5.sdk’
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c rwrapper.cpp -o rwrapper.o
In file included from rwrapper.cpp:26:
./community_measure.h:119:19: error: no member named 'fetch_add' in 'std::atomic<double>'
  119 |             x.val.fetch_add(amount, std::memory_order_relaxed);
      |             ~~~~~ ^
./community_measure.h:588:13: note: in instantiation of function template specialization 'Milano::relaxed_add<Milano::AtomicDouble>' requested here
  588 |             relaxed_add(in_wt_[old_com], -(wt_old + self_loop_u));
      |             ^
./milano_algorithm.h:377:37: note: in instantiation of member function 'Milano::PersistenceMeasure<Milano::AtomicDouble>::update' requested here
  377 |                             measure.update(u, old_com, best_com, degree,
      |                                     ^
./milano_algorithm.h:722:25: note: in instantiation of function template specialization 'Milano::moveNode<Milano::PersistenceMeasure<Milano::AtomicDouble>>' requested here
  722 |     auto level_result = moveNode(ctx, measure, partition, inner_partition,
      |                         ^
./milano_algorithm.h:880:31: note: in instantiation of function template specialization 'Milano::milano_communities<Milano::PersistenceMeasure<Milano::AtomicDouble>>' requested here
  880 |         MilanoResult result = milano_communities(
      |                               ^
rwrapper.cpp:432:52: note: in instantiation of function template specialization 'Milano::milano_communities<Milano::PersistenceMeasure<Milano::AtomicDouble>>' requested here
  432 |                 Milano::MilanoResult res = Milano::milano_communities(
      |                                                    ^
In file included from rwrapper.cpp:26:
./community_measure.h:780:13: error: no matching function for call to 'relaxed_add'
  780 |             relaxed_add(in_wt_[old_com], -(wt_old + self_loop_u));
      |             ^~~~~~~~~~~
./milano_algorithm.h:377:37: note: in instantiation of member function 'Milano::PersistenceModularityMeasure<Milano::AtomicDouble>::update' requested here
  377 |                             measure.update(u, old_com, best_com, degree,
      |                                     ^
./milano_algorithm.h:722:25: note: in instantiation of function template specialization 'Milano::moveNode<Milano::PersistenceModularityMeasure<Milano::AtomicDouble>>' requested here
  722 |     auto level_result = moveNode(ctx, measure, partition, inner_partition,
      |                         ^
./milano_algorithm.h:880:31: note: in instantiation of function template specialization 'Milano::milano_communities<Milano::PersistenceModularityMeasure<Milano::AtomicDouble>>' requested here
  880 |         MilanoResult result = milano_communities(
      |                               ^
rwrapper.cpp:432:52: note: in instantiation of function template specialization 'Milano::milano_communities<Milano::PersistenceModularityMeasure<Milano::AtomicDouble>>' requested here
  432 |                 Milano::MilanoResult res = Milano::milano_communities(
      |                                                    ^
./community_measure.h:117:17: note: candidate template ignored: substitution failure [with T = value_type]
  117 |     inline void relaxed_add(T& x, double amount) noexcept {
      |                 ^
./community_measure.h:781:13: error: no matching function for call to 'relaxed_add'
  781 |             relaxed_add(tot_str_[old_com], -degree_u);
      |             ^~~~~~~~~~~
./community_measure.h:117:17: note: candidate template ignored: substitution failure [with T = value_type]
  117 |     inline void relaxed_add(T& x, double amount) noexcept {
      |                 ^
./community_measure.h:782:13: error: no matching function for call to 'relaxed_add'
  782 |             relaxed_add(in_wt_[new_com], wt_new + self_loop_u);
      |             ^~~~~~~~~~~
./community_measure.h:117:17: note: candidate template ignored: substitution failure [with T = value_type]
  117 |     inline void relaxed_add(T& x, double amount) noexcept {
      |                 ^
./community_measure.h:783:13: error: no matching function for call to 'relaxed_add'
  783 |             relaxed_add(tot_str_[new_com], degree_u);
      |             ^~~~~~~~~~~
./community_measure.h:117:17: note: candidate template ignored: substitution failure [with T = value_type]
  117 |     inline void relaxed_add(T& x, double amount) noexcept {
      |                 ^
./community_measure.h:987:13: error: no matching function for call to 'relaxed_add'
  987 |             relaxed_add(in_wt_[old_com], -(wt_old + self_loop_u));
      |             ^~~~~~~~~~~
./milano_algorithm.h:377:37: note: in instantiation of member function 'Milano::PersistenceModularityDensityMeasure<Milano::AtomicDouble>::update' requested here
  377 |                             measure.update(u, old_com, best_com, degree,
      |                                     ^
./milano_algorithm.h:722:25: note: in instantiation of function template specialization 'Milano::moveNode<Milano::PersistenceModularityDensityMeasure<Milano::AtomicDouble>>' requested here
  722 |     auto level_result = moveNode(ctx, measure, partition, inner_partition,
      |                         ^
./milano_algorithm.h:880:31: note: in instantiation of function template specialization 'Milano::milano_communities<Milano::PersistenceModularityDensityMeasure<Milano::AtomicDouble>>' requested here
  880 |         MilanoResult result = milano_communities(
      |                               ^
rwrapper.cpp:432:52: note: in instantiation of function template specialization 'Milano::milano_communities<Milano::PersistenceModularityDensityMeasure<Milano::AtomicDouble>>' requested here
  432 |                 Milano::MilanoResult res = Milano::milano_communities(
      |                                                    ^
./community_measure.h:117:17: note: candidate template ignored: substitution failure [with T = value_type]
  117 |     inline void relaxed_add(T& x, double amount) noexcept {
      |                 ^
./community_measure.h:988:13: error: no matching function for call to 'relaxed_add'
  988 |             relaxed_add(tot_str_[old_com], -degree_u);
      |             ^~~~~~~~~~~
./community_measure.h:117:17: note: candidate template ignored: substitution failure [with T = value_type]
  117 |     inline void relaxed_add(T& x, double amount) noexcept {
      |                 ^
./community_measure.h:989:13: error: no matching function for call to 'relaxed_add'
  989 |             relaxed_add(in_wt_[new_com], wt_new + self_loop_u);
      |             ^~~~~~~~~~~
./community_measure.h:117:17: note: candidate template ignored: substitution failure [with T = value_type]
  117 |     inline void relaxed_add(T& x, double amount) noexcept {
      |                 ^
./community_measure.h:990:13: error: no matching function for call to 'relaxed_add'
  990 |             relaxed_add(tot_str_[new_com], degree_u);
      |             ^~~~~~~~~~~
./community_measure.h:117:17: note: candidate template ignored: substitution failure [with T = value_type]
  117 |     inline void relaxed_add(T& x, double amount) noexcept {
      |                 ^
9 errors generated.
make: *** [rwrapper.o] Error 1
ERROR: compilation failed for package ‘scalednap’
* removing ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/scalednap.Rcheck/scalednap’