Skip to content

Commit

Permalink
prepare for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Sep 1, 2022
1 parent 058b526 commit f96a280
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: esquisse
Type: Package
Title: Explore and Visualize Your Data Interactively
Version: 1.1.1.9000
Version: 1.1.2
Authors@R: c(person("Fanny", "Meyer", role = c("aut")),
person("Victor", "Perrier", email = "[email protected]", role = c("aut", "cre")),
person("Ian", "Carroll", comment = "Faceting support", role = "ctb"),
Expand Down
9 changes: 6 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# esquisse (unreleased)
# esquisse 1.1.2

* New translations added:
* i18n: new translations added:
+ turkish, activate with `set_i18n("tr")`, thanks to [@sbalci](https://github.com/sbalci)
+ italian, activate with `set_i18n("it")`, thanks to [@SantiagoGiordano](https://github.com/SantiagoGiordano)
+ chinese, activate with `set_i18n("cn")`, thanks to [@xmusphlkg](https://github.com/xmusphlkg)
+ korean, activate with `set_i18n("kr")`, thanks to [@ChangwooLim](https://github.com/ChangwooLim)
* Bootstrap 5 support.



# esquisse 1.1.1

* Play/Pause button is back: it allow to set reactivity in "pause" when doing multiple changes, and so avoiding to render intermediate plots.
* New translations added:
* i18n: new translations added:
+ spanish, activate with `set_i18n("es")`, thanks to [@dnldelarosa](https://github.com/dnldelarosa)
+ albanian (updated), activate with `set_i18n("al")`, thanks to [@EGjika](https://github.com/EGjika)
+ portuguese, activate with `set_i18n("pt")`, thanks to [@mribeirodantas](https://github.com/mribeirodantas)
Expand Down
7 changes: 3 additions & 4 deletions R/esquisser.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


#' @title An add-in to easily create plots with ggplot2
#'
#'
#' @description Select data to be used and map variables to aesthetics to produce a chart,
#' customize common elements and get code to reproduce the chart.
#'
Expand Down Expand Up @@ -46,7 +46,7 @@ esquisser <- function(data = NULL,
controls = c("labs", "parameters", "appearance", "filters", "code"),
viewer = getOption(x = "esquisse.viewer", default = "dialog")) {
viewer <- match.arg(viewer, choices = c("dialog", "pane", "browser"))

if (!rstudioapi::isAvailable("1.2")) {
warning("Esquisse may not work properly, try updating RStudio.", call. = FALSE)
}
Expand All @@ -67,8 +67,7 @@ esquisser <- function(data = NULL,
} else {
inviewer <- dialogViewer(
paste(
"Les grandes personnes ne comprennent jamais rien toutes seules, et c'est fatigant,",
"pour les enfants, de toujours et toujours leur donner des explications."
"Le petit prince, qui me posait beaucoup de questions, ne semblait jamais entendre les miennes."
),
width = 1100,
height = 750
Expand Down
4 changes: 2 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Test environments
* local R installation, R 4.1.2
* ubuntu 20.04, Windows 10, macOS (on GitHub Actions), R 4.2.0
* local Ubuntu 22.04.1 LTS install, R 4.2.1
* ubuntu 20.04, Windows 10, macOS (on GitHub Actions), R 4.2.1
* win-builder (devel)

## R CMD check results
Expand Down

0 comments on commit f96a280

Please sign in to comment.