* using log directory 'd:/Rcompile/CRANpkg/local/4.5/parquetize.Rcheck' * using R Under development (unstable) (2024-05-16 r86559 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'parquetize/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'parquetize' version '0.5.7' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'parquetize' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] 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 ... [5s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [3s] 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 * checking for unstated dependencies in 'tests' ... OK * checking tests ... [13s] OK Running 'testthat.R' [13s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [4s] OK * checking PDF version of manual ... [28s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 1 ERROR