Learn R Programming

 

available

available helps you name your R package.

  • Checks for validity
  • Checks not already available on GitHub, CRAN and Bioconductor
  • Can suggest possible names based on text in the package title or description.

Installation

You can install available from CRAN with:

install.packages("available")

Or the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("r-lib/available")

Examples

 

Generate new package names from titles

library(available)
suggest(text = "Client for New York Times APIs")
#> timesr

suggest(text = "An R Interface to SciDB")
#> scidbr

Rstudio Support

RStudio versions 1.1 and later support color in the terminal.

Copy Link

Version

Install

install.packages('available')

Monthly Downloads

754

Version

1.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Gabor Csardi

Last Published

July 10th, 2022

Functions in available (1.1.0)

pick_word_from_title

Pick word from title
suggest

Suggest a package name based on a development package title or description
pkg_name_dist

Find five closest package names in terms of string distance
get_wikipedia

Open wikipedia page and abbreviations.com page
valid_package_name

Is a package name valid
make_spelling_rlike

Spelling transformations
get_sentiment

Get sentiment of name
common_suffixes

function to add common, informative suffixes
get_bad_words

Check for bad words in name
available_on_github

See if a name is available on github
available

See if a name is available
available_on_bioc

See if a name is available on CRAN
create

Check a new package name and possibly create it
find_acronym

Function that finds and returns the first acronym (all caps) in a text string
namr

Suggest package name