RFortunes is a user on mamot.fr. You can follow them or interact with them if you have an account anywhere in the fediverse.
If you don't, you can sign up here.
If you aren't sure of the relative priority of two operators, use parentheses. 1:(nr-1) would work regardless of whether : or - had higher priority. Or, in extreme cases, read the documentation. -- Duncan Murdoch R-help (August 2005) #Rstats