Logo by Elisa Sovrano

depigner 0.8.4

depigner 0.8.4

I’m very excited to announce the third release of {depigner} (Lanera 2021) to CRAN, now in the version 0.8.4.

Pigna [pìn’n’a] is the Italian word for pine cone. In jargon, it is used to identify a task which is boring, banal, annoying, painful, frustrating and maybe even with a not so beautiful or rewarding result, just like the obstinate act of trying to challenge yourself in extracting pine nuts from a pine cone, provided that, in the end, you will find at least one inside it.

The {depigner} aims to provide some useful functions to be used to solve small everyday problems of coding or analyzing data with R. The hope is to provide solutions to that kind of small-little problems which would be normally solved using quick-and-dirty (ugly and maybe even wrong) patches.

Installation

You can install the released version from CRAN directly calling:

install.packages("depigner")

If you would like to be updated with the last development version available, you can install it from it’s source on GitHub by calling:

# install.packages("remotes")
remotes::install_github("CorradoLanera/depigner")

Next, you can attach it to your session as usual by:

library(depigner)
## Welcome to depigner: we are here to un-stress you!

Provided Tools

For all the provided tools you can look at the {depigner} website, or at the previous posts here-v0.8.1, and here-v0.8.3

News from the previous version

Improvements

  • Added a digits option to tidy_summary() (with a default to 3).

  • Improved error messages for adjust_p() when tidy_summary() is called without prtest = TRUE option.

Bug fixes.

  • Update the README file (and project’s home page on GitHub too) has been updated making all the code visible (some of them was hidden, and some objects seamed to come from nowhere) (issue #39).

  • Fix an error in the examples provided in the documentation of tidy_summary() (issue #38).

  • Finally move {rms} (Harrell, Jr. 2020) to IMPORTS (which was not set but required in the previous version).

Infrastructure

  • convert all implicit integers in explicit (e.g, 1L instead of 1).

  • convert all $ extraction in [[.

  • Updated testing environment to {testthat} 3rd edition (Wickham 2021) (#32).

So, that is not a great update in term of new features, but it fixes some important bugs and issues, and restructure the internal implementation to be more robust.

Acknowledgements

The {depigner}’s logo was lovely designed by Elisa Sovrano.

References

Harrell, Jr., Frank E. 2020. Rms: Regression Modeling Strategies.
Lanera, Corrado. 2021. Depigner: A Utility Package to Help You Deal with "Pignas".
Wickham, Hadley. 2021. Testthat: Unit Testing for r.
Avatar
Corrado Lanera
Fellow researcher, data scientist, and trainer

Related

comments powered by Disqus