Last updated on 2024-05-18 12:50:39 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
parquetize | 2 | 11 | |
tablexlsx | 2 | 10 |
Current CRAN status: ERROR: 2, OK: 11
Version: 0.5.7
Check: examples
Result: ERROR
Running examples in 'parquetize-Ex.R' failed
The error most likely occurred in:
> ### Name: csv_to_parquet
> ### Title: Convert a csv or a txt file to parquet format
> ### Aliases: csv_to_parquet
>
> ### ** Examples
>
>
> # Conversion from a local csv file to a single parquet file :
>
> csv_to_parquet(
+ path_to_file = parquetize_example("region_2022.csv"),
+ path_to_parquet = tempfile(fileext=".parquet")
+ )
Reading data...
Writing data...
✔ Data are available in parquet file under D:\temp\Rtmpqm9gba\file1db8c19015447.parquet
Writing data...
Reading data...
>
> # Conversion from a local txt file to a single parquet file :
>
> csv_to_parquet(
+ path_to_file = parquetize_example("region_2022.txt"),
+ path_to_parquet = tempfile(fileext=".parquet")
+ )
Reading data...
Writing data...
✔ Data are available in parquet file under D:\temp\Rtmpqm9gba\file1db8c5c5120ce.parquet
Writing data...
Reading data...
>
> # Conversion from a local csv file to a single parquet file and select only
> # few columns :
>
> csv_to_parquet(
+ path_to_file = parquetize_example("region_2022.csv"),
+ path_to_parquet = tempfile(fileext = ".parquet"),
+ columns = c("REG","LIBELLE")
+ )
Reading data...
Writing data...
✔ Data are available in parquet file under D:\temp\Rtmpqm9gba\file1db8c5efc5d38.parquet
Writing data...
Reading data...
>
> # Conversion from a local csv file to a partitioned parquet file :
>
> csv_to_parquet(
+ path_to_file = parquetize_example("region_2022.csv"),
+ path_to_parquet = tempfile(fileext = ".parquet"),
+ partition = "yes",
+ partitioning = c("REG")
+ )
Reading data...
Writing data...
✔ Data are available in parquet dataset under D:\temp\Rtmpqm9gba\file1db8c65207ec1.parquet
Writing data...
Reading data...
>
> # Conversion from a URL and a zipped file (csv) :
>
> csv_to_parquet(
+ path_to_file = "https://www.nomisweb.co.uk/output/census/2021/census2021-ts007.zip",
+ filename_in_zip = "census2021-ts007-ctry.csv",
+ path_to_parquet = tempfile(fileext = ".parquet")
+ )
Error in curl_download(path, tempfile(fileext = file_ext(path))) :
HTTP error 406.
Calls: csv_to_parquet -> download_extract -> curl_download
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.5.7
Check: examples
Result: ERROR
Running examples in ‘parquetize-Ex.R’ failed
The error most likely occurred in:
> ### Name: check_parquet
> ### Title: Check if parquet file or dataset is readable and return basic
> ### informations
> ### Aliases: check_parquet
>
> ### ** Examples
>
>
> # check a parquet file
> check_parquet(parquetize_example("iris.parquet"))
ℹ checking: /Volumes/Builds/packages/big-sur-arm64/results/4.4/parquetize.Rcheck/parquetize/extdata/iris.parquet
Error: This build of the arrow package does not support Datasets
Execution halted
Flavor: r-release-macos-arm64
Version: 0.5.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
Backtrace:
▆
1. └─parquetize::expect_parquet(...) at test-write_parquet_by_chunk.R:101:3
2. └─base::tryCatch(...)
3. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. └─value[[3L]](cond)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
[ FAIL 112 | WARN 0 | SKIP 3 | PASS 121 ]
Error: Test failures
In addition: Warning message:
call dbDisconnect() when finished working with a connection
Execution halted
Flavor: r-release-macos-arm64
Version: 0.5.7
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘aa-conversions.Rmd’ using rmarkdown
Quitting from lines 51-57 [iris-memory-example] (aa-conversions.Rmd)
Error: processing vignette 'aa-conversions.Rmd' failed with diagnostics:
Cannot call parquet___WriterProperties___Builder__create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries.
--- failed re-building ‘aa-conversions.Rmd’
SUMMARY: processing the following file failed:
‘aa-conversions.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-macos-arm64
Current CRAN status: NOTE: 2, OK: 10
Version: 0.1.0
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘dplyr’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc