throw if first argument to R.nAry is greater than ten