OFFICIAL Hi all,
First time poster. My package fingertipscharts is failing incoming CRAN checks. I develop it on a Windows 10 OS, where it passes with 0 NOTES, WARNINGS and ERRORS. Likewise on Travis<https://travis-ci.org/github/PublicHealthEngland/fingertipscharts?utm_medium=notification> and devtools::check_win_devel(). It fails on incoming CRAN checks on Debian (r-devel-linux-x86_64-debian-gcc flavour). I'm struggling to recreate the error and don't want to keep submitting to CRAN as my way of testing changes. I've tried various rhub functions (check_on_cran, check_debian) but can't recreate the error messages. The errors reported are as follows (from the logs) and my session info is below. I suspect it is to do with the relationship between ggplot2::geom_spoke(), which I've just added to the area_profiles() function, and lemon::facet_rep_grid() Flavor: r-devel-linux-x86_64-debian-gcc Check: tests, Result: ERROR Running 'a-l.R' [15s/17s] Running 'm-z.R' [8s/11s] Running the tests in 'tests/a-l.R' failed. Complete output: > library(testthat) > library(fingertipscharts) > > test_check("fingertipscharts", filter = "^[a-l]") �� 1. Error: area profiles with domains draws correctly (@test-area-profiles.R#2 $ operator is invalid for atomic vectors Backtrace: 1. vdiffr::expect_doppelganger(...) 2. vdiffr:::writer(fig, testcase, title) 4. vdiffr:::print_plot.ggplot(plot, title) 6. ggplot2:::print.ggplot(p) 8. ggplot2:::ggplot_gtable.ggplot_built(data) 9. layout$render(geom_grobs, data, theme, plot$labels) 10. ggplot2:::f(..., self = self) 11. self$facet$draw_panels(...) 12. lemon:::f(...) 13. base::lapply(axis_t, remove_labels_from_axis) 14. lemon:::FUN(X[[i]], ...) �� 2. Error: area profiles example draws correctly (@test-examples.R#194) ����� $ operator is invalid for atomic vectors Backtrace: 1. vdiffr::expect_doppelganger("area profiles example", p) 2. vdiffr:::writer(fig, testcase, title) 4. vdiffr:::print_plot.ggplot(plot, title) 6. ggplot2:::print.ggplot(p) 8. ggplot2:::ggplot_gtable.ggplot_built(data) 9. layout$render(geom_grobs, data, theme, plot$labels) 10. ggplot2:::f(..., self = self) 11. self$facet$draw_panels(...) 12. lemon:::f(...) 13. base::lapply(axis_t, remove_labels_from_axis) 14. lemon:::FUN(X[[i]], ...) My session info is: - Session info ------------------------------------------------------------------------------- setting value version R version 3.6.2 (2019-12-12) os Windows 10 x64 system x86_64, mingw32 ui RStudio language (EN) collate English_United Kingdom.1252 ctype English_United Kingdom.1252 tz Europe/London date 2020-03-13 - Packages ----------------------------------------------------------------------------------- package * version date lib source assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.6.0) class 7.3-15 2019-01-01 [1] CRAN (R 3.6.2) classInt 0.4-2 2019-10-17 [1] CRAN (R 3.6.2) cli 2.0.1 2020-01-08 [1] CRAN (R 3.6.2) colorspace 1.4-1 2019-03-18 [1] CRAN (R 3.6.0) crayon 1.3.4 2017-09-16 [1] CRAN (R 3.6.0) crosstalk 1.0.0 2016-12-21 [1] CRAN (R 3.6.0) curl 4.3 2019-12-02 [1] CRAN (R 3.6.1) DBI 1.1.0 2019-12-15 [1] CRAN (R 3.6.1) digest 0.6.23 2019-11-23 [1] CRAN (R 3.6.1) dplyr * 0.8.4 2020-01-31 [1] CRAN (R 3.6.2) e1071 1.7-3 2019-11-26 [1] CRAN (R 3.6.2) ellipsis 0.3.0 2019-09-20 [1] CRAN (R 3.6.1) fansi 0.4.1 2020-01-08 [1] CRAN (R 3.6.2) farver 2.0.3 2020-01-16 [1] CRAN (R 3.6.2) fastmap 1.0.1 2019-10-08 [1] CRAN (R 3.6.1) fingertipscharts * 0.0.11 2020-03-13 [1] local foreign 0.8-75 2020-01-20 [1] CRAN (R 3.6.2) geojson 0.3.2 2019-01-31 [1] CRAN (R 3.6.0) geojsonio 0.8.0 2019-10-29 [1] CRAN (R 3.6.2) ggplot2 3.3.0 2020-03-05 [1] CRAN (R 3.6.2) glue 1.3.1 2019-03-12 [1] CRAN (R 3.6.0) gridExtra 2.3 2017-09-09 [1] CRAN (R 3.6.0) gtable 0.3.0 2019-03-25 [1] CRAN (R 3.6.0) htmltools 0.4.0 2019-10-04 [1] CRAN (R 3.6.1) htmlwidgets 1.5.1 2019-10-08 [1] CRAN (R 3.6.1) httpuv 1.5.2 2019-09-11 [1] CRAN (R 3.6.1) httr 1.4.1 2019-08-05 [1] CRAN (R 3.6.1) jqr 1.1.0 2018-10-22 [1] CRAN (R 3.6.0) jsonlite 1.6.1 2020-02-02 [1] CRAN (R 3.6.2) KernSmooth 2.23-16 2019-10-15 [1] CRAN (R 3.6.2) knitr 1.27 2020-01-16 [1] CRAN (R 3.6.2) labeling 0.3 2014-08-23 [1] CRAN (R 3.6.0) later 1.0.0 2019-10-04 [1] CRAN (R 3.6.1) lattice 0.20-38 2018-11-04 [1] CRAN (R 3.6.2) lazyeval 0.2.2 2019-03-15 [1] CRAN (R 3.6.0) leaflet 2.0.3 2019-11-16 [1] CRAN (R 3.6.2) lemon 0.4.3 2019-01-08 [1] CRAN (R 3.6.0) lifecycle 0.1.0 2019-08-01 [1] CRAN (R 3.6.1) magrittr 1.5 2014-11-22 [1] CRAN (R 3.6.0) maptools 0.9-9 2019-12-01 [1] CRAN (R 3.6.2) mime 0.8 2019-12-19 [1] CRAN (R 3.6.2) munsell 0.5.0 2018-06-12 [1] CRAN (R 3.6.0) packrat 0.5.0 2018-11-14 [1] CRAN (R 3.6.0) pillar 1.4.3 2019-12-20 [1] CRAN (R 3.6.1) pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 3.6.1) plyr 1.8.5 2019-12-10 [1] CRAN (R 3.6.1) promises 1.1.0 2019-10-04 [1] CRAN (R 3.6.1) purrr 0.3.3 2019-10-18 [1] CRAN (R 3.6.1) R6 2.4.1 2019-11-12 [1] CRAN (R 3.6.1) Rcpp 1.0.3 2019-11-08 [1] CRAN (R 3.6.1) rgdal 1.4-8 2019-11-27 [1] CRAN (R 3.6.2) rgeos 0.5-2 2019-10-03 [1] CRAN (R 3.6.2) rlang 0.4.3 2020-01-24 [1] CRAN (R 3.6.2) rstudioapi 0.10 2019-03-19 [1] CRAN (R 3.6.0) scales 1.1.0 2019-11-18 [1] CRAN (R 3.6.1) sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 3.6.0) sf 0.8-1 2020-01-28 [1] CRAN (R 3.6.2) shiny 1.4.0 2019-10-10 [1] CRAN (R 3.6.1) sp 1.3-2 2019-11-07 [1] CRAN (R 3.6.2) stringi 1.4.5 2020-01-11 [1] CRAN (R 3.6.2) stringr 1.4.0 2019-02-10 [1] CRAN (R 3.6.0) tibble 2.1.3 2019-06-06 [1] CRAN (R 3.6.0) tidyr * 1.0.2 2020-01-24 [1] CRAN (R 3.6.2) tidyselect 1.0.0 2020-01-27 [1] CRAN (R 3.6.2) units 0.6-5 2019-10-08 [1] CRAN (R 3.6.2) V8 3.0.1 2020-01-22 [1] CRAN (R 3.6.2) vctrs 0.2.2 2020-01-24 [1] CRAN (R 3.6.2) withr 2.1.2 2018-03-15 [1] CRAN (R 3.6.0) xfun 0.12 2020-01-13 [1] CRAN (R 3.6.2) xtable 1.8-4 2019-04-21 [1] CRAN (R 3.6.0) Thanks in advance for any help. Seb ************************************************************************** The information contained in the EMail and any attachments is confidential and intended solely and for the attention and use of the named addressee(s). It may not be disclosed to any other person without the express authority of Public Health England, or the intended recipient, or both. If you are not the intended recipient, you must not disclose, copy, distribute or retain this message or any part of it. This footnote also confirms that this EMail has been swept for computer viruses by Symantec.Cloud, but please re-sweep any attachments before opening or saving. http://www.gov.uk/PHE ************************************************************************** [[alternative HTML version deleted]]
______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel