Skip to content

Commit b725845

Browse files
authored
Merge pull request #71 from dbetebenner/master
Fixing whitespace and updating package
2 parents 71ac7fa + c09b34d commit b725845

31 files changed

Lines changed: 517 additions & 210 deletions

File tree

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Package: randomNames
2-
Version: 1.4-0.0
3-
Date: 2019-3-7
2+
Version: 1.5-0.0
3+
Date: 2021-4-21
44
Title: Generate Random Given and Surnames
5-
Depends: R (>= 3.3)
5+
Depends: R (>= 4.0)
66
Suggests: knitr, rmarkdown
7-
Imports: crayon, data.table (>= 1.12.0), toOrdinal (>= 1.1)
7+
Imports: crayon, data.table (>= 1.14.0), toOrdinal (>= 1.1)
88
Authors@R: c(person(given=c("Damian", "W."), family="Betebenner", email="[email protected]", role=c("aut", "cre")))
99
Maintainer: Damian W. Betebenner <[email protected]>
1010
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.

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# randomNames 1.5-0.0
2+
3+
* Fixed names with embedded spaces as the first character.
4+
15
# randomNames 1.4-0.0
26

37
* Fixed issue with NAs embedded in ethnicity and gender returning wrong data later.

R/zzz.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ function(libname, pkgname) {
66
`.onAttach` <-
77
function(libname, pkgname) {
88
if (interactive()) {
9-
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'))
9+
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'))
1010
}
1111
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ randomNames
55
[![Build Status](https://travis-ci.org/CenterForAssessment/randomNames.svg?branch=master)](https://travis-ci.org/CenterForAssessment/randomNames)
66
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/centerforassessment/randomNames?branch=master&svg=true)](https://ci.appveyor.com/project/centerforassessment/randomNames)
77
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/randomNames)](http://cran.r-project.org/package=randomNames)
8-
[![Development Version](https://img.shields.io/badge/devel-1.4--0.0-brightgreen.svg)](https://github.com/CenterForAssessment/randomNames)
8+
[![Development Version](https://img.shields.io/badge/devel-1.5--0.0-brightgreen.svg)](https://github.com/CenterForAssessment/randomNames)
99
[![Rstudio mirror downloads](http://cranlogs.r-pkg.org/badges/grand-total/randomNames)](https://github.com/metacran/cranlogs.app)
1010
[![License](http://img.shields.io/badge/license-GPL%203-brightgreen.svg?style=flat)](https://github.com/CenterForAssessment/randomNames/blob/master/LICENSE.md)
1111
[![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)

_pkgdown.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ navbar:
2121
- text: News
2222
menu:
2323
- text: "Release notes"
24+
- text: "randomNames 1.5-0.0"
25+
href: articles/releases/randomNames-1.5-0.0.html
2426
- text: "randomNames 1.4-0.0"
2527
href: articles/releases/randomNames-1.4-0.0.html
2628
- text: "randomNames 1.0-0.0"
@@ -31,10 +33,10 @@ navbar:
3133
- text: "Change log"
3234
href: news/index.html
3335
right:
34-
- icon: fa-github
36+
- icon: fab fa-github
3537
href: https://github.com/centerforassessment/randomNames
36-
- icon: fa-twitter
37-
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
38+
- icon: fab fa-twitter
39+
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
3840

3941

4042
reference:

data/randomNamesData.rda

-20 Bytes
Binary file not shown.

docs/articles/index.html

Lines changed: 9 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)