The Ultimate Helper for Clumsy Fingers

Automatically suggests a correction when a typo occurs.


A package designed to help people with clumsy fingers.

Installation of fcuk

if (!require(devtools)){install.packages("devtools")}
devtools::install_github("ThinkRstat/fcuk")

Launch and use

After launching this package, every error will be analysed. Each time a typo occurs, a correction suggestion will be made under the default error message.

library(fcuk)
 
# Examples 
sl()
Did you mean : ls or nls ?
 
iri
> Erreur : objet 'iri' introuvable
Did you mean : IQR or iris ?
 
view
> Erreur : objet 'view' introuvable
Did you mean : View or deriv ?
 
mea
> Erreur : objet 'mea' introuvable
Did you mean : mean or frame ?
 

Stop fcuk

You can stop fcuk at anytime by calling the remove_error_tracker function. Start the error tracker again with init_error_tracker.

Recurrent use of fcuk

You can launch fcuk with your R session.

.First <- function(){
cat("\n Bonjour !  - ", date(), "\n") 
library(fcuk)
}

It will be more efficient to add this library to your Rprofile. You can use fcuk::add_fcuk_to_rprofile() to do so. Then, any time you launch your R project, fcuk will be launched at the same time.

You can also add fcuk inside your Rprofile.site file. Then you'll have this functionnality inside all your Rstudio projects.

fcuk functions

You'll typically never need to use the functions contained in fcuk. You just need to launch this library, and fcuk will do his job in the background.

Feedbacks and questions

Feel free to report any issue you may have with this package.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fcuk")

0.1.21 by Vincent Guyader, 2 years ago


https://github.com/ThinkRstat/fcuk


Report a bug at https://github.com/ThinkRstat/fcuk/issues


Browse source code at https://github.com/cran/fcuk


Authors: Vincent Guyader


Documentation:   PDF Manual  


GPL-3 license


Imports stringdist, purrr, magrittr, tibble

Suggests testthat, knitr, rmarkdown


See at CRAN