Better, only one call to `tr`:

```
r_packages=$(for r_package in $@; do
    echo r-cran-${r_package}
done | tr '[:upper:]' '[:lower:]')
```

Or, even shorter:

    args=$*
    r_packages=$(eval echo r-cran-{${args// /,}} | tr '[:upper:]' '[:lower:]')