Skip to content

warning before returning dups terminates function

Fabian Moye requested to merge famoye-master-patch-45705 into master
  1. If duplicates were found in check_peaklist, the return would terminate the function before the error message of the stop() would be reached and the user would have no information where the error occurred. An alternative could be rlang::abort()
  2. Added warning when converting from data.frame to data.table
  3. Changed class(pl) to is.data.table(pl) for cleaner query, similar for is.data.frame; Not sure about speed.

Merge request reports

Loading