
<!-- README.md is generated from README.Rmd. Please edit that file -->

# batata <a><img src='man/figures/hex.png' align="right" height="200" /></a>

<!-- badges: start -->

[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/batata)](https://cran.r-project.org/package=batata)
[![CRAN\_time\_from\_release](https://www.r-pkg.org/badges/ago/batata)](https://cran.r-project.org/package=batata)
[![metacran
downloads](https://cranlogs.r-pkg.org/badges/batata)](https://cran.r-project.org/package=batata)
[![metacran
downloads](https://cranlogs.r-pkg.org/badges/grand-total/batata)](https://cran.r-project.org/package=batata)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://choosealicense.com/licenses/mit/)
[![R
badge](https://img.shields.io/badge/Build%20with-♥%20and%20R-blue)](https://github.com/feddelegrand7/batata)
[![R build
status](https://github.com/feddelegrand7/batata/workflows/R-CMD-check/badge.svg)](https://github.com/feddelegrand7/batata/actions)
[![Codecov test
coverage](https://codecov.io/gh/feddelegrand7/batata/branch/master/graph/badge.svg)](https://codecov.io/gh/feddelegrand7/batata?branch=master)
<!-- badges: end -->

`batata` is A Toolbox for Managing R Packages Installation and Removal.

## Installation

You can install the `batata` package from CRAN with:

``` r
install.packages("batata")
```

<!-- For example, imagine you're attending tomorrow an R meet up in which you'll experiment many packages that you don't want to keep. By the end of the meet up, you'll have to remember each installed package, its name (trust me, packages' names may be complicated). Further, each installed package might come with a bunch of dependencies which makes the operations more complicated. Using the batata package, you can just run `rm_today_packages()` (one of many other functions), and you're clean for today. Before removing the packages, batata will prompt you to confirm your decision (which adds a certain degree of security), you can also run `today_packages()` to check all the today installed packages before making a decision.  -->
<!-- `batata` takes into account the __modification time__ of the packages instead of the __birth time__. As such, if you decide to update a package to a newer version, `batata` will consider it as a new package (which is technically true as a new package will be installed).  -->

## Documentation

The documentation is available [here](https://batata-doc.netlify.app/)

## Aknowledgement

Concerning the **packages installation** part of `batata` I was mainly
inspired by the tweet of [Tim
Tiefenbach](https://twitter.com/TimTeaFan/status/1352007510425817089),
so a big thanks to him !

------------------------------------------------------------------------

## Code of Conduct

Please note that the batata project is released with a [Contributor Code
of
Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).
By contributing to this project, you agree to abide by its terms. If you
encounter any bug or if you want an improvement, please feel free to
open an Issue.
