FastRet 1.3.0

API Improvements:

  1. getCDs():
  2. plot_frm():
  3. preprocess_data():
  1. train_frm():
  2. predict.frm():
  3. selective_measuring():
  4. adjust_frm():
  5. print.frm():
  6. clip_predictions():
  7. get_predictors():

Bugfixes:

  1. Interaction terms generated by preprocess_data() are now generated correctly as product of the involved features instead of a division. This follows common practice in regression modeling and avoids division by zero issues. Passing older models, trained with division-based interaction terms, to downstream functions like predict.frm() or adjust_frm() will now lead to an error. (This is not a breaking change, as predict.frm() and friends have in fact never been able to handle such models).
  2. plot_frm() with type “scatter.cv.adj” or “scatter.train.adj” now correctly shows retention times from the new data (used for model adjustment) as x-axis values instead of the original training retention times.
  3. catf() now only emits escape codes (i.e. colored output), it the output is directed to a terminal. If the output is redirected to a file or a pipe, no escape codes are emitted anymore. Since catf() is used throughout the package for logging, this fixes the output for the whole package.

Internal Improvements:

  1. Added or improved unit tests for:
  2. Removed caret dependency by adding custom implementations for:
  3. Extract mapping and merging part of adjust_frm() into a private function merge_dfs().
  4. Replaced fit_glmnet(), fit_lasso() and fit_ridge() with a single function fit_glmnet(), that takes the method (“lasso” or “ridge”) as parameter. Instead of a dataframe df that has to contain only predictors plus the RT column (as reponse), the function now takes a matrix of predictors X and a vector of responses y. This makes the function more flexible and easier to test.
  5. Replaced fit_gbtree_grid() with a much simpler function find_params_best(). Instead of allowing the specification of every grid parameter, the new function instead accepts a keyword searchspace for specifying predefined grids to choose from.
  6. Improved fit_gbtree by exposing lots of hardcoded internal xgboost parameters as function parameters with sensible defaults. In particular, the user can now set xpar to “default”, “rpopt” or a predefined grid-size to train the model with different hyperparameter settings. Furthermore, the function is now written in a way that works with both, version 1.7.9.1 and the new 3.1.2.1 version published on 2025/12/03 (yes, version 2.x was skipped completely).
  7. Added helper function get_param_grid() for returning predefined hyperparameter grids for xgboost model training based on keywords like “tiny”, “small” or “large”.
  8. Added function benchmark_find_params() to benchmark runtime of find_params_best() for different numbers of cores and/or threads. As it turns out, choosing a higher number of cores is usually more efficient (at the cost of worse progress output).
  9. Added utility functions named(), as_str(), is_valid_smiles() and as_canonical()

FastRet 1.2.2

FastRet 1.2.1

FastRet 1.2.0

FastRet 1.1.5

FastRet 1.1.4

FastRet 1.1.3

FastRet 1.1.2

FastRet 1.1.1

FastRet 1.1.0

FastRet 1.0.3

FastRet 1.0.2

FastRet 1.0.1

FastRet 1.0.0

Completely refactored source code, e.g.:

FastRet 0.99.7

FastRet 0.99.6

FastRet 0.99.4

FastRet 0.99.3

FastRet 0.99.2

FastRet 0.99.1