How to Install and Uninstall r-cran-formatr Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 07,2024

1. Install "r-cran-formatr" package

This tutorial shows how to install r-cran-formatr on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install r-cran-formatr

2. Uninstall "r-cran-formatr" package

This is a short guide on how to uninstall r-cran-formatr on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove r-cran-formatr $ sudo apt autoclean && sudo apt autoremove

3. Information about the r-cran-formatr package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: r-cran-formatr
Priority: optional
Section: universe/gnu-r
Installed-Size: 115
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Team
Architecture: amd64
Version: 1.2.1-3
Depends: r-base-core (>= 3.2.3-4), r-api-3
Filename: pool/universe/r/r-cran-formatr/r-cran-formatr_1.2.1-3_amd64.deb
Size: 46172
MD5sum: 69bbbed565b23cad8e8457feaa85dead
SHA1: 8f4116bbb89579c3628bb2974a354721558a25c3
SHA256: 09869545ba550497c1955f273c685ef9bb4c6dc5a9355dd17bf3eca1e4ba8983
Description-en: Format R code automatically
The GNU R package formatr provides a function tidy_source() to format R
source code. Spaces and indent will be added to the code automatically,
and comments will be preserved under certain conditions, so that R code
will be more human-readable and tidy. There is also a Shiny app as a user
interface in this package (see tidy_app()).
Description-md5: 58c255f8c6d41916e5a1c5e8c731e3e7
Homepage: https://cran.r-project.org/web/packages/formatr/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu