halpo / purrrogress

Add progress bars to mapping functions
Other
63 stars 2 forks source link

error in generating progressbar #1

Open yonicd opened 4 years ago

yonicd commented 4 years ago
> purrr::map(1:10,purrrogress::with_progress(runif))
 Error: 'as_hms' is not an exported object from 'namespace:hms' 

the crash seems to happen here

https://github.com/halpo/purrrogress/blob/0c6c01e8129476b9463b95dc993c8f0f4bcce5f6/R/R6Progress.R#L113

session info ```r ─ Session info ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── setting value version R version 3.5.1 (2018-07-02) os Ubuntu 14.04.5 LTS system x86_64, linux-gnu ui RStudio language (EN) collate en_US.UTF-8 ctype en_US.UTF-8 tz Etc/UTC date 2019-08-30 ─ Packages ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── package * version date lib source assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.5.1) base64enc 0.1-3 2015-07-28 [1] CRAN (R 3.5.1) cli 1.1.0 2019-03-19 [1] CRAN (R 3.5.1) clipr 0.5.0 2019-01-11 [1] CRAN (R 3.5.1) crayon 1.3.4 2017-09-16 [1] CRAN (R 3.5.1) curl 3.3 2019-01-10 [1] CRAN (R 3.5.1) data.table 1.12.0 2019-01-13 [1] CRAN (R 3.5.1) details 0.0.51 2019-04-04 [2] Github (yonicd/details@f2fb5e7) digest 0.6.18 2018-10-10 [1] CRAN (R 3.5.1) dplyr 0.8.1 2019-05-14 [1] CRAN (R 3.5.1) glue * 1.3.1 2019-03-12 [1] CRAN (R 3.5.1) hms 0.4.2 2018-03-10 [1] CRAN (R 3.5.1) httr 1.4.0 2018-12-11 [1] CRAN (R 3.5.1) jsonlite 1.6 2018-12-07 [1] CRAN (R 3.5.1) magrittr 1.5 2014-11-22 [1] CRAN (R 3.5.1) parsetools 0.1.1 2019-07-11 [2] CRAN (R 3.5.1) pillar 1.4.1 2019-05-28 [1] CRAN (R 3.5.1) pkgcond 0.1.0 2018-12-03 [2] CRAN (R 3.5.1) pkgconfig 2.0.2 2018-08-16 [1] CRAN (R 3.5.1) postlogic 0.1.0 2018-11-26 [2] CRAN (R 3.5.1) purrr 0.3.2 2019-03-15 [1] CRAN (R 3.5.1) purrrogress * 0.1.1 2019-07-22 [2] CRAN (R 3.5.1) R6 2.4.0 2019-02-14 [1] CRAN (R 3.5.1) Rcpp 1.0.1 2019-03-17 [1] CRAN (R 3.5.1) rlang 0.4.0 2019-06-25 [1] CRAN (R 3.5.1) rstudioapi 0.9.0 2019-01-09 [1] CRAN (R 3.5.1) sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 3.5.1) stringi 1.2.4 2018-07-20 [1] CRAN (R 3.5.1) testextra 0.1.0 2019-01-18 [2] CRAN (R 3.5.1) testthat 2.2.1 2019-07-25 [1] CRAN (R 3.5.1) tibble 2.1.3 2019-06-06 [1] CRAN (R 3.5.1) tidyr 0.8.3 2019-03-01 [1] CRAN (R 3.5.1) tidyselect 0.2.5 2018-10-11 [1] CRAN (R 3.5.1) withr 2.1.2 2018-03-15 [1] CRAN (R 3.5.1) xml2 1.2.0 2018-01-24 [1] CRAN (R 3.5.1) yaml 2.2.0 2018-07-25 [1] CRAN (R 3.5.1) [1] /data/co/svn-proj-AADi-ADI0101F/script/lib [2] /data/yonis/lib [3] /usr/local/lib/R/site-library [4] /usr/lib/R/site-library [5] /usr/lib/R/library ```

TylerGrantSmith commented 4 years ago

@yonicd it appears to be using the development release of hms which implements hms::as_hms

yonicd commented 4 years ago

Is the new repo opened this week the "official" one now?