Install r-cran-getopt by entering the following commands in the terminal:
sudo apt update sudo apt install r-cran-getopt
Description:
GNU R package providing command-line parsing functionality
This package provides the getopt function which can be used with R's Rscript (or littler's r) to write ``#!'' shebang scripts that accept short and long flags/options.
Version: 1.20.2-1
Section: universe/math