FLICA error "r<1"

Hello Brainstorm community!
I'm a newbie to computational neurobiology software and Brainstorm.I recently started to use FSL to conduct linked-independent canonical analysis for my multi-site autism data (here's the website for it: http://web.mit.edu/fsl_v5.0.10/fsl/doc/wiki/FLICA.html). However, when I ran the script, I always run into this error:

error: assert (opts.num_components < R) failed
error: called from
assert at line 92 column 11
flica_parseoptions at line 68 column 1
flica at line 15 column 6
myscript at line 26 column 7

Source code where error is reported:
flica_parseoptions.m
line 68: assert(opts.num_components < R)

Options set in the myscript.m:
opts.num_components = 20
opts.maxits = 1000

Computed value of R = 1.

I'm not quite sure why this is happening - we've tried varying the number of samples tested but this error always appears with R<1. We're currently using Octave 5.2.0 with FSL. Please let me know if anything can be done!
Thank you so much!

Unfortunately, we have no expertise with this software, we can't help you.