Yihui Xie
cb383d4f62
serverInfo() returns list(shinyServer=FALSE) by default, per suggestion of @trestletech
2014-06-02 15:18:54 -05:00
Yihui Xie
451f950d0d
tweak after #492 : capture.output() does withVisible() and print() if necessary
2014-06-02 15:18:54 -05:00
Yihui Xie
bd0eae0961
Merge pull request #481 from saurfang/master
...
Add inline option for RadioButton and checkboxGroupInput
2014-06-02 15:03:40 -05:00
Joe Cheng
53a401f847
Merge pull request #495 from yihui/feature/serverInfo
...
add functions serverInfo() (exported) and setServerInfo() (not exported)
2014-06-02 09:16:51 -07:00
JJ Allaire
046d712d6a
Revert "Allow Shiny apps to appear inside other tags"
...
This reverts commit 9ab2f5338e .
2014-06-01 09:59:50 -04:00
Joe Cheng
9ab2f5338e
Allow Shiny apps to appear inside other tags
2014-05-31 09:06:54 -07:00
Joe Cheng
dde266768c
Restore HTML generating functions
...
These functions were temporarily ripped out of Shiny and moved
to the htmltools package. We've discovered that it's safe to
keep including them in shiny; as long as the functions in shiny
and the functions in htmltools are identical, the user won't
receive a conflict warning.
2014-05-31 08:06:03 -07:00
Joe Cheng
01c81675f7
Make S3 method consistent with base
2014-05-31 08:06:03 -07:00
Joe Cheng
eb9f5f9025
Dependency fixes
...
1) Give bootstrap deps a path so they can be used in static docs
2) Resolve dependencies before rendering page (whoops)
2014-05-31 08:06:03 -07:00
Joe Cheng
eb4d4d7437
Adapt to htmltools 0.2.1 API
2014-05-31 08:06:03 -07:00
Joe Cheng
cc82fff5d3
Add S3 method for turning render function into tags
2014-05-31 08:06:03 -07:00
Joe Cheng
44a795bf18
Extract HTML functionality to htmltools library
2014-05-31 08:06:03 -07:00
Joe Cheng
a0df8f3490
Merge pull request #491 from rstudio/bugfix/validation-silent
...
Suppress validation errors from printing at console
2014-05-28 13:14:02 -07:00
Winston Chang
6c14789362
Merge pull request #492 from rstudio/bugfix/0.10misc
...
Miscellaneous bug fixes
2014-05-23 14:13:29 -05:00
Winston Chang
880a12b914
Merge pull request #489 from yihui/bugfix/428
...
Fixes #428
2014-05-23 14:09:43 -05:00
Joe Cheng
93d69400e6
Merge pull request #486 from yihui/feature/widget-width
...
Width of selectize and sliders
2014-05-22 15:43:34 -07:00
Joe Cheng
d4829e49ea
Doc tweak to validation
2014-05-21 19:57:18 -07:00
Joe Cheng
1c56be3a6b
Suppress validation errors from printing at console
2014-05-21 19:51:24 -07:00
Joe Cheng
b86f9086ef
Avoid black background when renderPlot doesn't actually plot
2014-05-21 19:28:51 -07:00
Joe Cheng
343ca12c6f
Don't print NULL to the console during renderPrint
2014-05-21 19:28:28 -07:00
Yihui Xie
3679e8795f
fix #220 : the first entry is not necessarily a directory
...
in that case, we use dirname() on the first entry
2014-05-20 01:43:48 -05:00
Yihui Xie
39b4805a76
make sure the selected argument never contains names; fixes #428
2014-05-20 01:31:14 -05:00
Yihui Xie
85e020a513
examples of the 'width' argument
2014-05-19 11:24:56 -05:00
Yihui Xie
5b6268f5bc
add width to selectInput() as well
2014-05-19 11:23:52 -05:00
saurfang
063b58eebb
Merge remote-tracking branch 'upstream/master'
2014-05-17 16:33:25 -04:00
Yihui Xie
f8b38e4683
validateCssUnit(width) for selectize and slider
2014-05-17 01:32:01 -05:00
Yihui Xie
831fba9a53
add a 'width' option to selectizeInput() and sliderInput() to specify the width of these widgets
2014-05-17 01:28:27 -05:00
Joe Cheng
b1f233cd8c
Merge remote-tracking branch 'origin/pr/485'
...
Conflicts:
NEWS
2014-05-16 23:22:01 -07:00
Yihui Xie
3d0caba695
\emph cannot be used in \code{}: only \var and \link are allowed
2014-05-17 00:53:57 -05:00
Yihui Xie
79c92f1f8e
fixes #429 , which is yet yet another WAT of RJSONIO
...
perhaps we really should consider switching to jsonlite...
2014-05-17 00:43:13 -05:00
Yihui Xie
9d8d04ae28
add a 'width' argument so we can control the width of the text output
2014-05-16 14:17:50 -05:00
Yihui Xie
a42f046ff8
capture.output() has already considered withVisible(), and we do not need to redo it
2014-05-16 14:12:50 -05:00
Yihui Xie
01c24a578b
add functions serverInfo() (exported) and setServerInfo() (not exported)
...
we can call shiny:::setServerInfo() in Shiny Server before launching an app, so that the app author can make use of the info to decide the behavior of the app
2014-05-16 13:22:22 -05:00
saurfang
6b82354129
Merge remote-tracking branch 'upstream/master'
2014-05-15 12:30:52 -04:00
Joe Cheng
b00fbda1ae
Make sure random bytes are formatted with 2 chars
2014-05-14 17:11:18 -07:00
saurfang
bab200ff03
Merge remote-tracking branch 'upstream/master'
2014-05-14 15:44:23 -04:00
Joe Cheng
3189c748b5
Merge pull request #479 from rstudio/not-just-last-expressions
...
Allow shinyUI and shinyServer calls to not be the last expression in ui....
2014-05-14 09:06:28 -07:00
Joe Cheng
2700643cbf
Merge pull request #480 from jcheng5/bugfix/renderplot-height-overlap
...
Fix #477 : renderPlot in shinydoc with height > 400 overlaps subsequent c...
2014-05-14 09:06:15 -07:00
saurfang
b0f95cd9e0
Add inline options
...
inline options for radiobuttons and checkboxgroupinput to allow choices
rendered horizontally
2014-05-13 17:18:20 -04:00
Joe Cheng
f21aefe9e9
Merge pull request #467 from yihui/cosmetic
...
Some cosmetic changes regarding NULL
2014-05-10 02:13:25 -07:00
Joe Cheng
8babbd69d8
Merge branch 'session-documentation'
...
Conflicts:
inst/staticdocs/index.r
2014-05-09 19:41:19 -07:00
Joe Cheng
11bf02eb56
Merge pull request #478 from rstudio/remove-literate-programming
...
Stop using literate programming
2014-05-09 19:39:58 -07:00
Joe Cheng
f5fa7d6d4b
Fix #477 : renderPlot in shinydoc with height > 400 overlaps subsequent content
2014-05-09 18:14:28 -07:00
Joe Cheng
77bff6e6c2
Allow shinyUI and shinyServer calls to not be the last expression in ui.R and server.R
2014-05-08 16:14:53 -07:00
Joe Cheng
e84a76cebd
Merge pull request #457 from yihui/feature/unsatisfied-input
...
A first attempt of the custom error type for unsatisfied input dependencies
2014-05-08 16:12:58 -07:00
Yihui Xie
342265be94
put the custom class(es) in the first as Hadley suggested
2014-05-08 15:04:49 -07:00
Joe Cheng
dee6fbcb8f
Stop using literate programming
...
Couldn't build from source without knitr installed, and knitr
is not a required dependency
2014-05-08 14:54:11 -07:00
Joe Cheng
ca27a9e31a
Validation refactoring
...
- Move validation logic from shinywrappers.R to utils.R
- Don't coerce validation results; fail if not FALSE, NULL, or character
- Reverse order of stopWithCondition args
2014-05-07 16:20:07 -07:00
Joe Cheng
18d0f45cf9
Refactoring/renaming of validation
...
- validateInput renamed to validate
- validateCondition renamed to need
- Removed ability to provide "bare" conditions. It is
still possible to fail validation silently by passing
FALSE as the second argument to need()
- Rather than using a two-element list to convey results,
use a single result protocol; NULL is success, FALSE is
silent failure, string is failure with message
- Tweak "missing input" semantics, add tests
2014-05-07 16:09:06 -07:00
Joe Cheng
00b40d64a1
Remove delayedAssign which causes problems for downstream packages
...
See comment on d7eb9b2d18
2014-05-06 20:40:57 -07:00