CenterForAssessment / randomNames

Function to generate 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.
https://centerforassessment.github.io/randomNames
Other
32 stars 6 forks source link

Use `length.out` instead of `length` in `rep()` to remove partial argument matching #82

Closed joshwlambert closed 7 months ago

joshwlambert commented 10 months ago

This pull request fixes #81, by specifying the full length.out argument to rep().

Apologies for the git diff not identifying the specific changes to the randomNames() function, it may be due to my IDE changing the indentation encoding, I have tried to make sure the indentation size is the same as before.