* using log directory 'd:/Rcompile/CRANpkg/local/4.4/vein.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'vein/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'vein' version '1.1.3' * 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 'vein' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 13.3.0' * used Fortran compiler: 'GNU Fortran (GCC) 13.3.0' * 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [1s] 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 ... [26s] OK * checking Rd files ... [2s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking usage of KIND in Fortran files ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [28s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [64s] ERROR Running 'testthat.R' [64s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(vein) > > test_check("vein") Running tests in parallel requires the 3rd edition Weighted mean = 6 [[1]] function (V) x[i] [[2]] function (V) x[i] [[3]] function (V) x[i] [[4]] function (V) x[i] [[5]] function (V) x[i] [[6]] function (V) x[i] [[7]] function (V) x[i] [[8]] function (V) x[i] [[9]] function (V) x[i] [[10]] function (V) x[i] [[11]] function (V) x[i] [[12]] function (V) x[i] [[13]] function (V) x[i] [[14]] function (V) x[i] [[15]] function (V) x[i] [[16]] function (V) x[i] [[17]] function (V) x[i] [[18]] function (V) x[i] [[19]] function (V) x[i] [[20]] function (V) x[i] [[21]] function (V) x[i] [[22]] function (V) x[i] [[23]] function (V) x[i] [[24]] function (V) x[i] [[25]] function (V) x[i] [[26]] function (V) x[i] [[27]] function (V) x[i] [[28]] function (V) x[i] [[29]] function (V) x[i] [[30]] function (V) x[i] [[31]] function (V) x[i] [[32]] function (V) x[i] [[33]] function (V) x[i] [[34]] function (V) x[i] [[35]] function (V) x[i] [[36]] function (V) x[i] [[37]] function (V) x[i] [[38]] function (V) x[i] [[39]] function (V) x[i] [[40]] function (V) x[i] attr(,"class") [1] "EmissionFactorsList" "list" This EmissionFactorsList has 40 functionsThis EmissionFactorsList has 40 functions Min Qu.1 Median Mean Qu.3 Max sd 1 0.002 0.134 0.876 4.024 3.694 80.182 7.999 Weighted mean = 4.49 Number of lon points: 16 Number of lat points: 19 Sum of street emissions 1768.17 Sum of gridded emissions 1768.17 Weighted mean = 1.5 Please, choose one of the following pollutants: CH4 CO2 D_0_15 D_10_25 D_20_35 ETOH FC FS KML N2O NH3 PM R_0_15 R_10_25 R_20_35 S_0_15 S_10_25 S_20_35 gCO2/KWH gD/KWH CO_0km CO NOx NOx_0km NO NO_0km NO2 NO2_0km HC_0km HC NMHC_0km NMHC RCHO RCHO_0km PM25RES PM10RES scale = default scale = default Please, choose on of the following categories: PC_G PC_E PC_FG PC_FE LCV_G LCV_E LCV_FG LCV_FE LCV_D TRUCKS_SL_D TRUCKS_L_D TRUCKS_M_D TRUCKS_SH_D TRUCKS_H_D BUS_URBAN_D BUS_MICRO_D BUS_COACH_D BUS_ARTIC_D MC_150_G MC_150_500_G MC_500_G MC_150_FG MC_150_500_FG MC_500_FG MC_150_FE MC_150_500_FE MC_500_FE CICLOMOTOR G_BEFORE_GNV G_AFTER_GNV GNV_AFTER_GNV LDV HDV MC PC_ELEC LCV_ELEC TRUCKS_ELEC BUS_ELEC MC_150_ELEC MC_150_500_ELEC MC_500_ELEC note ref 'v' must be one of: Trucks PV 't' must be one of: Mini Light Medium Heavy Low Speed Small Large Taxi Bus Motorcycles Moped Mediumbus Largebus 3-Wheel 'f' must be one of: G D CNG ALL G HY D HY D 'p' must be one of: CO HC NOx PM2.5 PM10 Please, select any of: [1] "ed" "eshotfi" "eswarmc" "eshotc" "erhotfi" "erwarmc" "erhotc" function (x, x0, L, k) { L/(1 + exp(1)^(-k * (x - x0))) } adjusting amileage adjusting ef Names of the ef data.frame: [1] "Age" "Year" "Pollutant" "Proconve_LDV" "t_Euro_LDV" [6] "Euro_LDV" "Proconve_HDV" "Euro_HDV" "PC_G" "LT" Range Year: 1980 2015 Names of the Pollutants: CO HC NMHC CH4 NOx CO2 PM N2O Names of the ef data.frame: [1] "Age" "Year" "Pollutant" "Proconve_LDV" "t_Euro_LDV" [6] "Euro_LDV" "Proconve_HDV" "Euro_HDV" "PC_G" "LT" Range Year: 1980 2015 Names of the Pollutants: CO HC NMHC CH4 NOx CO2 PM N2O Please, choose one of the following pollutants: CO HC NMHC CH4 NOx CO2 PM N2O Names of the ef data.frame: [1] "Age" "Year" "Pollutant" "Proconve_LDV" "t_Euro_LDV" [6] "Euro_LDV" "Proconve_HDV" "Euro_HDV" "PC_G" "LT" Range Year: 1980 2015 Names of the ef data.frame: [1] "Age" "Year" "Pollutant" "Proconve_LDV" "t_Euro_LDV" [6] "Euro_LDV" "Proconve_HDV" "Euro_HDV" "PC_G" "LT" Range Year: 1980 2015 Names of the Pollutants: CO HC NMHC CH4 NOx CO2 PM N2O Names of the ef data.frame: [1] "Age" "Year" "Pollutant" "Proconve_LDV" "t_Euro_LDV" [6] "Euro_LDV" "Proconve_HDV" "Euro_HDV" "PC_G" "LT" Range Year: 1980 2015 Names of the Pollutants: CO HC NMHC CH4 NOx CO2 PM N2O Names of the ef data.frame: [1] "Age" "Year" "Pollutant" "Proconve_LDV" "t_Euro_LDV" [6] "Euro_LDV" "Proconve_HDV" "Euro_HDV" "PC_G" "LT" Range Year: 1980 2015 Names of the Pollutants: CO HC NMHC CH4 NOx CO2 PM N2O Sum of emissions: 2412883 Sum of emissions: 2412883 Sum of emissions: 2412883 Sum of emissions: 2412883 Sum of emissions: 1844428 Sum of emissions: 1252443 Sum of emissions: 1252443 Sum of emissions: 1844428 Sum of emissions: 1844428 Sum of emissions: 1843744 Sum of emissions: 1843744 Sum of emissions: 1843744 Sum of emissions: 1843744 Sum of emissions: 1255381 Sum of emissions: 1255381 Columns: geometry emission Selecting: motorway motorway_link trunk trunk_link primary primary_link secondary secondary_link tertiary tertiary_link Columns: emission highway geometry Sum of emissions: 13255 Sum of emissions: 13255 Sum of emissions: 1155 Sum of emissions: 1650 Number of lon points: 16 Number of lat points: 19 Sum of street emissions 12752 Sum of gridded emissions 12752 Sum of street emissions 12752 Sum of gridded emissions 12752 Sum of point emissions 12752 Sum of gridded emissions 12752 Sum of point emissions 1 Sum of gridded emissions 1 Sum of gridded emissions 1 Sum of street emissions 12752 Sum of gridded emissions 12752 Sum of point emissions 12752 Sum of gridded emissions 12752 Sum of point emissions 1 Sum of gridded emissions 1 Sum of gridded emissions 1 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 6090769 Sum of emissions: 776986.6 Sum of emissions: 776986.6 Sum of emissions: 776986.6 Sum of emissions: 776986.6 Sum of emissions: 776986.6 Sum of emissions: 776986.6 Sum of emissions: 778797.7 Sum of emissions: 776986.6 Sum of emissions: 776986.6 Sum of emissions: 776986.6 Sum of emissions: 776986.6 Sum of emissions: 776986.6 Sum of emissions: 14127.03 Sum of emissions: 14127.03 Sum of emissions: 776986.6 Transforming into data.frame Your local_tz is: Europe/Berlin Difference with UTC: -23 Number of lon points: 15 Number of lat points: 19 Sum of street emissions 3762.47 Sum of gridded emissions 3762.47 Scripts: [1] "est/BUS_01_input.R" "est/HGV_01_input.R" "est/LCV_01_input.R" [4] "est/MC_01_input.R" "est/PC_01_input.R" "main.R" [7] "post.R" "traffic.R" Number of lon points: 23 Number of lat points: 19 Sum of street emissions 2095073 Sum of gridded emissions 2095073 Number of lon points: 23 Number of lat points: 19 Number of lon points: 23 Number of lat points: 19 Number of lon points: 23 Number of lat points: 19 Number of lon points: 23 Number of lat points: 19 Number of lon points: 1 Number of lat points: 1 Speeds by columns and street in study area = Min. 1st Qu. Median Mean 3rd Qu. Max. 1 1 1 1 1 1 Number of lon points: 23 Number of lat points: 21 Total Emissions 1946.955 kg Intersecting Total Emissions 1946.955 kg Total Emissions 2095.073 kg Intersecting Total Emissions 2095.073 kg Adding Column Creating grid Number of lon points: 12 Number of lat points: 11 Total Emissions 2095.073 kg Intersecting Total Emissions 2095.073 kg [ FAIL 1 | WARN 0 | SKIP 0 | PASS 701 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-long_to_wide.R:9:3'): long_to_wide works ───────────────────── long_to_wide(df)$CO[1] not equal to 1. Attributes: < Modes: list, NULL > Attributes: < Lengths: 2, 0 > Attributes: < names for target but not for current > Attributes: < current is not list-like > target is units, current is numeric [ FAIL 1 | WARN 0 | SKIP 0 | PASS 701 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [3s] OK * checking PDF version of manual ... [25s] OK * checking HTML version of manual ... [19s] OK * DONE Status: 1 ERROR