Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 2.35 KB

README.md

File metadata and controls

76 lines (52 loc) · 2.35 KB

nice

R-CMD-check codecov Lifecycle: experimental

This surely qualifies as the stupidest R package ever created.

Have you ever wondered whether you’ve made anything nice in R? No probably not. No one ever makes anything nice. We just make errors. But in the midst of all the mistakes, maybe you’d like some sweet relief. Maybe checking whether there’s a 69 anywhere in your outputs?

You can’t say I didn’t warn you that this package is stupid!

Installation

You can install nice from GitHub with:

# install.packages("devtools")
devtools::install_github("Paulj1989/nice")

Usage

To check if your outputs are noiiiiiiice:

x <- 69
nice::check(x)
#> [1] "Nice!"

You can also check if there’s anything nice in your data frame:

df <- data.frame(big_nice = c(69, 69, 69), not_nice = c(10, 20, 30))

nice::check_df(df$big_nice)
#> [1] "Nice!"
nice::check_df(df$not_nice)
#> [1] "Not very nice."

Development

I only did this because I’m an infant and it seemed funny at the time, but I’m probably going to continue adding to the functions because it’s a good way of playing around with package development and testing things out. Soon you’ll be able to check every possible R output for some niceness.

I won’t be submitting this to CRAN because there are limits to how far I’ll go to make a dumb joke. Please enjoy.

License

All of this nonsense is licensed under the MIT license. Feel free to do what you want with it!

Contact

If for some god-forsaken reason you want to contact me, you can do so by email or on Twitter.