Skip to content

Commit

Permalink
Release candidate 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RMHogervorst committed Oct 14, 2024
1 parent 3aad506 commit b88cf2c
Show file tree
Hide file tree
Showing 8 changed files with 156 additions and 24 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Suggests:
ipaddress,
stringi,
spelling
RoxygenNote: 7.2.3
RoxygenNote: 7.3.2
Depends:
R (>= 2.10)
Collate:
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export(ElementProvider_nl_NL)
export(FileProvider)
export(FileProvider_en_US)
export(FraudsterClient)
export(ISBNProvider)
export(InternetProvider)
export(InternetProvider_bg_BG)
export(InternetProvider_cs_CZ)
Expand Down
3 changes: 1 addition & 2 deletions R/charlatan-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#' @importFrom whisker whisker.render
#' @importFrom tibble as_tibble
#' @aliases charlatan
#' @docType package
#' @keywords package
#' @author Roel M. Hogervorst \email{[email protected]}
#' @author Scott Chamberlain
Expand Down Expand Up @@ -50,4 +49,4 @@
#' x <- ColorProvider_en_US$new()
#' x$color_name()
#' x$hex_color()
NULL
"_PACKAGE"
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ Reasons to use `charlatan`:
cran version


```r
``` r
install.packages("charlatan")
```

dev version


```r
``` r
remotes::install_github("ropensci/charlatan")
```


```r
``` r
library("charlatan")
#> Error in library("charlatan"): there is no package called 'charlatan'
set.seed(12345)
Expand All @@ -81,15 +81,15 @@ set.seed(12345)
... for all fake data operations


```r
``` r
x <- fraudster()
#> Error in fraudster(): could not find function "fraudster"
x$job()
#> Error in eval(expr, envir, enclos): object 'x' not found
#> Error: object 'x' not found
x$name()
#> Error in eval(expr, envir, enclos): object 'x' not found
#> Error: object 'x' not found
x$color_name()
#> Error in eval(expr, envir, enclos): object 'x' not found
#> Error: object 'x' not found
```

## locale support
Expand All @@ -99,7 +99,7 @@ Adding more locales through time, e.g.,
Locale support for job data


```r
``` r
ch_job(locale = "en_US", n = 3)
#> Error in ch_job(locale = "en_US", n = 3): could not find function "ch_job"
ch_job(locale = "fr_FR", n = 3)
Expand All @@ -115,7 +115,7 @@ ch_job(locale = "zh_TW", n = 3)
For colors:


```r
``` r
ch_color_name(locale = "en_US", n = 3)
#> Error in ch_color_name(locale = "en_US", n = 3): could not find function "ch_color_name"
ch_color_name(locale = "uk_UA", n = 3)
Expand All @@ -127,13 +127,13 @@ More coming soon ...
## generate a dataset


```r
``` r
ch_generate()
#> Error in ch_generate(): could not find function "ch_generate"
```


```r
``` r
ch_generate("job", "phone_number", n = 30)
#> Error in ch_generate("job", "phone_number", n = 30): could not find function "ch_generate"
```
Expand All @@ -142,13 +142,13 @@ ch_generate("job", "phone_number", n = 30)
## person name


```r
``` r
ch_name()
#> Error in ch_name(): could not find function "ch_name"
```


```r
``` r
ch_name(10)
#> Error in ch_name(10): could not find function "ch_name"
```
Expand All @@ -157,51 +157,51 @@ ch_name(10)
## phone number


```r
``` r
ch_phone_number()
#> Error in ch_phone_number(): could not find function "ch_phone_number"
```


```r
``` r
ch_phone_number(10)
#> Error in ch_phone_number(10): could not find function "ch_phone_number"
```

## job


```r
``` r
ch_job()
#> Error in ch_job(): could not find function "ch_job"
```


```r
``` r
ch_job(10)
#> Error in ch_job(10): could not find function "ch_job"
```

## credit cards


```r
``` r
ch_credit_card_provider()
#> Error in ch_credit_card_provider(): could not find function "ch_credit_card_provider"
ch_credit_card_provider(n = 4)
#> Error in ch_credit_card_provider(n = 4): could not find function "ch_credit_card_provider"
```


```r
``` r
ch_credit_card_number()
#> Error in ch_credit_card_number(): could not find function "ch_credit_card_number"
ch_credit_card_number(n = 10)
#> Error in ch_credit_card_number(n = 10): could not find function "ch_credit_card_number"
```


```r
``` r
ch_credit_card_security_code()
#> Error in ch_credit_card_security_code(): could not find function "ch_credit_card_security_code"
ch_credit_card_security_code(10)
Expand Down
112 changes: 112 additions & 0 deletions man/ISBNProvider.Rd

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

1 change: 0 additions & 1 deletion man/SequenceProvider.Rd

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

8 changes: 8 additions & 0 deletions man/charlatan-package.Rd

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

13 changes: 13 additions & 0 deletions man/checksum_util.Rd

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

0 comments on commit b88cf2c

Please sign in to comment.