- using R version 4.5.2 Patched (2026-01-31 r89374)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-10) 14.3.0
GNU Fortran (Debian 14.3.0-10) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘sfo/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘sfo’ version ‘0.1.2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘sfo’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s/4s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [2s/2s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [3s/3s] ERROR
Running examples in ‘sfo-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: sankey_ly
> ### Title: Sankey Plot with Plotly
> ### Aliases: sankey_ly
>
> ### ** Examples
>
> data("sfo_passengers")
>
> library(dplyr)
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
>
> d <- sfo_passengers %>%
+ filter(activity_period >= 202201 & activity_period < 202301)
>
> head(d)
activity_period operating_airline operating_airline_iata_code
1 202212 EVA Airways BR
2 202212 EVA Airways BR
3 202212 Emirates EK
4 202212 Emirates EK
5 202212 Flair Airlines, Ltd. F8
6 202212 Flair Airlines, Ltd. F8
published_airline published_airline_iata_code geo_summary geo_region
1 EVA Airways BR International Asia
2 EVA Airways BR International Asia
3 Emirates EK International Middle East
4 Emirates EK International Middle East
5 Flair Airlines, Ltd. F8 International Canada
6 Flair Airlines, Ltd. F8 International Canada
activity_type_code price_category_code terminal boarding_area
1 Deplaned Other International G
2 Enplaned Other International G
3 Deplaned Other International A
4 Enplaned Other International A
5 Deplaned Low Fare International A
6 Enplaned Low Fare International A
passenger_count
1 12405
2 15151
3 13131
4 14985
5 2543
6 2883
>
> d %>%
+ filter(operating_airline == "United Airlines") %>%
+ mutate(terminal = ifelse(terminal == "International", "international", terminal)) %>%
+ group_by(operating_airline,activity_type_code, geo_summary, geo_region, terminal) %>%
+ summarise(total = sum(passenger_count), .groups = "drop") %>%
+ sankey_ly(cat_cols = c("operating_airline", "terminal","geo_summary",
+ "geo_region", "activity_type_code"),
+ num_col = "total",
+ title = "Distribution of United Airlines Passengers at SFO During 2022")
Error:
! `summarise_()` was deprecated in dplyr 0.7.0 and is now defunct.
ℹ Please use `summarise()` instead.
Backtrace:
▆
1. ├─... %>% ...
2. ├─sfo::sankey_ly(...)
3. │ ├─... %>% dplyr::bind_rows()
4. │ └─base::lapply(...)
5. │ └─sfo (local) FUN(X[[i]], ...)
6. │ └─... %>% ...
7. ├─dplyr::bind_rows(.)
8. │ └─rlang::list2(...)
9. ├─dplyr::left_join(...)
10. ├─dplyr::left_join(...)
11. └─dplyr::summarise_(...)
12. └─dplyr:::lazy_defunct("summarise", hint = FALSE)
13. └─lifecycle::deprecate_stop(...)
14. └─lifecycle:::deprecate_stop0(msg)
15. └─rlang::cnd_signal(...)
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [7s/11s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘v1_intro.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘v1_intro.Rmd’
--- re-building ‘v3_analyzing_landing.Rmd’ using rmarkdown
Quitting from v3_analyzing_landing.Rmd:127-143 [unnamed-chunk-9]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/lifecycle_error_deprecated>
Error:
! `summarise_()` was deprecated in dplyr 0.7.0 and is now defunct.
ℹ Please use `summarise()` instead.
---
Backtrace:
▆
1. ├─... %>% ...
2. ├─sfo::sankey_ly(...)
3. │ ├─... %>% dplyr::bind_rows()
4. │ └─base::lapply(...)
5. │ └─sfo (local) FUN(X[[i]], ...)
6. │ └─... %>% ...
7. ├─dplyr::bind_rows(.)
8. │ └─rlang::list2(...)
9. ├─dplyr::left_join(...)
10. ├─dplyr::left_join(...)
11. └─dplyr::summarise_(...)
12. └─dplyr:::lazy_defunct("summarise", hint = FALSE)
13. └─lifecycle::deprecate_stop(...)
14. └─lifecycle:::deprecate_stop0(msg)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'v3_analyzing_landing.Rmd' failed with diagnostics:
`summarise_()` was deprecated in dplyr 0.7.0 and is now defunct.
ℹ Please use `summarise()` instead.
--- failed re-building ‘v3_analyzing_landing.Rmd’
SUMMARY: processing the following file failed:
‘v3_analyzing_landing.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs