Compare commits

...

4 Commits

Author SHA1 Message Date
Winston Chang
7b887d2fd5 Bump version 2014-12-08 11:34:52 -06:00
Winston Chang
8d2367ed82 Remove use of rstudio::viewer for R CMD check 2014-12-08 11:33:56 -06:00
Winston Chang
be4eff413d Bump version to 0.10.2.1 2014-10-01 10:44:44 -05:00
Winston Chang
e56571840b Change some examples to donttest, to make CRAN happy 2014-10-01 10:32:10 -05:00
9 changed files with 27 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
Package: shiny
Type: Package
Title: Web Application Framework for R
Version: 0.10.2
Version: 0.10.2.2
Date: 2014-08-19
Author: RStudio, Inc.
Maintainer: Winston Chang <winston@rstudio.com>

10
NEWS
View File

@@ -1,3 +1,13 @@
shiny 0.10.2.2
--------------------------------------------------------------------------------
* Remove use of `rstudio::viewer` in a code example, for R CMD check.
shiny 0.10.2.1
--------------------------------------------------------------------------------
* Changed some examples to use \donttest instead of \dontrun.
shiny 0.10.2
--------------------------------------------------------------------------------

View File

@@ -26,7 +26,7 @@
#' app.
#'
#' @examples
#' \dontrun{
#' \donttest{
#' shinyApp(
#' ui = fluidPage(
#' numericInput("n", "n", 1),
@@ -34,8 +34,7 @@
#' ),
#' server = function(input, output) {
#' output$plot <- renderPlot( plot(head(cars, input$n)) )
#' },
#' options=list(launch.browser = rstudio::viewer)
#' }
#' )
#'
#' shinyAppDir(system.file("examples/01_hello", package="shiny"))

View File

@@ -18,7 +18,7 @@
#' \code{port} and \code{launch.browser}.
#' @export
#' @examples
#' \dontrun{
#' \donttest{
#' runUrl('https://github.com/rstudio/shiny_example/archive/master.tar.gz')
#'
#' # Can run an app from a subdirectory in the archive
@@ -80,7 +80,7 @@ runUrl <- function(url, filetype = NULL, subdir = NULL, ...) {
#' all valid values.
#' @export
#' @examples
#' \dontrun{
#' \donttest{
#' runGist(3239667)
#' runGist("https://gist.github.com/jcheng5/3239667")
#'
@@ -110,7 +110,7 @@ runGist <- function(gist, ...) {
#' Defaults to \code{"master"}.
#' @export
#' @examples
#' \dontrun{
#' \donttest{
#' runGitHub("shiny_example", "rstudio")
#' # or runGitHub("rstudio/shiny_example")
#'

View File

@@ -573,8 +573,9 @@ serviceApp <- function() {
#'
#' # Start app in a subdirectory called myapp
#' runApp("myapp")
#' }
#'
#'
#' \donttest{
#' # Apps can be run without a server.r and ui.r file
#' runApp(list(
#' ui = bootstrapPage(
@@ -758,7 +759,7 @@ stopApp <- function(returnValue = NULL) {
#' code or commentary.
#'
#' @examples
#' \dontrun{
#' \donttest{
#' # List all available examples
#' runExample()
#'

View File

@@ -55,8 +55,9 @@ runApp()
# Start app in a subdirectory called myapp
runApp("myapp")
}
\donttest{
# Apps can be run without a server.r and ui.r file
runApp(list(
ui = bootstrapPage(

View File

@@ -30,7 +30,7 @@ to the \code{shiny.host} option, if set, or \code{"127.0.0.1"} if not.}
Launch Shiny example applications, and optionally, your system's web browser.
}
\examples{
\dontrun{
\donttest{
# List all available examples
runExample()

View File

@@ -49,21 +49,21 @@ and \code{runGist()} are based on \code{runUrl()}, using URL's from GitHub
respectively.
}
\examples{
\dontrun{
\donttest{
runUrl('https://github.com/rstudio/shiny_example/archive/master.tar.gz')
# Can run an app from a subdirectory in the archive
runUrl("https://github.com/rstudio/shiny_example/archive/master.zip",
subdir = "inst/shinyapp/")
}
\dontrun{
\donttest{
runGist(3239667)
runGist("https://gist.github.com/jcheng5/3239667")
# Old URL format without username
runGist("https://gist.github.com/3239667")
}
\dontrun{
\donttest{
runGitHub("shiny_example", "rstudio")
# or runGitHub("rstudio/shiny_example")

View File

@@ -69,7 +69,7 @@ interoperability purposes, such as embedding Shiny apps inside a \pkg{knitr}
document.
}
\examples{
\dontrun{
\donttest{
shinyApp(
ui = fluidPage(
numericInput("n", "n", 1),
@@ -77,8 +77,7 @@ shinyApp(
),
server = function(input, output) {
output$plot <- renderPlot( plot(head(cars, input$n)) )
},
options=list(launch.browser = rstudio::viewer)
}
)
shinyAppDir(system.file("examples/01_hello", package="shiny"))