The attached pdf file is a draft of the paper. I will update all the materials after the review process.
**Abstract:**
Numerous R packages provide classes and functions for working with graph and spatial
datasets, notably igraph and sf, respectively. A handful of packages support spatial networks. This
paper focuses on using R for working with a particular type of spatial network: street networks. We
showcase two relatively recent classes designed for street network processing and analysis: the
sfNetwork class in stplanr, which contains igraph and sf objects, and the dodgr_streetnet class
in dodgr, which extends the data.frame. Increasingly complex street network datasets, from a
roundabout to a city network, are used to highlight the main features of each approach. We find
that both can enable street network analysis tasks, including shortest path analysis and measures of
centrality. Both approaches have merits and potential pitfalls, which should be considered before
embarking on street network analysis or spatial network software development projects with R.