To cite forestinventory in publications use:

Hill A, Massey A (2021). “The R Package forestinventory: Design-Based Global and Small Area Estimations for Multiphase Forest Inventories.” Journal of Statistical Software, 97(4), 1–40. doi: 10.18637/jss.v097.i04.

Corresponding BibTeX entry:

  @Article{,
    title = {The {R} Package {forestinventory}: Design-Based Global and
      Small Area Estimations for Multiphase Forest Inventories},
    author = {Andreas Hill and Alexander Massey},
    journal = {Journal of Statistical Software},
    year = {2021},
    volume = {97},
    number = {4},
    pages = {1--40},
    doi = {10.18637/jss.v097.i04},
  }