Bug Fixes

  • Fixed runtime error: Resolved an issue where a negative value (-1) was incorrectly assigned to an unsigned int, leading to a runtime error:
    “-1 is outside the range of representable values of type ‘unsigned int’”.
    The fix involved replacing arma::uvec with arma::ivec to correctly handle signed integers in relevant functions.
  • Fixed CRAN review issues: expanded description, added references, documented function outputs.
  • Initial CRAN submission.