CRAN Package Check Results for Package duckplyr

Last updated on 2025-02-22 14:53:37 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 12.53 304.50 317.03 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 8.61 212.48 221.09 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 563.74 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.0 550.68 OK
r-devel-macos-arm64 1.0.0 134.00 OK
r-devel-macos-x86_64 1.0.0 332.00 OK
r-devel-windows-x86_64 1.0.0 16.00 299.00 315.00 OK
r-patched-linux-x86_64 1.0.0 12.58 283.49 296.07 OK
r-release-linux-x86_64 1.0.0 11.40 281.15 292.55 OK
r-release-macos-arm64 1.0.0 157.00 OK
r-release-macos-x86_64 1.0.0 384.00 OK
r-release-windows-x86_64 1.0.0 14.00 290.00 304.00 OK
r-oldrel-macos-arm64 0.4.1 81.00 OK
r-oldrel-macos-x86_64 1.0.0 330.00 OK
r-oldrel-windows-x86_64 1.0.0 17.00 384.00 401.00 OK

Check Details

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘duckplyr-Ex.R’ failed The error most likely occurred in: > ### Name: read_file_duckdb > ### Title: Read Parquet, CSV, and other files using DuckDB > ### Aliases: read_file_duckdb read_parquet_duckdb read_csv_duckdb > ### read_json_duckdb > > ### ** Examples > > # Create simple CSV file > path <- tempfile("duckplyr_test_", fileext = ".csv") > write.csv(data.frame(a = 1:3, b = letters[4:6]), path, row.names = FALSE) > > # Reading is immediate > df <- read_csv_duckdb(path) > > # Names are always available > names(df) [1] "a" "b" > > # Materialization upon access is turned off by default > try(print(df$a)) [1] 1 2 3 > > # Materialize explicitly > collect(df)$a [1] 1 2 3 > > # Automatic materialization with prudence = "lavish" > df <- read_csv_duckdb(path, prudence = "lavish") > df$a [1] 1 2 3 > > # Specify column types > read_csv_duckdb( + path, + options = list(delim = ",", types = list(c("DOUBLE", "VARCHAR"))) + ) # A duckplyr data frame: 2 variables a b <dbl> <chr> 1 1 d 2 2 e 3 3 f > > # Create and read a simple JSON file > path <- tempfile("duckplyr_test_", fileext = ".json") > writeLines('[{"a": 1, "b": "x"}, {"a": 2, "b": "y"}]', path) > > # Reading needs the json extension > db_exec("INSTALL json") > db_exec("LOAD json") *** caught segfault *** address (nil), cause 'unknown' Traceback: 1: rapi_execute(stmt, arrow, integer64) 2: withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }}) 3: doTryCatch(return(expr), name, parentenv, handler) 4: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5: tryCatchList(expr, classes, parentenv, handlers) 6: tryCatch(withCallingHandlers(expr, condition = function(cnd) { { .__handler_frame__. <- TRUE .__setup_frame__. <- frame if (inherits(cnd, "message")) { except <- c("warning", "error") } else if (inherits(cnd, "warning")) { except <- "error" } else { except <- "" } } while (!is_null(cnd)) { if (inherits(cnd, "error")) { out <- handlers[[1L]](cnd) if (!inherits(out, "rlang_zap")) throw(out) } inherit <- .subset2(.subset2(cnd, "rlang"), "inherit") if (is_false(inherit)) { return() } cnd <- .subset2(cnd, "parent") }}), stackOverflowError = handlers[[1L]]) 7: rlang::try_fetch(rapi_execute(stmt, arrow, integer64), error = function(e) { rethrow_error_from_rapi(e, call)}) 8: rethrow_rapi_execute(res@stmt_lst$ref, res@arrow, res@connection@bigint == "integer64") 9: duckdb_execute(res) 10: duckdb_result(connection = conn, stmt_lst = stmt_lst, arrow = arrow) 11: .local(conn, statement, ...) 12: dbSendQuery(conn, statement, ...) 13: dbSendQuery(conn, statement, ...) 14: dbSendStatement(conn, statement, ...) 15: dbSendStatement(conn, statement, ...) 16: DBI::dbExecute(con, sql) 17: DBI::dbExecute(con, sql) 18: db_exec("LOAD json") An irrecoverable exception occurred. R is aborting now ... Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘developers.Rmd’ using rmarkdown --- finished re-building ‘developers.Rmd’ --- re-building ‘extend.Rmd’ using rmarkdown --- finished re-building ‘extend.Rmd’ --- re-building ‘fallback.Rmd’ using rmarkdown --- finished re-building ‘fallback.Rmd’ --- re-building ‘large.Rmd’ using rmarkdown Quitting from lines 168-170 [unnamed-chunk-10] (large.Rmd) Error: processing vignette 'large.Rmd' failed with diagnostics: rapi_execute: Failed to run query Error: Invalid Input Error: Initialization function "httpfs_init" from file "/data/gannet/ripley/.local/share/R/duckdb/extensions/v1.2.0/linux_amd64_gcc4/httpfs.duckdb_extension" threw an exception: "Attempted to dereference unique_ptr that is NULL!" --- failed re-building ‘large.Rmd’ --- re-building ‘limits.Rmd’ using rmarkdown --- finished re-building ‘limits.Rmd’ --- re-building ‘prudence.Rmd’ using rmarkdown --- finished re-building ‘prudence.Rmd’ --- re-building ‘telemetry.Rmd’ using rmarkdown --- finished re-building ‘telemetry.Rmd’ SUMMARY: processing the following file failed: ‘large.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang