How to Install r-cran-optparse in Ubuntu 18.04



Install r-cran-optparse by entering the following commands in the terminal:

sudo apt update
sudo apt install r-cran-optparse

Description:

GNU/R Command line option parser

A command line parser inspired by Python's 'optparse' library to be used with Rscript to write "#!" shebang scripts that accept short and long flag/options.

Homepage: https://cran.r-project.org/package=optparse

Version: 1.4.4-1ubuntu1

Section: universe/gnu-r