Skip to content

Commit

Permalink
version 0.4.0 : Approximate String Match
Browse files Browse the repository at this point in the history
  • Loading branch information
caprice-j committed Jan 13, 2017
1 parent b48c10d commit e9d4d2f
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ggbash
Type: Package
Title: A Simpler Syntax for ggplot2
Version: 0.3.3
Version: 0.4.0.9000
Authors@R: c(person('Yasutaka', 'Tanaka', , 'tnk.yasutaka@gmail.com', c('aut', 'cre')))
Description: ggbash provides a bash-like REPL environment,
potentially saving your typing by more than 50%.
Expand Down
23 changes: 23 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# ggbash 0.4.0.9000

## Major Updates

### Approximate String Matching
+ Approximate String Matching reduces programmer's stress because
we usually type tokens only by its consonants.
- aesthetics (`size` by `sz`)
- theme configuration (`legend.key` by `l.key`, or `legend.box.background` by `l.b.b`)

### Interface to other ggplot2 extensions

+ The main scope of ggbash is to make a compiler for default ggplot2 functions.
Handling ggplot2 extension libraries within `ggbash()` arguments
should increase complexity
and might significantly slows down the development process.
As a remedy, `ggbash()` now returns a ggplot2 object (not a string) by `ggbash()`,
and can chain other geom_ or theme_ objects by the normal `+` operator in ggplot2.
- Ex. `ggbash("gg(iris, Sepal.W, Sepal.L) + point(col=Spec, size=5) ") + geom_text_repel(aes(label=Species))`

## Bug Fixes
+ add docs tests of various geoms

# ggbash 0.3.3 (2017-01-11)

## Bug Fixes
Expand Down
2 changes: 2 additions & 0 deletions R/ggbash.R
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ coat_adhoc_syntax_sugar <- function(

#' the core function of ggbash
#'
#' @param cmd A character
#'
#' compile_ggbash returns a built ggplot object.
#'
compile_ggbash <- function(cmd){
Expand Down
7 changes: 6 additions & 1 deletion man/compile_ggbash.Rd

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

0 comments on commit e9d4d2f

Please sign in to comment.