Skip to content

Commit 491b588

Browse files
committed
fix dangling ref
rebuild recheck
1 parent b8d6e20 commit 491b588

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

R/ft.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ BinomialOutcomeTreatment <- function(...,
193193
return(res)
194194
}
195195
get_transform <- function() {
196-
td <- get('transform', envir = settings$state, inherits = FALSE)
196+
res <- get('transform', envir = settings$state, inherits = FALSE)
197197
return(res)
198198
}
199199
obj$fit = fit
@@ -377,7 +377,7 @@ NumericOutcomeTreatment <- function(...,
377377
return(res)
378378
}
379379
get_transform <- function() {
380-
td <- get('transform', envir = settings$state, inherits = FALSE)
380+
res <- get('transform', envir = settings$state, inherits = FALSE)
381381
return(res)
382382
}
383383
obj$fit = fit
@@ -535,7 +535,7 @@ MultinomialOutcomeTreatment <- function(...,
535535
return(res)
536536
}
537537
get_transform <- function() {
538-
td <- get('transform', envir = settings$state, inherits = FALSE)
538+
res <- get('transform', envir = settings$state, inherits = FALSE)
539539
return(res)
540540
}
541541
obj$fit = fit
@@ -674,7 +674,7 @@ UnsupervisedTreatment <- function(...,
674674
return(res)
675675
}
676676
get_transform <- function() {
677-
td <- get('transform', envir = settings$state, inherits = FALSE)
677+
res <- get('transform', envir = settings$state, inherits = FALSE)
678678
return(res)
679679
}
680680
obj$fit = fit

cran-comments.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
### OSX
66

77
R CMD check --as-cran vtreat_1.4.8.tar.gz
8-
* using R version 3.6.0 (2019-04-26)
98
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
109
* using session charset: UTF-8
1110
* using option ‘--as-cran’
@@ -19,6 +18,18 @@
1918
### Windows
2019

2120
rhub::check_for_cran()
21+
978#> * using R Under development (unstable) (2019-11-08 r77393)
22+
979#> * using platform: x86_64-w64-mingw32 (64-bit)
23+
980#> * using session charset: ISO8859-1
24+
981#> * using option '--as-cran'
25+
982#> * checking for file 'vtreat/DESCRIPTION' ... OK
26+
983#> * checking extension type ... Package
27+
984#> * this is package 'vtreat' version '1.4.8'
28+
985#> * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
29+
986#> Maintainer: 'John Mount '
30+
1028#> * checking sizes of PDF files under 'inst/doc' ... NOTE
31+
1029#> Unable to find GhostScript executable to run checks on size reduction
32+
1044#> Status: 1 NOTE
2233
GhostScript NOTE is a property of the test environment, not of the package.
2334

2435
## Downstream dependencies

extras/check_reverse_dependencies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ packageVersion(package)
1414
date()
1515
```
1616

17-
## [1] "Sat Dec 7 18:54:59 2019"
17+
## [1] "Sun Dec 8 10:30:26 2019"
1818

1919
``` r
2020
parallelCluster <- NULL
@@ -33,7 +33,7 @@ setwd(td)
3333
print(td)
3434
```
3535

36-
## [1] "/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//Rtmpyjdpzy"
36+
## [1] "/var/folders/7q/h_jp2vj131g5799gfnpzhdp80000gn/T//RtmpFPPBpU"
3737

3838
``` r
3939
options(repos = c(CRAN="https://cloud.r-project.org"))

0 commit comments

Comments
 (0)