CRAN Package Check Results for Maintainer ‘Fernando Mayer <fernando.mayer at mu.ie>’

Last updated on 2024-12-23 12:49:42 CET.

Package ERROR OK
geslaR 2 11

Package geslaR

Current CRAN status: ERROR: 2, OK: 11

Version: 1.0-1
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(geslaR) Loading required package: arrow Some features are not enabled in this build of Arrow. Run `arrow_info()` for more information. Attaching package: 'arrow' The following object is masked from 'package:testthat': matches The following object is masked from 'package:utils': timestamp Loading required package: dplyr Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > > test_check("geslaR") i The total size of the dataset is about 7GB, and the download time will depend on your internet connection [ FAIL 4 | WARN 0 | SKIP 0 | PASS 17 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-run_gesla_app.R:4:5'): Required packages are available ─────── length(missing_pkgs) (`actual`) not equal to 0L (`expected`). `actual`: 1 `expected`: 0 The following required packages are missing: leaflet ── Error ('test-run_gesla_app.R:25:5'): Dataset download prompt works as expected when user declines ── Error in `run_gesla_app(app_dest = app_dest, open = FALSE)`: x The following packages are required to run the GESLA app: leaflet i Consider installing each one with `install.packages('name')` i Or reinstall the geslaR package with `remotes::install_github('EireExtremes/geslaR', dependencies = TRUE)`. In this case you will need to restart your R session. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-run_gesla_app.R:25:5 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─geslaR::run_gesla_app(app_dest = app_dest, open = FALSE) ── Error ('test-run_gesla_app.R:33:5'): Use overwrite when no dataset is present ── Error in `run_gesla_app(app_dest = app_dest, overwrite = TRUE, open = FALSE)`: x The following packages are required to run the GESLA app: leaflet i Consider installing each one with `install.packages('name')` i Or reinstall the geslaR package with `remotes::install_github('EireExtremes/geslaR', dependencies = TRUE)`. In this case you will need to restart your R session. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-run_gesla_app.R:33:5 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─geslaR::run_gesla_app(...) ── Error ('test-run_gesla_app.R:57:5'): Dataset overwrite prompt works as expected when user declines ── Error in `run_gesla_app(app_dest = app_dest, overwrite = TRUE, open = FALSE)`: x The following packages are required to run the GESLA app: leaflet i Consider installing each one with `install.packages('name')` i Or reinstall the geslaR package with `remotes::install_github('EireExtremes/geslaR', dependencies = TRUE)`. In this case you will need to restart your R session. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-run_gesla_app.R:57:5 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─geslaR::run_gesla_app(...) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 17 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0-1
Check: examples
Result: ERROR Running examples in ‘geslaR-Ex.R’ failed The error most likely occurred in: > ### Name: read_gesla > ### Title: Read a GESLA dataset > ### Aliases: read_gesla > > ### ** Examples > > ##------------------------------------------------------------------ > ## Import an internal example Parquet file > tmp <- tempdir() > file.copy(system.file( + "extdata", "ireland.parquet", package = "geslaR"), tmp) [1] TRUE > da <- read_gesla(paste0(tmp, "/ireland.parquet")) Error in parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads)) : Cannot call parquet___arrow___ArrowReaderProperties__Make(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Calls: read_gesla ... <Anonymous> -> parquet___arrow___ArrowReaderProperties__Make Execution halted Flavor: r-release-macos-arm64

Version: 1.0-1
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/2s] Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: 15. └─arrow:::parquet___arrow___ArrowReaderProperties__Make(isTRUE(use_threads)) ── Error ('test-write_gesla.R:33:5'): write_gesla writes ArrowObject to Parquet ── Error in `parquet___WriterProperties___Builder__create()`: Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. Backtrace: ▆ 1. └─geslaR::write_gesla(arrow_df, "test_parquet") at test-write_gesla.R:33:5 2. └─arrow::write_parquet(...) 3. ├─ParquetFileWriter$create(...) 4. │ └─arrow:::parquet___arrow___ParquetFileWriter__Open(...) 5. └─ParquetWriterProperties$create(...) 6. └─arrow:::parquet___WriterProperties___Builder__create() [ FAIL 3 | WARN 0 | SKIP 0 | PASS 18 ] Error: Test failures Execution halted Flavor: r-release-macos-arm64