How to Install and Uninstall r-cran-formatr Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: July 08,2024

1. Install "r-cran-formatr" package

Please follow the guidance below to install r-cran-formatr on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "r-cran-formatr" package

This guide let you learn how to uninstall r-cran-formatr on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the r-cran-formatr package on Ubuntu 20.10 (Groovy Gorilla)

Package: r-cran-formatr
Architecture: all
Version: 1.7-2build1
Priority: optional
Section: universe/gnu-r
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian R Packages Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 294
Depends: r-base-core (>= 4.0.0.20200528-1), r-api-4.0
Recommends: r-cran-testit, r-cran-codetools
Suggests: r-cran-shiny, r-cran-rmarkdown, r-cran-knitr
Filename: pool/universe/r/r-cran-formatr/r-cran-formatr_1.7-2build1_all.deb
Size: 146712
MD5sum: cf553b368c69bc902657910b88e2d813
SHA1: d1b8204745bc4c3694b393f84bc03cb8f5bc42e4
SHA256: 562ed438b5a34707d468c0fec3e8b0d423ed04bac14c314c965c12abc9d87603
SHA512: 976893b77b181040839a53503fd74f20e430ec3076b8c7b9a17da428a9052b02ca3c520e6caa480d62532e5bb74d25fdf567a93a1f7708c4d307d2318973a865
Homepage: https://cran.r-project.org/package=formatR
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