Merge branch 'master' into rc-v1.6.0

* master:
  Reduce promises version to 1.1.0 and safeguard visibility test (#3252)
This commit is contained in:
Barret Schloerke
2021-01-12 13:31:09 -05:00
3 changed files with 7 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ Imports:
R6 (>= 2.0),
sourcetools,
later (>= 1.0.0),
promises (>= 1.1.1.9001),
promises (>= 1.1.0),
tools,
crayon,
rlang (>= 0.4.9),

View File

@@ -923,6 +923,9 @@ test_that("bindCache visibility", {
test_that("bindCache reactive visibility - async", {
# only test if promises handles visibility
skip_if_not_installed("promises", "1.1.1.9001")
cache <- cachem::cache_mem()
k <- reactiveVal(0)
res <- NULL

View File

@@ -27,6 +27,9 @@ test_that("hybrid_chain preserves visibility", {
test_that("hybrid_chain preserves visibility - async", {
# only test if promises handles visibility
skip_if_not_installed("promises", "1.1.1.9001")
res <- NULL
hybrid_chain(
promise_resolve(1),