payload: {"action":"created","issue":{"url":"https://api.github.com/repos/strengejacke/sjmisc/issues/126","repository_url":"https://api.github.com/repos/strengejacke/sjmisc","labels_url":"https://api.github.com/repos/strengejacke/sjmisc/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/strengejacke/sjmisc/issues/126/comments","events_url":"https://api.github.com/repos/strengejacke/sjmisc/issues/126/events","html_url":"https://github.com/strengejacke/sjmisc/issues/126","id":540927795,"node_id":"MDU6SXNzdWU1NDA5Mjc3OTU=","number":126,"title":"Error when checking the package","user":{"login":"iago-pssjd","id":40892925,"node_id":"MDQ6VXNlcjQwODkyOTI1","avatar_url":"https://avatars1.githubusercontent.com/u/40892925?v=4","gravatar_id":"","url":"https://api.github.com/users/iago-pssjd","html_url":"https://github.com/iago-pssjd","followers_url":"https://api.github.com/users/iago-pssjd/followers","following_url":"https://api.github.com/users/iago-pssjd/following{/other_user}","gists_url":"https://api.github.com/users/iago-pssjd/gists{/gist_id}","starred_url":"https://api.github.com/users/iago-pssjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iago-pssjd/subscriptions","organizations_url":"https://api.github.com/users/iago-pssjd/orgs","repos_url":"https://api.github.com/users/iago-pssjd/repos","events_url":"https://api.github.com/users/iago-pssjd/events{/privacy}","received_events_url":"https://api.github.com/users/iago-pssjd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-12-20T10:41:57Z","updated_at":"2019-12-20T10:46:55Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi Daniel,\r\nI was checking the package after some update I did, but I got 2 errors. Then I just check your development master version and I also got (I think the same) 2 errors. I copy here the reprex for one of them:\r\n``` r\r\nlibrary(sjmisc)\r\nlibrary(dplyr)\r\n#> \r\n#> Attaching package: 'dplyr'\r\n#> The following objects are masked from 'package:stats':\r\n#> \r\n#>     filter, lag\r\n#> The following objects are masked from 'package:base':\r\n#> \r\n#>     intersect, setdiff, setequal, union\r\n\r\nmtcars %>%\r\n  group_by(cyl) %>%\r\n  dicho(disp, append = F) %>%\r\n  table()\r\n#> Error: No common type for `value` <factor<dec08>> and `x` <double>.\r\n\r\n\r\nsessionInfo()\r\n#> R version 3.6.1 (2019-07-05)\r\n#> Platform: x86_64-w64-mingw32/x64 (64-bit)\r\n#> Running under: Windows 10 x64 (build 17134)\r\n#> \r\n#> Matrix products: default\r\n#> \r\n#> locale:\r\n#> [1] LC_COLLATE=Spanish_Spain.1252  LC_CTYPE=Spanish_Spain.1252   \r\n#> [3] LC_MONETARY=Spanish_Spain.1252 LC_NUMERIC=C                  \r\n#> [5] LC_TIME=Spanish_Spain.1252    \r\n#> \r\n#> attached base packages:\r\n#> [1] stats     graphics  grDevices utils     datasets  methods   base     \r\n#> \r\n#> other attached packages:\r\n#> [1] dplyr_0.8.3    sjmisc_2.8.2.1\r\n#> \r\n#> loaded via a namespace (and not attached):\r\n#>  [1] Rcpp_1.0.3          knitr_1.26          magrittr_1.5       \r\n#>  [4] tidyselect_0.2.5    insight_0.7.1       R6_2.4.1           \r\n#>  [7] rlang_0.4.2         stringr_1.4.0       highr_0.8          \r\n#> [10] tools_3.6.1         xfun_0.11           htmltools_0.4.0    \r\n#> [13] yaml_2.2.0          digest_0.6.23       assertthat_0.2.1   \r\n#> [16] tibble_2.99.99.9010 crayon_1.3.4        purrr_0.3.3        \r\n#> [19] vctrs_0.2.0.9007    sjlabelled_1.1.1.1  snakecase_0.11.0   \r\n#> [22] glue_1.3.1          evaluate_0.14       rmarkdown_2.0      \r\n#> [25] stringi_1.4.3       compiler_3.6.1      pillar_1.4.2.9001  \r\n#> [28] pkgconfig_2.0.3\r\n```\r\n\r\n<sup>Created on 2019-12-20 by the [reprex package](https://reprex.tidyverse.org) (v0.3.0)</sup>\r\n\r\nAnd, looking at the trace:\r\n```r\r\n> rlang::last_trace()\r\n<error/vctrs_error_incompatible_type>\r\nNo common type for `value` <factor<dec08>> and `x` <double>.\r\nBacktrace:\r\n     x\r\n  1. +-mtcars %>% group_by(cyl) %>% dicho(disp, append = F) %>% table()\r\n  2. | +-base::withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))\r\n  3. | \\-base::eval(quote(`_fseq`(`_lhs`)), env, env)\r\n  4. |   \\-base::eval(quote(`_fseq`(`_lhs`)), env, env)\r\n  5. |     \\-`_fseq`(`_lhs`)\r\n  6. |       \\-magrittr::freduce(value, `_function_list`)\r\n  7. |         \\-function_list[[i]](value)\r\n  8. |           +-sjmisc::dicho(., disp, append = F)\r\n  9. |           \\-sjmisc:::dicho.default(., disp, append = F) R/dicho.R:95:2\r\n 10. |             \\-sjmisc:::recode_fun(...) R/dicho.R:111:2\r\n 11. |               +-base::`[<-`(...) R/dicho.R:273:8\r\n 12. |               \\-tibble:::`[<-.tbl_df`(...) R/dicho.R:273:8\r\n 13. |                 \\-tibble:::tbl_subassign(x, i, j, value)\r\n 14. |                   \\-tibble:::tbl_subassign_row(x, i, value)\r\n 15. |                     \\-vctrs::`vec_slice<-`(`*tmp*`, i, value = value[[j]])\r\n 16. +-vctrs:::vec_type2_dispatch(x = x, y = y, x_arg = x_arg, y_arg = y_arg)\r\n 17. +-vctrs::vec_ptype2.factor(x = x, y = y, x_arg = x_arg, y_arg = y_arg)\r\n 18. \\-vctrs:::vec_ptype2.factor.default(...)\r\n 19.   \\-vctrs::vec_default_ptype2(x, y, x_arg = x_arg, y_arg = y_arg)\r\n 20.     \\-vctrs::stop_incompatible_type(x, y, x_arg = x_arg, y_arg = y_arg)\r\n 21.       \\-vctrs:::stop_incompatible(...)\r\n 22.         \\-vctrs:::stop_vctrs(...)\r\n```"},"comment":{"url":"https://api.github.com/repos/strengejacke/sjmisc/issues/comments/567882026","html_url":"https://github.com/strengejacke/sjmisc/issues/126#issuecomment-567882026","issue_url":"https://api.github.com/repos/strengejacke/sjmisc/issues/126","id":567882026,"node_id":"MDEyOklzc3VlQ29tbWVudDU2Nzg4MjAyNg==","user":{"login":"strengejacke","id":26301769,"node_id":"MDQ6VXNlcjI2MzAxNzY5","avatar_url":"https://avatars3.githubusercontent.com/u/26301769?v=4","gravatar_id":"","url":"https://api.github.com/users/strengejacke","html_url":"https://github.com/strengejacke","followers_url":"https://api.github.com/users/strengejacke/followers","following_url":"https://api.github.com/users/strengejacke/following{/other_user}","gists_url":"https://api.github.com/users/strengejacke/gists{/gist_id}","starred_url":"https://api.github.com/users/strengejacke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strengejacke/subscriptions","organizations_url":"https://api.github.com/users/strengejacke/orgs","repos_url":"https://api.github.com/users/strengejacke/repos","events_url":"https://api.github.com/users/strengejacke/events{/privacy}","received_events_url":"https://api.github.com/users/strengejacke/received_events","type":"User","site_admin":false},"created_at":"2019-12-20T10:46:55Z","updated_at":"2019-12-20T10:46:55Z","author_association":"OWNER","body":"strange, just checked with the latest GitHub master from sjmisc, and works fine for me:\r\n\r\n``` r\r\nlibrary(sjmisc)\r\nlibrary(dplyr)\r\n#> \r\n#> Attaching package: 'dplyr'\r\n#> The following objects are masked from 'package:stats':\r\n#> \r\n#>     filter, lag\r\n#> The following objects are masked from 'package:base':\r\n#> \r\n#>     intersect, setdiff, setequal, union\r\n\r\nmtcars %>%\r\n  group_by(cyl) %>%\r\n  dicho(disp, append = F) %>%\r\n  table()\r\n#> .\r\n#>  1  2 \r\n#> 18 14\r\n\r\ndevtools::session_info()\r\n#> - Session info ---------------------------------------------------------------\r\n#>  setting  value                       \r\n#>  version  R version 3.6.2 (2019-12-12)\r\n#>  os       Windows 10 x64              \r\n#>  system   x86_64, mingw32             \r\n#>  ui       RTerm                       \r\n#>  language (EN)                        \r\n#>  collate  German_Germany.1252         \r\n#>  ctype    German_Germany.1252         \r\n#>  tz       Europe/Berlin               \r\n#>  date     2019-12-20                  \r\n#> \r\n#> - Packages -------------------------------------------------------------------\r\n#>  package     * version date       lib source                                  \r\n#>  assertthat    0.2.1   2019-03-21 [1] CRAN (R 3.6.0)                          \r\n#>  backports     1.1.5   2019-10-02 [1] CRAN (R 3.6.1)                          \r\n#>  callr         3.4.0   2019-12-09 [1] CRAN (R 3.6.1)                          \r\n#>  cli           2.0.0   2019-12-09 [1] CRAN (R 3.6.1)                          \r\n#>  crayon        1.3.4   2017-09-16 [1] CRAN (R 3.6.0)                          \r\n#>  desc          1.2.0   2018-05-01 [1] CRAN (R 3.6.0)                          \r\n#>  devtools      2.2.1   2019-09-24 [1] CRAN (R 3.6.1)                          \r\n#>  digest        0.6.23  2019-11-23 [1] CRAN (R 3.6.1)                          \r\n#>  dplyr       * 0.8.3   2019-07-04 [1] CRAN (R 3.6.1)                          \r\n#>  ellipsis      0.3.0   2019-09-20 [1] CRAN (R 3.6.1)                          \r\n#>  evaluate      0.14    2019-05-28 [1] CRAN (R 3.6.0)                          \r\n#>  fansi         0.4.0   2018-10-05 [1] CRAN (R 3.6.0)                          \r\n#>  fs            1.3.1   2019-05-06 [1] CRAN (R 3.6.0)                          \r\n#>  glue          1.3.1   2019-03-12 [1] CRAN (R 3.6.0)                          \r\n#>  highr         0.8     2019-03-20 [1] CRAN (R 3.6.0)                          \r\n#>  htmltools     0.4.0   2019-10-04 [1] CRAN (R 3.6.1)                          \r\n#>  insight       0.7.1.1 2019-12-20 [1] local                                   \r\n#>  knitr         1.26    2019-11-12 [1] CRAN (R 3.6.1)                          \r\n#>  magrittr      1.5     2014-11-22 [1] CRAN (R 3.6.0)                          \r\n#>  memoise       1.1.0   2017-04-21 [1] CRAN (R 3.6.0)                          \r\n#>  pillar        1.4.3   2019-12-20 [1] CRAN (R 3.6.2)                          \r\n#>  pkgbuild      1.0.6   2019-10-09 [1] CRAN (R 3.6.1)                          \r\n#>  pkgconfig     2.0.3   2019-09-22 [1] CRAN (R 3.6.1)                          \r\n#>  pkgload       1.0.2   2018-10-29 [1] CRAN (R 3.6.0)                          \r\n#>  prettyunits   1.0.2   2015-07-13 [1] CRAN (R 3.6.0)                          \r\n#>  processx      3.4.1   2019-07-18 [1] CRAN (R 3.6.1)                          \r\n#>  ps            1.3.0   2018-12-21 [1] CRAN (R 3.6.0)                          \r\n#>  purrr         0.3.3   2019-10-18 [1] CRAN (R 3.6.1)                          \r\n#>  R6            2.4.1   2019-11-12 [1] CRAN (R 3.6.1)                          \r\n#>  Rcpp          1.0.3   2019-11-08 [1] CRAN (R 3.6.1)                          \r\n#>  remotes       2.1.0   2019-06-24 [1] CRAN (R 3.6.0)                          \r\n#>  rlang         0.4.2   2019-11-23 [1] CRAN (R 3.6.1)                          \r\n#>  rmarkdown     2.0     2019-12-12 [1] CRAN (R 3.6.1)                          \r\n#>  rprojroot     1.3-2   2018-01-03 [1] CRAN (R 3.6.0)                          \r\n#>  sessioninfo   1.1.1   2018-11-05 [1] CRAN (R 3.6.0)                          \r\n#>  sjlabelled    1.1.1.1 2019-12-19 [1] Github (strengejacke/sjlabelled@168daab)\r\n#>  sjmisc      * 2.8.2.1 2019-12-20 [1] local                                   \r\n#>  snakecase     0.11.0  2019-05-25 [1] CRAN (R 3.6.0)                          \r\n#>  stringi       1.4.3   2019-03-12 [1] CRAN (R 3.6.0)                          \r\n#>  stringr       1.4.0   2019-02-10 [1] CRAN (R 3.6.0)                          \r\n#>  testthat      2.3.1   2019-12-01 [1] CRAN (R 3.6.1)                          \r\n#>  tibble        2.1.3   2019-06-06 [1] CRAN (R 3.6.0)                          \r\n#>  tidyselect    0.2.5   2018-10-11 [1] CRAN (R 3.6.0)                          \r\n#>  usethis       1.5.1   2019-07-04 [1] CRAN (R 3.6.1)                          \r\n#>  withr         2.1.2   2018-03-15 [1] CRAN (R 3.6.0)                          \r\n#>  xfun          0.11    2019-11-12 [1] CRAN (R 3.6.1)                          \r\n#>  yaml          2.2.0   2018-07-25 [1] CRAN (R 3.6.0)                          \r\n#> \r\n#> [1] C:/Users/mail/Documents/R/win-library/3.6\r\n#> [2] C:/Program Files/R/R-3.6.2/library\r\n```\r\n\r\n<sup>Created on 2019-12-20 by the [reprex package](https://reprex.tidyverse.org) (v0.3.0)</sup>\r\n"}}
other: {"actor":{"display_login":"strengejacke"}}