ProjectMOSAIC / mosaic

Project MOSAIC R package
http://mosaic-web.org/
93 stars 26 forks source link

possible issue with relm() #766

Closed nicholasjhorton closed 4 years ago

nicholasjhorton commented 4 years ago

Screen Shot 2020-08-11 at 12 49 19 PM

nicholasjhorton commented 4 years ago
suppressPackageStartupMessages(library(mosaic))
#> Warning: package 'dplyr' was built under R version 4.0.2
set.seed(104)
numsim <- 1000
mod <- lm(cesd ~ age + sex, data = HELPrct)
boot <- do(numsim) * relm(mod)
#> Warning: `select_()` is deprecated as of dplyr 0.7.0.
#> Please use `select()` instead.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_warnings()` to see where this warning was generated.
sessionInfo()
#> R version 4.0.1 (2020-06-06)
#> Platform: x86_64-apple-darwin17.0 (64-bit)
#> Running under: macOS Catalina 10.15.6
#> 
#> Matrix products: default
#> BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
#> LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
#> 
#> locale:
#> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] mosaic_1.7.0      Matrix_1.2-18     mosaicData_0.18.0 ggformula_0.9.4  
#> [5] ggstance_0.3.4    ggplot2_3.3.2     lattice_0.20-41   dplyr_1.0.1      
#> 
#> loaded via a namespace (and not attached):
#>  [1] Rcpp_1.0.5           pillar_1.4.6         compiler_4.0.1      
#>  [4] highr_0.8            tools_4.0.1          digest_0.6.25       
#>  [7] evaluate_0.14        lifecycle_0.2.0      tibble_3.0.3        
#> [10] gtable_0.3.0         pkgconfig_2.0.3      rlang_0.4.7         
#> [13] crosstalk_1.1.0.1    ggrepel_0.8.2        yaml_2.2.1          
#> [16] xfun_0.16            ggdendro_0.1-20      gridExtra_2.3       
#> [19] withr_2.2.0          stringr_1.4.0        knitr_1.29          
#> [22] hms_0.5.3            htmlwidgets_1.5.1    generics_0.0.2      
#> [25] vctrs_0.3.2          leaflet_2.0.3        grid_4.0.1          
#> [28] tidyselect_1.1.0     mosaicCore_0.6.0     glue_1.4.1          
#> [31] R6_2.4.1             rmarkdown_2.3        polyclip_1.10-0     
#> [34] readr_1.3.1          tidyr_1.1.1          purrr_0.3.4         
#> [37] tweenr_1.0.1         farver_2.0.3         magrittr_1.5        
#> [40] backports_1.1.8      splines_4.0.1        scales_1.1.1        
#> [43] ellipsis_0.3.1       htmltools_0.5.0.9000 MASS_7.3-51.6       
#> [46] ggforce_0.3.2        colorspace_1.4-1     stringi_1.4.6       
#> [49] lazyeval_0.2.2       munsell_0.5.0        broom_0.7.0         
#> [52] crayon_1.3.4

Created on 2020-08-11 by the reprex package (v0.3.0)

rpruim commented 4 years ago

I've replaced the deprecated select_() with a call to select(any_of()).