Packages problems

rio, # for importing data
here, # for locating files
skimr, # for reviewing the data
janitor, # for data cleaning
lubridate, # for date cleaning
epikit, # creating age categories
gtsummary, # creating tables
scales, # percents in tables
viridis, # color scales
tsibble, # epiweeks
apyramid, # age/sex pyramids
flextable, # for making pretty tables
gghighlight, # highlighting plot parts
ggExtra, # special plotting functions
tidyverse # for data management and visualization
I am loading this script? but after it gives a problem. I try to reinstall all R and RStudio, but still have problems
Its from console
tidyverse installed
1: В download.file(url, destfile, method, mode = “wb”, …) :
** the ‘wininet’ method is deprecated for http:// and https:// URLs**
2: В pacman::p_load(rio, here, skimr, janitor, lubridate, epikit, :
** Failed to install/load:**
gtsummary, viridis, apyramid, gghighlight, tidyverse

1 Like


Could you share the exact error message(s) and provide a reproducible example, as seen here?

All the best,


Thank you for all, I update the RSudio and its start to work

1 Like

Glad it worked after updating RStudio - have not seen the wininet error before.

Just for information, if you think something about your RStudio, R version or operating system might be relevant to an error you are getting, you can get a summary print out of the version and OS details by typing:


If you copy what is printed from this command into your post, it can help with troubleshooting.


R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22621)

Matrix products: default

[1] LC_COLLATE=Russian_Russia.1251 LC_CTYPE=Russian_Russia.1251 LC_MONETARY=Russian_Russia.1251 LC_NUMERIC=C LC_TIME=Russian_Russia.1251

attached base packages:
[1] splines stats graphics grDevices utils datasets methods base

other attached packages:
[1] Rcmdr_2.8-0 effects_4.2-2 RcmdrMisc_2.7-2 sandwich_3.0-2 car_3.1-1 carData_3.0-5

loaded via a namespace (and not attached):
[1] Formula_1.2-4 assertthat_0.2.1 latticeExtra_0.6-30 cellranger_1.1.0 yaml_2.3.6 pillar_1.8.1 backports_1.4.1 lattice_0.20-45
[9] glue_1.6.2 digest_0.6.31 RColorBrewer_1.1-3 checkmate_2.1.0 minqa_1.2.5 colorspace_2.0-3 htmltools_0.5.4 Matrix_1.5-3
[17] survey_4.1-1 pkgconfig_2.0.3 haven_2.5.1 scales_1.2.1 jpeg_0.1-10 lme4_1.1-31 htmlTable_2.4.1 tibble_3.1.8
[25] proxy_0.4-27 relimp_1.0-5 generics_0.1.3 ggplot2_3.4.0 ellipsis_0.3.2 pacman_0.5.1 nnet_7.3-18 cli_3.3.0
[33] survival_3.4-0 magrittr_2.0.3 readxl_1.4.1 deldir_1.0-6 evaluate_0.19 fansi_1.0.3 nlme_3.1-161 MASS_7.3-58.1
[41] forcats_0.5.2 foreign_0.8-84 class_7.3-20 tools_4.2.2 data.table_1.14.6 hms_1.1.2 mitools_2.4 tcltk2_1.2-11
[49] lifecycle_1.0.3 stringr_1.5.0 interp_1.1-3 munsell_0.5.0 cluster_2.1.4 compiler_4.2.2 e1071_1.7-12 rlang_1.0.6.9000
[57] grid_4.2.2 nloptr_2.0.3 rstudioapi_0.14 htmlwidgets_1.6.1 rmarkdown_2.19 tcltk_4.2.2 base64enc_0.1-3 boot_1.3-28.1
[65] gtable_0.3.1 abind_1.4-5 DBI_1.1.3 R6_2.5.1 gridExtra_2.3 zoo_1.8-11 knitr_1.41 dplyr_1.0.10
[73] fastmap_1.1.0 utf8_1.2.2 nortest_1.0-4 Hmisc_4.7-2 insight_0.18.8 stringi_1.7.8 Rcpp_1.0.9 vctrs_0.5.1
[81] rpart_4.1.19 png_0.1-8 tidyselect_1.2.0 xfun_0.36