CRAN Package Check Results for Package eixport

Last updated on 2020-10-07 10:51:18 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.9 13.54 122.24 135.78 OK
r-devel-linux-x86_64-debian-gcc 0.4.9 11.37 92.08 103.45 OK
r-devel-linux-x86_64-fedora-clang 0.4.9 160.90 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4.9 161.03 ERROR
r-patched-linux-x86_64 0.4.9 13.90 113.71 127.61 OK
r-patched-solaris-x86 0.4.9 224.70 OK
r-release-linux-x86_64 0.4.9 14.30 113.86 128.16 OK
r-release-macos-x86_64 0.4.9 OK
r-release-windows-ix86+x86_64 0.4.9 31.00 146.00 177.00 OK
r-oldrel-macos-x86_64 0.4.9 OK
r-oldrel-windows-ix86+x86_64 0.4.9 26.00 135.00 161.00 OK

Check Details

Version: 0.4.9
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘vein’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.4.9
Check: examples
Result: ERROR
    Running examples in ‘eixport-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: to_munich
    > ### Title: Export emissions to Model of Urban Network of Intersecting
    > ### Canyons and Highways (MUNICH)
    > ### Aliases: to_munich
    >
    > ### ** Examples
    >
    > {
    + library(vein)
    + library(units)
    + library(sf)
    + data(net)
    + data(pc_profile)
    + data(profiles)
    + data(fkm)
    + PC_G <- c(33491,22340,24818,31808,46458,28574,24856,28972,37818,49050,87923,
    + 133833,138441,142682,171029,151048,115228,98664,126444,101027,
    + 84771,55864,36306,21079,20138,17439, 7854,2215,656,1262,476,512,
    + 1181, 4991, 3711, 5653, 7039, 5839, 4257,3824, 3068)
    + pc1 <- my_age(x = net$ldv, y = PC_G, name = "PC")
    +
    + # Estimation for morning rush hour and local emission factors and speed
    + speed <- data.frame(S8 = net$ps)
    + lef <- EmissionFactorsList(ef_cetesb("CO", "PC_G", agemax = ncol(pc1)))
    + E_CO <- emis(veh = pc1,lkm = net$lkm, ef = lef, speed = speed)
    + # rowSums drop units
    + net$CO <- set_units(rowSums(E_CO), g/h)
    + # selecting only CO and exploding lines and updating emissions
    + df <- st_explode(net["CO"])
    + # st_explode should not drop units, must fix
    + df$CO <- set_units(df$CO, g/h)
    + # now we have split line in vertex
    + # selecting 1000 links
    + dfco <- df[1:1000,"CO"]
    + ###########
    + #MUNICH relies in a python script that reads emissions with units ug/km/h
    + # Therefore
    + dfco$CO <- set_units(dfco$CO, ug/h)
    + dfco$CO<- dfco$CO/set_units(st_length(dfco), km)
    + etm <- to_munich(sdf = dfco)
    + names(etm)
    + class(etm)
    + head(etm$Emissions)
    + head(etm$Street)
    + write.table(x = etm$Emissions, file = paste0(tempfile(), "_Emissions.txt"),
    + row.names = FALSE, sep = " ", quote = FALSE)
    + write.table(x = etm$Street, file = paste0(tempfile(), "_Street.txt"),
    + row.names = FALSE, sep = " ", quote = FALSE)
    + ######
    + # todo: handle all unit checks and conversion internally
    + }
    Error in library(vein) : there is no package called ‘vein’
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc