FLR and R functions and methods for IOTC work