Skip to content

Commit

Permalink
prepare for cran
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed May 30, 2018
1 parent 5a2973c commit fb817e9
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shinyWidgets
Title: Custom Inputs Widgets for Shiny
Version: 0.4.2.950
Version: 0.4.3
Authors@R: c(
person("Victor", "Perrier", email = "victor.perrier@dreamrs.fr", role = c("aut", "cre")),
person("Fanny", "Meyer", email = "fanny.meyer@dreamrs.fr", role = c("aut")),
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
shinyWidgets 0.4.2.900
======================

* New functions to customize `sliderInput` : `chooseSliderSkin` and `setSliderColor` by [@DivadNojnarg](https://github.com/DivadNojnarg)
* New functions to customize `sliderInput` : `chooseSliderSkin` and `setSliderColor` by [@DivadNojnarg](https://github.com/DivadNojnarg).
* New function `downloadBttn`, a `downloadButton` with custom appearance.
* New widget `airDatepickerInput`, to select single, multiple and range of dates. You can also select time. And two shortcuts to select months or years.
* New function to add spinners when outputs are recalculating.
* New function `useShinydashboard` to use functions from 'shinydashboard' into a classic 'shiny' app, specifically `valueBox`, `infoBox` and `box`.
* New functions `setBackgroundColor` and `setBackgroundImage` to change background color or use an image, by [@DivadNojnarg](https://github.com/DivadNojnarg).


shinyWidgets 0.4.2
Expand Down
2 changes: 1 addition & 1 deletion R/input-dropdown.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' @param up Logical. Display the dropdown menu above.
#' @param width Width of the dropdown menu content.
#' @param inputId Optional, id for the button, the button act like an \code{actionButton},
#' and you can use the id to toggle the droddown menu server-side.
#' and you can use the id to toggle the dropdown menu server-side.
#'
#'
#' @note \code{pickerInput} doesn't work inside \code{dropdownButton} because that's also a
Expand Down
2 changes: 1 addition & 1 deletion R/setSliderColor.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' @description Edit the color of the original shiny's sliderInputs
#'
#' @param color The \code{color} to apply. This can also be a vector of colors if you want to customize more than 1 slider. Either
#' pass the name of the color such as 'Chartreuse ' and 'Chocolate 'or the HEX notation such as '#7FFF00' and '#D2691E'.
#' pass the name of the color such as 'Chartreuse ' and 'Chocolate 'or the HEX notation such as \code{'#7FFF00'} and \code{'#D2691E'}.
#' @param sliderId The \code{id} of the customized slider(s). This can be a vector like \code{c(1, 2)}, if you want to modify the 2 first sliders.
#' However, if you only want to modify the second slider, just use the value 2.
#'
Expand Down
2 changes: 1 addition & 1 deletion R/sw-dropdown.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#' @param width Width of the dropdown menu content.
#' @param animate Add animation on the dropdown, can be logical or result of \code{animateOptions}.
#' @param inputId Optional, id for the button, the button act like an \code{actionButton},
#' and you can use the id to toggle the droddown menu server-side. If set button will have id \code{'sw-btn-inputId'}.
#' and you can use the id to toggle the dropdown menu server-side. If set button will have id \code{'sw-btn-inputId'}.
#'
#' @details
#' This function is similar to \code{dropdownButton} but don't use Boostrap, so you can put \code{pickerInput} in it.
Expand Down
10 changes: 4 additions & 6 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Test environments

* local Windows 10 install, R 3.4.4
* ubuntu 12.04 (on travis-ci), R 3.4.4
* local Windows 10 install, R 3.5.0
* ubuntu 12.04 (on travis-ci), R 3.5.0
* win-builder (devel and release)

## R CMD check results
Expand All @@ -11,14 +11,12 @@

## Reverse dependencies

* I have run R CMD check on the 5 dependencies.
* I have run R CMD check on the 7 dependencies.
1 note for one package, not related (installed package size).

-------

Re-submitting without dead link, sorry.
This version includes some bug fixes, some minor improvements, and
some new features.
This version includes some new features.

Thanks!
Victor
2 changes: 1 addition & 1 deletion man/dropdown.Rd

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

2 changes: 1 addition & 1 deletion man/dropdownButton.Rd

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

2 changes: 1 addition & 1 deletion man/setSliderColor.Rd

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

Binary file modified revdep/checks.rds
Binary file not shown.

0 comments on commit fb817e9

Please sign in to comment.