from rstudio:
This is an automated email to let you know that:
-
A new version of dplyr is ready to go to CRAN. dplyr is
currently at version 0.7.8 and will become 0.8.0 upon release.
-
tidytransit uses dplyr and has problems with the new version.
-
We plan to submit dplyr to CRAN on February 1.
This release represents about 9 months of development, detailed in
this blog post:
https://www.tidyverse.org/articles/2018/12/dplyr-0-8-0-release-candidate/
I need your help to keep tidytransit and dplyr working together
smoothly. In the next weeks, can you please:
-
Read about the changes to dplyr at
https://github.com/tidyverse/dplyr/blob/master/NEWS.md#dplyr-080.
This page includes a list of breaking changes, the reasoning behind
them, and to how to update your code.
-
Carefully inspect the failing checks listed at the bottom of this email.
-
For each failing check, either update your package, or tell me
that I have a bug. If you have made changes to your package, please
submit an update to CRAN before February 1.
If you have discovered a bug in dplyr, please file an issue (ideally
with a small reprex that illustrates the problem) at
https://github.com/tidyverse/dplyr/issues. If you're not sure whether
or not you've found a bug, please an issue and we'll help you figure
it out. Breaking changes that are not listed qualify as bugs.
Please respond to this message if you have any questions.
Thanks,
Romain Francois
== CHECK RESULTS ========================================
- checking examples ... ERROR
Running examples in ‘tidytransit-Ex.R’ failed
The error most likely occurred in:
Name: get_route_frequency
Title: Get Route Frequency
Aliases: get_route_frequency
** Examples
data(gtfs_obj)
gtfs_obj <- get_route_frequency(gtfs_obj)
Calculating route and stop headways using defaults (6 am to 10 pm
for weekday service).
Error in n() : could not find function "n"
Calls: get_route_frequency ... -> ->
mutate.tbl_df -> mutate_impl
Execution halted
```
- checking tests ...
ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
16: `_fseq`(`_lhs`)
17: freduce(value, `_function_list`)
18: function_list[[i]](value)
19: dplyr::mutate(., service_trips = n())
20: mutate.tbl_df(., service_trips = n()) at
/Users/romain/git/tidyverse/dplyr/R/manip.r:416
21: mutate_impl(.data, dots) at
/Users/romain/git/tidyverse/dplyr/R/tbl-df.r:91
═══════════════════════════════════════════════════════════
OK: 3 SKIPPED: 7 FAILED: 3
1. Error: Stop frequencies (headways) for included data are as
expected (@test_headways.R#4)
2. Error: Route frequencies (headways) for included data are as
expected (@test_headways.R#11)
3. Error: Route frequencies (headways) can be calculated for
included data for a particular service id (@test_headways.R#17)
Error: testthat unit tests failed
Execution halted
```