Running 'testthat.R' [38s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(eixport)
  > 
  > test_check("eixport")
  Sum: 2090610.32
  NOTE: see wrf_create domumentation notes before run
  creating emission for domain 2 ...
  output file: D:\temp\2025_12_01_18_19_37_23003\RtmpINdlVk/wrfchemi_d02_2011-08-02_00%3A00%3A00 
  writing emissions: E_CO weight 1 on file D:\temp\2025_12_01_18_19_37_23003\RtmpINdlVk/wrfchemi_d02_2011-08-02_00%3A00%3A00 
  writing emissions: E_CO weight 1 on file D:/temp/2025_12_01_18_19_37_23003/RtmpINdlVk/wrfchemi_d02_2011-08-02_00_00_00 
  NOTE: see wrf_create domumentation notes before run
  creating emission for domain 2 ...
  File D:\temp\2025_12_01_18_19_37_23003\RtmpINdlVk/EMISS/wrfchemi_d02_2011-08-01_00%3A00%3A00 (NC_FORMAT_CLASSIC):
  
       39 variables (excluding dimension variables):
          char Times[DateStrLen,Time]   
          float XLAT[west_east,south_north]   
              MemoryOrder: XY
              description: LATITUDE, SOUTH IS NEGATIVE
              units: degree north
              stagger: 
              FieldType: 104
          float XLONG[west_east,south_north]   
              MemoryOrder: XY
              description: LONGITUDE, WEST IS NEGATIVE
              units: degree east
              stagger: 
              FieldType: 104
          float E_ALD[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_C2H5OH[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_CH3OH[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_CO[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_CSL[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_ECC[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: ug m^-2 s^-1
              stagger: Z
              FieldType: 104
          float E_ECI[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_ECJ[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_ETH[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_HC3[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_HC5[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_HC8[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_HCHO[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_ISO[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_KET[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_NH3[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_NO[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_NO2[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_NO3C[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_NO3I[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_NO3J[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_OL2[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_OLI[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_OLT[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_ORA2[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_ORGC[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: ug m^-2 s^-1
              stagger: Z
              FieldType: 104
          float E_ORGI[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_ORGJ[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_PM25I[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_PM25J[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_SO2[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_SO4C[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_SO4I[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_SO4J[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_TOL[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
          float E_XYL[west_east,south_north,emissions_zdim_stag,Time]   
              MemoryOrder: XYZ
              description: EMISSIONS
              units: mol km^-2 hr^-1
              stagger: Z
              FieldType: 104
  
       5 dimensions:
          DateStrLen  Size:19 
          Time  Size:1   *** is unlimited *** 
          west_east  Size:63 
          south_north  Size:51 
          emissions_zdim_stag  Size:1 
  
      79 global attributes:
          TITLE: Anthropogenic emissions for WRF V4.0
          History: created on 2025-12-02 at 01:38
          Author: R package eixport v0.6.2
          WEST-EAST_GRID_DIMENSION: 64
          SOUTH-NORTH_GRID_DIMENSION: 52
          BOTTOM-TOP_GRID_DIMENSION: 35
          DX: 3000
          DY: 3000
          GRIDTYPE: C
          DIFF_OPT: 1
          KM_OPT: 4
          DAMP_OPT: 3
          DAMPCOEF: 0.200000002980232
          KHDIF: 0
          KVDIF: 0
          MP_PHYSICS: 10
          RA_LW_PHYSICS: 4
          RA_SW_PHYSICS: 4
          SF_SFCLAY_PHYSICS: 1
          SF_SURFACE_PHYSICS: 2
          BL_PBL_PHYSICS: 1
          CU_PHYSICS: 0
          SF_LAKE_PHYSICS: 0
          SURFACE_INPUT_SOURCE: 1
          SST_UPDATE: 0
          GRID_FDDA: 0
          GFDDA_INTERVAL_M: 0
          GFDDA_END_H: 0
          GRID_SFDDA: 0
          SGFDDA_INTERVAL_M: 0
          SGFDDA_END_H: 0
          HYPSOMETRIC_OPT: 2
          USE_THETA_M: 0
          USE_MAXW_LEVEL: 0
          USE_TROP_LEVEL: 0
          GWD_OPT: 0
          SF_URBAN_PHYSICS: 1
          SF_OCEAN_PHYSICS: 0
          SIMULATION_INITIALIZATION_TYPE: REAL-DATA CASE
          WEST-EAST_PATCH_START_UNSTAG: 1
          WEST-EAST_PATCH_END_UNSTAG: 63
          WEST-EAST_PATCH_START_STAG: 1
          WEST-EAST_PATCH_END_STAG: 64
          SOUTH-NORTH_PATCH_START_UNSTAG: 1
          SOUTH-NORTH_PATCH_END_UNSTAG: 51
          SOUTH-NORTH_PATCH_START_STAG: 1
          SOUTH-NORTH_PATCH_END_STAG: 52
          BOTTOM-TOP_PATCH_START_UNSTAG: 1
          BOTTOM-TOP_PATCH_END_UNSTAG: 34
          BOTTOM-TOP_PATCH_START_STAG: 1
          BOTTOM-TOP_PATCH_END_STAG: 35
          GRID_ID: 2
          PARENT_ID: 1
          I_PARENT_START: 48
          J_PARENT_START: 40
          PARENT_GRID_RATIO: 3
          DT: 15
          CEN_LAT: -23.7047119140625
          CEN_LON: -46.5030517578125
          TRUELAT1: -23
          TRUELAT2: -24
          MOAD_CEN_LAT: -23.5499954223633
          STAND_LON: -45
          POLE_LAT: 90
          POLE_LON: 0
          GMT: 0
          JULYR: 2011
          JULDAY: 213
          MAP_PROJ: 1
          MAP_PROJ_CHAR: Lambert Conformal
          MMINLU: MODIFIED_IGBP_MODIS_NOAH
          NUM_LAND_CAT: 21
          ISWATER: 17
          ISLAKE: 21
          ISICE: 15
          ISURBAN: 13
          ISOILWATER: 14
          HYBRID_OPT: -1
          ETAC: 0
  output file: D:\temp\2025_12_01_18_19_37_23003\RtmpINdlVk/EMISS/wrfchemi_d02_2011-08-01_00%3A00%3A00 
  NOTE: see wrf_create domumentation notes before run
  creating emission for domain 2 ...
  output file: D:\temp\2025_12_01_18_19_37_23003\RtmpINdlVk/wrfchemi_d02_2011-08-02_00%3A00%3A00 
  Saving _problems/test-wrf_get-38.R
  using grid info from: D:/RCompile/CRANpkg/lib/4.4/eixport/extdata/wrfinput_d02 
  Number of lat points 51
  Number of lon points 63
  using grid info from: D:/RCompile/CRANpkg/lib/4.4/eixport/extdata/wrfinput_d02 
  Number of lat points 51
  Number of lon points 63
  NOTE: see wrf_create domumentation notes before run
  creating emission for domain 2 ...
  output file: D:\temp\2025_12_01_18_19_37_23003\RtmpINdlVk/wrfchemi_d02_2011-08-02_00%3A00%3A00 
  writing emissions: E_CO weight 1 on file D:\temp\2025_12_01_18_19_37_23003\RtmpINdlVk/wrfchemi_d02_2011-08-02_00%3A00%3A00 
  writing emissions: E_CO weight 1 on file D:/temp/2025_12_01_18_19_37_23003/RtmpINdlVk/wrfchemi_d02_2011-08-02_00_00_00 
   [1] "Times"   "XLAT"    "XLONG"   "E_ACET"  "E_ALD2"  "E_ALDX"  "E_ALK3" 
   [8] "E_ALK4"  "E_ALK5"  "E_BALD"  "E_CCOOH" "E_CO"    "E_CRES"  "E_ECC"  
  [15] "E_ECI"   "E_ECJ"   "E_ETH"   "E_ETHA"  "E_ETOH"  "E_FORM"  "E_GLY"  
  [22] "E_HCL"   "E_HCOOH" "E_IOLE"  "E_IPROD" "E_ISOP"  "E_MACR"  "E_MEK"  
  [29] "E_MEO2"  "E_MEOH"  "E_MGLY"  "E_NH3"   "E_NO"    "E_NO2"   "E_NO3C" 
  [36] "E_NO3I"  "E_NO3J"  "E_OLE"   "E_ORGC"  "E_ORGI"  "E_ORGJ"  "E_PAR"  
  [43] "E_PHEN"  "E_PM10"  "E_PM25I" "E_PM25J" "E_PROD2" "E_PSULF" "E_SO2"  
  [50] "E_SO4C"  "E_SO4I"  "E_SO4J"  "E_TERP"  "E_TOL"   "E_XYL"  
   [1] "Times"    "XLAT"     "XLONG"    "E_ALD"    "E_C2H5OH" "E_CH3OH" 
   [7] "E_CO"     "E_CSL"    "E_ECC"    "E_ECI"    "E_ECJ"    "E_ETH"   
  [13] "E_HC3"    "E_HC5"    "E_HC8"    "E_HCHO"   "E_ISO"    "E_KET"   
  [19] "E_NH3"    "E_NO"     "E_NO2"    "E_NO3C"   "E_NO3I"   "E_NO3J"  
  [25] "E_OL2"    "E_OLI"    "E_OLT"    "E_ORA2"   "E_ORGC"   "E_ORGI"  
  [31] "E_ORGJ"   "E_PM25I"  "E_PM25J"  "E_SO2"    "E_SO4C"   "E_SO4I"  
  [37] "E_SO4J"   "E_TOL"    "E_XYL"   
  2011-08-02 00:00:00
  Weekday: Tuesday - Activity intensity: 0.17556734
  NOTE: see wrf_create domumentation notes before run
  creating emission for domain 2 ...
  output file: D:\temp\2025_12_01_18_19_37_23003\RtmpINdlVk/wrfchemi_d02_2011-08-02_00%3A00%3A00 
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |======================================================================| 100%[ FAIL 1 | WARN 0 | SKIP 3 | PASS 18 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • empty test (3): , ,
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-wrf_get.R:33:3'): wrf_get works ────────────────────────────────
  Error: [project] output crs is not valid
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-wrf_get.R:33:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─testthat::expect_equal(...)
    4. │ └─testthat::quasi_label(enquo(object), label)
    5. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    6. └─eixport::wrf_get(...)
    7.   └─raster::projectRaster(r, crs = raster_crs)
    8.     └─raster:::.computeRes(from, projto)
    9.       └─raster:::.rawTransform(fromsrs, crs, xy)
   10.         ├─terra::project(xy, projfrom, projto)
   11.         └─terra::project(xy, projfrom, projto)
   12.           └─terra (local) .local(x, ...)
   13.             └─terra:::messages(v, "project")
   14.               └─terra:::error(f, x@pntr$getError())
  
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 18 ]
  Error:
  ! Test failures.
  Execution halted