Skip to content

Commit

Permalink
Merge pull request #71 from dbetebenner/master
Browse files Browse the repository at this point in the history
Fixing whitespace and updating package
  • Loading branch information
dbetebenner authored Apr 21, 2021
2 parents 71ac7fa + c09b34d commit b725845
Show file tree
Hide file tree
Showing 31 changed files with 517 additions and 210 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Package: randomNames
Version: 1.4-0.0
Date: 2019-3-7
Version: 1.5-0.0
Date: 2021-4-21
Title: Generate Random Given and Surnames
Depends: R (>= 3.3)
Depends: R (>= 4.0)
Suggests: knitr, rmarkdown
Imports: crayon, data.table (>= 1.12.0), toOrdinal (>= 1.1)
Imports: crayon, data.table (>= 1.14.0), toOrdinal (>= 1.1)
Authors@R: c(person(given=c("Damian", "W."), family="Betebenner", email="[email protected]", role=c("aut", "cre")))
Maintainer: Damian W. Betebenner <[email protected]>
Description: Function for generating random gender and ethnicity correct first and/or last names. Names are chosen proportionally based upon their probability of appearing in a large scale data base of real names.
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# randomNames 1.5-0.0

* Fixed names with embedded spaces as the first character.

# randomNames 1.4-0.0

* Fixed issue with NAs embedded in ethnicity and gender returning wrong data later.
Expand Down
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ function(libname, pkgname) {
`.onAttach` <-
function(libname, pkgname) {
if (interactive()) {
packageStartupMessage(magenta$bold('randomNames',paste(paste0(unlist(strsplit(as.character(packageVersion("randomNames")), "[.]")), c(".", "-", ".", "")), collapse=""),' (3-7-2019). For help: >help("randomNames") or visit https://centerforassessment.github.io/randomNames'))
packageStartupMessage(magenta$bold('randomNames',paste(paste0(unlist(strsplit(as.character(packageVersion("randomNames")), "[.]")), c(".", "-", ".", "")), collapse=""),' (4-21-2021). For help: >help("randomNames") or visit https://centerforassessment.github.io/randomNames'))
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ randomNames
[![Build Status](https://travis-ci.org/CenterForAssessment/randomNames.svg?branch=master)](https://travis-ci.org/CenterForAssessment/randomNames)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/centerforassessment/randomNames?branch=master&svg=true)](https://ci.appveyor.com/project/centerforassessment/randomNames)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/randomNames)](http://cran.r-project.org/package=randomNames)
[![Development Version](https://img.shields.io/badge/devel-1.4--0.0-brightgreen.svg)](https://github.com/CenterForAssessment/randomNames)
[![Development Version](https://img.shields.io/badge/devel-1.5--0.0-brightgreen.svg)](https://github.com/CenterForAssessment/randomNames)
[![Rstudio mirror downloads](http://cranlogs.r-pkg.org/badges/grand-total/randomNames)](https://github.com/metacran/cranlogs.app)
[![License](http://img.shields.io/badge/license-GPL%203-brightgreen.svg?style=flat)](https://github.com/CenterForAssessment/randomNames/blob/master/LICENSE.md)
[![https://gitter.im/CenterForAssessment/randomNames](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/CenterForAssessment/randomNames?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Expand Down
8 changes: 5 additions & 3 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ navbar:
- text: News
menu:
- text: "Release notes"
- text: "randomNames 1.5-0.0"
href: articles/releases/randomNames-1.5-0.0.html
- text: "randomNames 1.4-0.0"
href: articles/releases/randomNames-1.4-0.0.html
- text: "randomNames 1.0-0.0"
Expand All @@ -31,10 +33,10 @@ navbar:
- text: "Change log"
href: news/index.html
right:
- icon: fa-github
- icon: fab fa-github
href: https://github.com/centerforassessment/randomNames
- icon: fa-twitter
href: https://twitter.com/intent/tweet?url=https%3A%2F%2Fcenterforassessment.github.io%2FrandomNames%2Findex.html&via=dbetebenner&text=randomNames%3A%20R%20package%20to%20generate%20random%20given%20and%20surnames&hashtags=rstats%2C%20randomNames
- icon: fab fa-twitter
href: https://twitter.com/intent/tweet?url=https%3A%2F%2Fcenterforassessment.github.io%2FrandomNames%2Findex.html&via=dbetebenner&text=randomNames%3A%20R%20package%20to%20generate%20random%20given%20and%20surnames&hashtags=rstats%2CrandomNames


reference:
Expand Down
Binary file modified data/randomNamesData.rda
Binary file not shown.
14 changes: 9 additions & 5 deletions docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b725845

Please sign in to comment.