Last updated on 2023-03-21 03:55:01 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.1 | OK | ||||
r-devel-linux-x86_64-debian-gcc | 0.1.1 | 2.03 | 21.75 | 23.78 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.1 | 41.21 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.1 | 38.55 | OK | |||
r-patched-linux-x86_64 | 0.1.1 | 2.49 | 29.08 | 31.57 | OK | |
r-release-linux-x86_64 | 0.1.1 | 1.68 | 28.58 | 30.26 | OK | |
r-release-macos-arm64 | 0.1.1 | 17.00 | OK | |||
r-release-macos-x86_64 | 0.1.1 | 26.00 | OK | |||
r-release-windows-x86_64 | 0.1.1 | 13.00 | 61.00 | 74.00 | OK | |
r-oldrel-macos-arm64 | 0.1.1 | 19.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.1 | 24.00 | OK | |||
r-oldrel-windows-ix86+x86_64 | 0.1.1 | 8.00 | 57.00 | 65.00 | OK |
Version: 0.1.1
Check: examples
Result: ERROR
Running examples in ‘ssimparser-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: load_ssim
> ### Title: load_ssim
> ### Aliases: load_ssim
>
> ### ** Examples
>
> # Get a sample as a character vector
> sample_ssim_string <- ssimparser::get_ssim_sample(datefrom = as.Date("2020-11-01"),
+ dateto = as.Date("2020-12-01"),
+ season = "W20",
+ creadate = as.Date("2020-12-02"))
>
> # Write sample to temp dir
> sample_ssim_file <- tempfile()
> write(sample_ssim_string, sample_ssim_file, append = FALSE)
>
> # Load sample, expand schedules to flights and display the traffic
> # by month and departure airport ICAO
> ssimparser::load_ssim(ssim_file = sample_ssim_file,
+ expand_sched = TRUE) %>%
+ dplyr::group_by(format(flight.flight_date,"%Y-%m"), adep_icao) %>%
+ dplyr::summarise(n=dplyr::n())
[1] "File to load has 17 rows"
[1] "data frame has 17 rows"
Warning: Returning more (or less) than 1 row per `summarise()` group was deprecated in
dplyr 1.1.0.
ℹ Please use `reframe()` instead.
ℹ When switching from `summarise()` to `reframe()`, remember that `reframe()`
always returns an ungrouped data frame and adjust accordingly.
ℹ The deprecated feature was likely used in the ssimparser package.
Please report the issue to the authors.
`summarise()` has grouped output by 'format(flight.flight_date, "%Y-%m")'. You
can override using the `.groups` argument.
# A tibble: 2 × 3
# Groups: format(flight.flight_date, "%Y-%m") [2]
`format(flight.flight_date, "%Y-%m")` adep_icao n
<chr> <chr> <int>
1 2020-11 LFPG 42
2 2020-12 LFPG 1
>
> # Get the unique list of airports ICAO
> ssimparser::load_ssim(ssim_file = sample_ssim_file, expand_sched = TRUE,
+ collist = c("type3.adep_icao", "type3.ades_icao")) %>% unique()
[1] "File to load has 17 rows"
[1] "data frame has 17 rows"
# A tibble: 1 × 2
adep_icao ades_icao
<chr> <chr>
1 LFPG LEAL
>
> # Nest the type 3 into type 2
> ssim_nested <- ssimparser::load_ssim(ssim_file = sample_ssim_file,
+ expand_sched = FALSE, nested = TRUE)
[1] "File to load has 17 rows"
[1] "data frame has 17 rows"
Error in vectbl_assign(x[[j]], i, recycled_value[[j]]) :
DLL requires the use of native symbols
Calls: <Anonymous> ... tbl_subassign_row -> withCallingHandlers -> vectbl_assign
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc