Joe Cheng
dce66945ec
Merge pull request #340 from yihui/bug/null-choices
...
fix the bug when choices=NULL in updateCheckboxGroupInput()
2014-01-11 13:43:05 -08:00
Joe Cheng
36256856b5
Fix issue #359 : Factors in HTML attributes are being converted to their numeric, not character, equivalent
...
This bug was introduced in 3fc1410 . Essentially it boils down to the difference between stringifying a factor, and stringifying a list containing a factor:
> as.character(factor('a'))
[1] "a"
> as.character(list(factor('a')))
[1] "1"
The call to split that was introduced in this commit ends up generating lists of factors, not vectors of them.
The best fix I could find was to convert all the attribute values to character before doing the split.
2014-01-10 01:48:02 -08:00
Joe Cheng
99c3c2fc80
Ignore NULL tag elements
...
We already do the right thing for NULL tag attributes
2014-01-07 15:59:42 -08:00
Yihui Xie
a86fc96730
yes, it is weird to select by names instead of values; now the weirdness has gone
2013-12-31 17:03:43 -06:00
Joe Cheng
72e3ee1d77
Nicer printing of HTML tags at console
2013-12-21 10:26:45 -08:00
trestletech
b38c57f308
Unlist dates to properly handle date ranges.
2013-12-19 17:58:17 -06:00
Joe Cheng
bccae9d71c
Fix test breakage due to HTML() missing from rendered output
2013-12-13 14:18:06 -08:00
trestletech
0088e9ae77
Preface shiny input classes with shiny. Refine tests to use S3 dispatch.
2013-11-30 15:19:21 -06:00
trestletech
4e37b32976
Enumerate function variables, setup Roxygen to pass R CMD CHECK, added tests.
2013-11-19 20:46:51 -06:00
Winston Chang
7aaba8244b
Add is.reactivevalues function
2013-08-05 14:02:50 -05:00
Joe Cheng
6b2ca7dc80
Merge pull request #182 from jcheng5/reactive-poll
...
Implement reactivePoll and reactiveFileReader
2013-07-04 23:31:16 -07:00
Winston Chang
4268570166
Add tests for escaping in tags
2013-06-20 14:13:11 -05:00
Winston Chang
ead508c0d0
Preserve attributes in child tags
2013-06-20 12:16:51 -05:00
Joe Cheng
d897df6a30
Implement reactivePoll and reactiveFileReader
2013-06-19 09:16:04 -07:00
Winston Chang
6ba9534da4
In tag functions, drop NULL attributes
2013-06-19 00:25:46 -05:00
Winston Chang
ce356fa266
Fix handling of empty tags
2013-06-18 23:52:13 -05:00
Winston Chang
5e46323ca3
Refactor tag()
...
This is much faster when there are large lists of children (and the code is
much simpler!)
2013-06-18 23:33:28 -05:00
Winston Chang
0a7d047246
Add tests for creating nested tags
2013-06-18 22:40:17 -05:00
Winston Chang
3fa534a3eb
Add tests for adding children
2013-06-18 22:39:34 -05:00
Winston Chang
0e1139446e
Merge pull request #149 from jcheng5/observer-priorities
...
Add priority levels to observers
2013-05-10 12:03:28 -07:00
Winston Chang
ed680baaac
selectInput: correctly handle choices with duplicate names. Fixes #157
2013-05-08 18:32:05 -05:00
Winston Chang
619b4824f0
Add tests for withTags
2013-05-06 10:45:41 -05:00
Joe Cheng
5f61267f75
Allow integers or numerics for priority
2013-04-19 15:42:18 -07:00
Joe Cheng
94ee42cebb
Add priority levels to observers
...
Observers can now take priority levels, which allow the user to control
the order of execution. Note that reactive expressions do not have
priority levels; since they are lazily evaluated, it wouldn't make any
sense to speak of priorities.
Another commit will be needed to add an API for changing the priorities
of outputs (probably in outputOptions?).
2013-04-19 10:34:34 -07:00
Winston Chang
63d4798a50
Add tests for parseQueryString
2013-03-12 14:32:52 -05:00
Winston Chang
24656713a5
Remove unnecessary function() in renderXX
2013-02-17 12:02:00 -06:00
Winston Chang
e26f175a8f
Change reactiveXX to renderXX
2013-02-13 12:11:39 -06:00
Winston Chang
2ea38d6ecc
Clean up instances of reactive() and observe()
2013-02-12 15:24:50 -06:00
Winston Chang
5fd723cb80
reactive() and observe() now take expressions
2013-02-12 15:24:49 -06:00
Winston Chang
5d949842eb
Add garbage collection tests
2013-02-11 20:26:23 -06:00
Winston Chang
6c51fffdaa
Fix tests
2013-02-07 14:29:03 -06:00
Joe Cheng
17526711a2
Change resume behavior for Observer
...
Eliminate multiple runs when resumed multiple times
2013-02-07 14:29:03 -06:00
Winston Chang
cf0118e090
Add tests for suspended observers
2013-02-07 14:29:03 -06:00
Winston Chang
b3944127ea
Add note about using local() with isolate()
2013-02-01 15:16:33 -05:00
Winston Chang
d860d13361
Add comments to test
2013-01-30 15:04:50 -05:00
Winston Chang
4b077dbf4c
Observers can be suspended/resumed
2013-01-30 14:47:19 -05:00
Joe Cheng
38b0f71b01
Merge pull request #89 from wch/reactive-invisible
...
Store visibility state of functions called from Observable
2013-01-25 00:47:42 -08:00
Winston Chang
29d2f115f8
Better reactiveText test
2013-01-24 23:10:02 -06:00
Winston Chang
0f677b4891
Add tests for reactive function return visibility
2013-01-24 22:45:07 -06:00
Joe Cheng
330d102f62
Fix test on Linux (sort locale)
2013-01-23 12:17:45 -08:00
Joe Cheng
17c6a0f28a
Merge branch 'reactivePrint-invisible'
...
Conflicts:
man/plotOutput.Rd
2013-01-23 12:09:53 -08:00
Joe Cheng
a91e925221
Remove failure comment
2013-01-23 11:33:06 -08:00
Joe Cheng
6c3289d5a5
Documentation and examples for reactivePrint/reactiveText
2013-01-23 11:32:13 -08:00
Winston Chang
5ace0f13c9
Move validateCssUnit to separate function
2013-01-23 00:02:16 -06:00
Winston Chang
150b978b0e
Fix tests with reactiveValuesToList
2013-01-22 23:22:41 -06:00
Winston Chang
ec4f350baa
reactivevalues_to_list: add all.names option
2013-01-22 14:53:14 -06:00
Winston Chang
3c864cf6d2
reactiveValues(): improved check for unnamed arguments
2013-01-22 13:59:31 -06:00
Joe Cheng
ff5349fd90
Fix #65 : tagWrite doesn't expect strings except as direct children of tags
2013-01-21 16:31:09 -08:00
Winston Chang
e98cab1f7c
Fix test
2013-01-17 00:11:38 -06:00
Winston Chang
3ebd4595c6
Add read-write wrapper class for ReactiveValues
2013-01-16 19:02:26 -06:00