trestletech
fc30ad0935
Fix upper-case test
2019-08-28 11:05:04 -05:00
trestletech
aadf2eb609
Merge remote-tracking branch 'origin/master' into jeff/feature/helpers
2019-08-28 10:29:32 -05:00
trestletech
f872a0c80a
Only use loadSupport if opted-in to autload.r
2019-08-28 10:15:11 -05:00
trestletech
0c23f78ab7
Make loading helpers opt-in.
2019-08-27 15:29:58 -05:00
trestletech
7c10fc3514
Merge remote-tracking branch 'origin/master' into jeff/feature/helpers
2019-08-27 12:54:06 -05:00
Barret Schloerke
a26510b02f
copy in latest man files from htmltools
...
* fix staticdocs test
* remove hasTagAttributes and getTagAttributes from man file
2019-08-26 15:30:27 -04:00
Alan Dipert
a6149390a0
Fix selectInput/selectizeInput handling character(1) options ( #2540 )
...
* selectInput/selectizeInput: Fix handling of character(1) choices
* Re-document
* Add .github to .Rbuildignore
* Expand comment, don't import stats
* Add test for 013-selectize regression
* Expand comment
* Split listify into series of passes
* Thouroughly overhaul and comment choicesWithNames()
* No recursion
* Comment new "flat" choice processing machinery
* Remove unneccesary test of choice tree with depth > 2
* Test for choices idiomatically
* Tweak comment for asCharacter
* Comment odd test, add a new test for single-item list
* Handle empty non-lists correctly, add test
* Add test ensuring empty lists come back named
* Add comment/assertion stipulating processGroupedChoices() takes only lists
2019-08-22 21:23:38 -05:00
trestletech
052e783638
Update to new signature in test.
2019-08-14 14:35:19 -05:00
trestletech
d2deda238a
Move global.R sourcing into an exported load function
2019-08-14 14:25:05 -05:00
trestletech
7317a8304f
Only load top-level R files in R/
...
Ignores nested directories to better follow R package conventions. We want to align well so that this structure is portable to golem.
2019-08-12 15:03:50 -05:00
trestletech
5ea9d70fb4
Require capitalized R/ dir.
2019-08-12 14:59:16 -05:00
trestletech
37569a291b
Fix options test
2019-08-08 14:48:19 -05:00
trestletech
7fe973145d
Test ui/server/app/global sourcing.
2019-08-08 11:44:01 -05:00
trestletech
4c0af8b1c0
Revert "Break master 😈 "
...
This reverts commit f65f7b2f1b .
2019-08-07 15:42:38 -05:00
trestletech
f65f7b2f1b
Break master 😈
...
This reverts commit 545b6c1247 .
2019-08-07 15:29:50 -05:00
trestletech
545b6c1247
Revert "Break master 😈 "
...
This reverts commit 1b0e37f371 .
2019-08-07 14:09:05 -05:00
trestletech
1b0e37f371
Break master 😈
2019-08-07 14:06:55 -05:00
trestletech
4be6bbc681
Load helpers into isolated environment
...
And scaffold out the tests.
2019-08-06 10:49:38 -05:00
trestletech
cfc0ff9cc7
Fix expectations.
2019-08-06 09:10:18 -05:00
trestletech
b4c6ba6962
Add dynamically-generated case-sensitive test.
2019-08-06 09:05:02 -05:00
trestletech
5d95c7a9cb
Load helpers in R/ on app startup
...
No support yet for case-sensitive file systems when loading the dir.
2019-08-05 17:25:14 -05:00
Alan Dipert
1a8b36f06d
selectInput: improve factor handling ( #2524 )
...
* selectInput: handle factor choices, fixes #2515
* Handle complex vectors
* Improve tests
* New item
* Update selectInput() docs to mention factors
* Un-S3-ify listify
* Bracketify the if/else
* Moar Brackets
* Fix travis: we hope
* Use existing asNamedVector function
* Better implementation of asNamedVector
* Clarify comments
2019-07-15 14:51:13 -05:00
Winston Chang
25ccc8a77a
Merge pull request #2484 from rstudio/weakref
...
Use weakrefs for reactive value to reactive expression dependencies
2019-07-03 20:49:33 -05:00
Jeff Allen
f51b5421f2
Add sep argument to renderText ( #2497 )
...
* Add sep argument to renderText
Closes #2469
* Add link to PR
* Regenerate docs
2019-06-14 16:26:28 -05:00
trestletech
396f170738
Bundle deprecated reactive functions into a single file.
2019-06-14 14:20:31 -05:00
Winston Chang
c90c4f3673
Suppress stack traces in tests
2019-06-14 10:59:45 -05:00
Winston Chang
41758858cf
Fix react logging for reactiveValues
2019-06-14 10:58:50 -05:00
Winston Chang
9e133e0ecc
More memory leak tests
2019-06-11 20:21:16 -05:00
Winston Chang
c4e7099229
Reactive expressions keep reference to context
2019-06-11 19:19:52 -05:00
Winston Chang
6310406430
Add tests for observer order
2019-06-04 16:07:04 -05:00
Winston Chang
d26d339f97
Ensure that dependents are sorted
2019-06-04 14:02:36 -05:00
Winston Chang
17afce6fa1
Merge pull request #2429 from rstudio/wch-fastmap
...
Use fastmap as backing store for Map class
2019-05-31 15:39:34 -05:00
Carson Sievert
57cc44f662
Coordmap info should retain discrete limits ( #2410 )
...
* ggplot2 input brushes should retain discrete range mapping, and be imposed in brushedPoints(), closes #1433
* simplify logic and reduce required storage
* get nearPoints() working as well, cleanup
* only remember scale range if ggplot is facet with a free discrete axis
* Use the scale limits (before the range) since the former is specified, that's what is actually shown on the plot
also, introduce within_brush() helper to consistently handle missing values produced by asNumber()
* also use scale limits in older versions of ggplot2
* DRY
* discrete_mapping -> discrete_limits; better comments
* update test expectation
* a couple unit tests
* update comment to reflect new coordmap data structure
* use unlink() not rm()
* add some tests for specifying scale limits and labels
* Use get_limits() if available
* update news
* better name and comment for new asNumber() argument
2019-05-14 16:34:00 -05:00
Winston Chang
7bc0a0ca39
Fix tests that assumed names in a specific order
2019-05-14 10:41:06 -05:00
Winston Chang
555ede03ed
Convert ReactiveValues$.values to use Map
2019-05-08 20:33:52 -05:00
Joe Cheng
87d1db1f2b
Fix test
2019-02-11 10:02:40 -08:00
Joe Cheng
d73c91d4a7
Add unit tests for shared secret check
2019-02-04 14:19:02 -08:00
Barret Schloerke
f2775f2c1d
update rLog$msg output tests
2018-12-14 16:18:20 -05:00
Barret Schloerke
aa1eb0410c
add force option to retrieving reactive info
2018-12-14 14:10:34 -05:00
Barret Schloerke
0f13056aa2
fix rLog$reset to work as an installed package. added a dummy context reactId (different from noReactId)
2018-12-14 12:05:22 -05:00
Barret Schloerke
beecf60db7
use rLog$reset() instead of initializeReactlog() due to changing global binding error
2018-12-13 17:04:12 -05:00
Barret Schloerke
160a2013bc
fix broken test
2018-12-13 16:52:44 -05:00
Barret Schloerke
cf28d7e470
init testing for msg logging
2018-12-13 13:26:42 -05:00
Winston Chang
a60301810f
Update coordmap tests
2018-08-10 19:42:11 -05:00
Joe Cheng
c01abdb6a9
Merge branch 'master' into plot-cache
2018-07-26 15:52:11 -07:00
Winston Chang
86ea023e2e
Update caches from code review feedback
2018-07-19 14:33:53 -05:00
Winston Chang
958ab85297
Add exec_missing parameter
2018-07-12 10:55:26 -05:00
Winston Chang
d1f20a9c73
Add 'missing' parameter to get()
2018-06-29 13:23:47 -05:00
Winston Chang
fe6ad235ac
Add sentinel value cache miss
2018-06-28 23:58:55 -05:00
Winston Chang
9af2775539
Fix absolutePath to correctly handle absolute paths
2018-06-21 15:48:54 -05:00