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

Last updated: May 02,2024

1. Install "r-cran-mockery" package

This tutorial shows how to install r-cran-mockery on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "r-cran-mockery" package

Here is a brief guide to show you how to uninstall r-cran-mockery on Ubuntu 20.10 (Groovy Gorilla):

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

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

Package: r-cran-mockery
Architecture: all
Version: 0.4.2+dfsg-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: 90
Depends: r-base-core (>= 4.0.0.20200528-1), r-api-4.0, r-cran-testthat
Suggests: r-cran-knitr, r-cran-rmarkdown (>= 1.0), r-cran-r6
Filename: pool/universe/r/r-cran-mockery/r-cran-mockery_0.4.2+dfsg-2build1_all.deb
Size: 40116
MD5sum: 3fe2ca8b85f13c5b8792ded1d6df678b
SHA1: 7a4bc25501195f94990c4f1f27a6ecd135a022d4
SHA256: 4fcae530ea1e609b2ef93a157c489c100813e8b2f92b5074d73da5464d70ac68
SHA512: 3b35108ac37bfabcf336cd1ca3d558379c3bcf2a54e7d288274193f6405497a4066a182aab48e2d360be1ca10120597c56176d02c7eec0e522a9ebf567205f06
Homepage: https://cran.r-project.org/package=mockery
Description-en: mocking library for GNU R
The two main functionalities of this package are creating mock
objects (functions) and selectively intercepting calls to a given
function that originate in some other function. It can be used
with any testing framework available for R. Mock objects can
be injected with either this package's own stub() function or a
similar with_mock() facility present in the testthat package.
Description-md5: def8ba9baf862fc6743dc1d0e777d3e0