Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMount committed Dec 31, 2018
1 parent e5eeb31 commit a53c450
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: replyr
Type: Package
Title: Patches to Use 'dplyr' on Remote Data Sources
Version: 0.9.8
Date: 2018-09-18
Version: 0.9.9
Date: 2018-12-31
Authors@R: c(
person("John", "Mount", email = "jmount@win-vector.com", role = c("aut", "cre")),
person("Nina", "Zumel", email = "nzumel@win-vector.com", role = c("aut")),
Expand All @@ -27,7 +27,7 @@ Imports:
dplyr (>= 0.7.0),
rlang (>= 0.2.0),
DBI
RoxygenNote: 6.1.0
RoxygenNote: 6.1.1
Suggests: testthat,
knitr,
rmarkdown,
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ importFrom(dplyr,funs)
importFrom(dplyr,inner_join)
importFrom(dplyr,left_join)
importFrom(dplyr,mutate)
importFrom(dplyr,n)
importFrom(dplyr,summarise_all)
importFrom(dplyr,summarize)
importFrom(dplyr,tbl)
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

# replyr 0.9.9 2018-12-31

* Work around https://github.com/tidyverse/dplyr/issues/4062 .

# replyr 0.9.8 2018-09-18

* Force parent.frame.
Expand Down
5 changes: 3 additions & 2 deletions R/joinController.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@


#' @importFrom dplyr n
NULL

getConcreteTableName <- function(handle) {
# TODO: get a safe way to get the concrete name
# https://github.com/tidyverse/dplyr/issues/2824
Expand Down Expand Up @@ -299,7 +302,6 @@ tableDescription <- function(tableName,
#' @export
#'
keysAreUnique <- function(tDesc) {
n <- dplyr::n # declare not unbound
isunique <- vapply(seq_len(replyr_nrow(tDesc)),
function(i) {
gi <- tDesc$handle[[i]]
Expand Down Expand Up @@ -750,7 +752,6 @@ inspectDescrAndJoinPlan <- function(tDesc, columnJoinPlan,
buildJoinPlan <- function(tDesc,
...,
check= TRUE) {
n <- dplyr::n # declare not an unbound ref
count <- NULL # declare not an unbound ref
ntab <- replyr_nrow(tDesc)
if(length(unique(tDesc$tableName))!=ntab) {
Expand Down

0 comments on commit a53c450

Please sign in to comment.