LANDFIRE R Toolkit
  • Home
  • Download data
  • Prepare rasters
  • Make charts
  • Make hex map
  • Process events data
  • Compiled code
  • About
  • LANDFIRE Logo

On this page

  • (Don’t) Start from Scratch
  • Have questions? LANDFIRE is here to help.
  • R Session Information

About the LANDFIRE R Toolkit

(Don’t) Start from Scratch

Welcome to the LANDFIRE R Toolkit — your go-to hub for accelerating landscape analysis with LANDFIRE and R. Here, you’ll find tested, ready-to-use R code that simplifies data access, processing, and visualization for your region. Whether you’re a seasoned analyst or just getting started, this site helps you fast-track your workflow and connect with a growing community of LANDFIRE users who are actively coding, sharing, and tackling real-world challenges.

This site will be updated frequently throughout the year to ensure accuracy and when advances are made, we’ll share updated code.

Have questions? LANDFIRE is here to help.

  • Do you have a LANDFIRE R Toolkit/coding question? Ask TNC
  • Do you have a LANDFIRE question? Ask the LANDFIRE Helpdesk
  • Search (& subscribe to) the LANDFIRE YouTube Channel (see tutorials, Office Hours, quick demonstrations)


R Session Information

We will try our best to keep code up to date and use modern versions of R, R-Studio and all packages. That said, if you run into issues knowing our R Session info may help you troubleshoot. Here’s the specifics of our code runs:

### Platform Information
Component Value
version R version 4.4.3 (2025-02-28 ucrt)
os Windows 11 x64 (build 22631)
system x86_64, mingw32
ui RTerm
language (EN)
collate English_United States.utf8
ctype English_United States.utf8
tz America/New_York
date 2025-11-14
pandoc 3.6.3 @ C:/Program Files/RStudio/resources/app/bin/quarto/bin/tools/ (via rmarkdown)
quarto NA @ C:~1.exe
Library path [hidden]
Finding R package dependencies ... [124/185] [125/185] [126/185] [127/185] [128/185] [129/185] [130/185] [131/185] [132/185] [133/185] [134/185] [135/185] [136/185] [137/185] [138/185] [139/185] [140/185] [141/185] [142/185] [143/185] [144/185] [145/185] [146/185] [147/185] [148/185] [149/185] [150/185] [151/185] [152/185] [153/185] [154/185] [155/185] [156/185] [157/185] [158/185] [159/185] [160/185] [161/185] [162/185] [163/185] [164/185] [165/185] [166/185] [167/185] [168/185] [169/185] [170/185] [171/185] [172/185] [173/185] [174/185] [175/185] [176/185] [177/185] [178/185] [179/185] [180/185] [181/185] [182/185] [183/185] [184/185] [185/185] Done!
WARNING: One or more problems were discovered while enumerating dependencies.

# C:/Users/rswaty/Documents/r_demos/code/events_error_troubleshooting.R --------
Error: C:/Users/rswaty/Documents/r_demos/code/events_error_troubleshooting.R:37:0: unexpected end of input
35:   # #make valid - didn't help same warning
36:   # rawsimple_union <- st_make_valid(rawsimple_union)
   ^

Please see `]8;;x-r-help:renv::dependencies?renv::dependencies]8;;` for more information.

### Packages Used Across the Website
Package Version
knitr knitr 1.50
renv renv 1.1.4
sessioninfo sessioninfo 1.2.3
rmarkdown rmarkdown 2.30
exactextractr exactextractr 0.10.0
foreign foreign 0.8.90
htmlwidgets htmlwidgets 1.6.4
leaflet leaflet 2.2.2
rlandfire rlandfire 2.0.1
sf sf 1.0.21
terra terra 1.8.80
tidyverse tidyverse 2.0.0
arcgisbinding arcgisbinding 1.0.1.311
rmapshaper rmapshaper 0.5.0
units units 0.8.7
jsonlite jsonlite 2.0.0
leaflet.providers leaflet.providers 2.0.0
RColorBrewer RColorBrewer 1.1.3
scales scales 1.4.0
stringr stringr 1.5.1



Logo 3 Logo 2 Logo 1 Logo 3