The book "Semiparametric Regression with R" by J. Harezlak, D. Ruppert & M.P. Wand (2018, Springer; ISBN: 978-1-4939-8851-8) makes use of datasets and scripts to explain semiparametric regression concepts. Each of the book's scripts are contained in this package as well as datasets that are not within other R packages. Functions that aid semiparametric regression analysis are also included.

Methods of homogenous segmentation for spatial lines data, such as pavement 
             performance indicators and traffic volumes. Three methods are available for 
             homogenous segmentation, including cumulative difference approach, minimization 
             coefficient of variation, and spatial heterogeneity based method.

Functions, data sets, analyses and examples from the book 
  ''A Handbook of Statistical Analyses Using R'' (Brian S. Everitt and Torsten
  Hothorn, Chapman & Hall/CRC, 2006). The first chapter
  of the book, which is entitled ''An Introduction to R'', 
  is completely included in this package, for all other chapters,
  a vignette containing all data analyses is available.

Functions, data sets, analyses and examples from the 
  second edition of the book 
  ''A Handbook of Statistical Analyses Using R'' (Brian S. Everitt and Torsten
  Hothorn, Chapman & Hall/CRC, 2008). The first chapter
  of the book, which is entitled ''An Introduction to R'', 
  is completely included in this package, for all other chapters,
  a vignette containing all data analyses is available. In addition,
  the package contains Sweave code for producing slides for selected
  chapters (see HSAUR2/inst/slides).

Functions, data sets, analyses and examples from the 
  third edition of the book 
  ''A Handbook of Statistical Analyses Using R'' (Torsten Hothorn and Brian S.
  Everitt, Chapman & Hall/CRC, 2014). The first chapter
  of the book, which is entitled ''An Introduction to R'', 
  is completely included in this package, for all other chapters,
  a vignette containing all data analyses is available. In addition,
  Sweave source code for slides of selected chapters is included in 
  this package (see HSAUR3/inst/slides). The publishers web page is 
  '<http://www.crcpress.com/product/isbn/9781482204582>'.