Skip to content

vein

Vehicular Emissions Inventories

v1.6.0 · Dec 21, 2025 · MIT + file LICENSE

Description

Elaboration of vehicular emissions inventories, consisting in four stages, pre-processing activity data, preparing emissions factors, estimating the emissions and post-processing of emissions in maps and databases. More details in Ibarra-Espinosa et al (2018) <doi:10.5194/gmd-11-2209-2018>. Before using VEIN you need to know the vehicular composition of your study area, in other words, the combination of of type of vehicles, size and fuel of the fleet. Then, it is recommended to start with the project to download a template to create a structure of directories and scripts.

Downloads

CRAN

656

Last 30 days

5162nd

1.9K

Last 90 days

6.4K

Last year

Trend: +23.1% (30d vs prior 30d)

r2u CRAN

24

Last 30 days

142

Last 90 days

438

Last year

Trend: -40% (30d vs prior 30d)

autoCRAN

1

Last 7 days

11

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

for unstated dependencies in examples

Warning in file(out, "wt") :
  cannot open file '/tmp/RtmpIryzOm/file2484531699269/ef_fun.R': No space left on device
Error in file(out, "wt") : cannot open the connection
Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.2Mb
  sub-directories of 1Mb or more:
    R      3.4Mb
    help   1.1Mb

Code

Structure

Lines of code

30,469

Files

289

Compiled share

3.4%

Has compiled src

Yes

Language breakdown

R 16,987 (55.8%)C/C++/src 1,041 (3.4%)Tests 5,048 (16.6%)Docs 7,284 (23.9%)Vignettes 109 (0.4%)

API

Exported functions

98

Internal functions

21

Recent export changes

v1.3.0+1 age_veh  −1 emis_merge
v1.1.3+1 get_ef_ref  −3 ef_ive, emis_source, emis_wrf

Testing & CI

Has tests

Yes

Test-to-code ratio

0.30

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

85.6%

\dontrun example ratio

67.4%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

63.6%

Unsafe pattern score

123

Dep constraint coverage

12.5%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.1

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

34

First release

2017-05-14

Latest release

2025-12-21

Avg cadence

78 days

Cold removal rate

87.5%

Dep drift

16

LOC over versions

v0.2.1-4: 4,807 LOCv0.2.1-8: 4,917 LOCv0.2.2-3: 5,056 LOCv0.2.2-25: 5,343 LOCv0.2.3: 5,999 LOCv0.3.9: 6,478 LOCv0.3.35: 8,396 LOCv0.4.2: 8,936 LOCv0.5.2: 9,930 LOCv0.6.0: 10,464 LOCv0.7.0: 13,356 LOCv0.7.8: 15,461 LOCv0.7.12: 16,286 LOCv0.8.0: 16,333 LOCv0.8.5: 16,568 LOCv0.8.7: 17,174 LOCv0.8.8: 18,044 LOCv0.8.9: 23,372 LOCv0.9.0: 25,386 LOCv0.9.0.1: 24,427 LOCv0.9.1: 20,628 LOCv0.9.1.2: 20,933 LOCv0.9.2: 26,502 LOCv0.9.3: 26,487 LOCv0.9.4: 29,467 LOCv0.9.5: 29,568 LOCv0.9.6: 29,795 LOCv0.9.9: 29,785 LOCv1.0.0: 31,494 LOCv1.0.2: 32,127 LOCv1.1.3: 31,868 LOCv1.3.0: 30,508 LOCv1.5.0: 30,565 LOCv1.6.0: 30,469 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies sf data.table units dotCall64 cptcity vein

Version History

35 tracked
new 1.6.0 Mar 10, 2026
updated 1.6.0 ← 1.5.0 diff Dec 20, 2025
updated 1.5.0 ← 1.3.0 diff Oct 4, 2025
updated 1.3.0 ← 1.1.3 diff Mar 28, 2025
updated 1.1.3 ← 1.0.2 diff Apr 30, 2024
updated 1.0.2 ← 1.0.0 diff Apr 28, 2023
updated 1.0.0 ← 0.9.9 diff Feb 22, 2023
updated 0.9.9 ← 0.9.6 diff Aug 16, 2022
updated 0.9.6 ← 0.9.5 diff May 12, 2022
updated 0.9.5 ← 0.9.4 diff Feb 5, 2022
updated 0.9.4 ← 0.9.3 diff Oct 7, 2021
updated 0.9.3 ← 0.9.2 diff Jun 29, 2021
updated 0.9.2 ← 0.9.1.2 diff Jun 21, 2021
updated 0.9.1.2 ← 0.9.1 diff Feb 16, 2021
updated 0.9.1 ← 0.9.0.1 diff Feb 9, 2021