ropensci / charlatan

Create fake data in R

Home Page:https://docs.ropensci.org/charlatan/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notify other maintainers of the changes in next version

RMHogervorst opened this issue · comments

This is a task to let the maintainers of downstream packages know that I'm going to change a few things.

DataFakeR

Uses charlatan::ch_name
The functionality of the ch_name remains the same, but it is wise to set the locale to en_US
to make it clear what locale you want to use.

ch_name(n=1, locale = "en_US")

fakir

Uses

importFrom(charlatan,ch_color_name)
importFrom(charlatan,ch_company)
importFrom(charlatan,ch_credit_card_provider)
importFrom(charlatan,ch_job)
charlatan::ch_element_symbol(1)
@importFrom charlatan ch_name ch_credit_card_provider ch_job
@importFrom charlatan ch_name ch_credit_card_provider ch_job

All functionality remains the same, however I will throw a warning about the locale.
If you want to prevent the warning in future release when it hits CRAN, set the "en_US" locale like so:

ch_color_name(n=1, locale="en_US")

salty

uses charlatan::ch_name(10)
The functionality of the ch_name remains the same, but it is wise to set the locale to en_US
to make it clear what locale you want to use.

ch_name(n=1, locale = "en_US")