# datagen is deprecated

    Code
      datagen(get_smooths_by_id(m_gam, 1)[[1L]], data = su_eg1, n = 10)
    Condition
      Warning:
      `datagen()` was deprecated in gratia 0.9.0.
      i Please use `data_slice()` instead.
    Output
         smooth       x
      1   s(x0) 0.00131
      2   s(x0) 0.11227
      3   s(x0) 0.22323
      4   s(x0) 0.33419
      5   s(x0) 0.44514
      6   s(x0) 0.55610
      7   s(x0) 0.66706
      8   s(x0) 0.77802
      9   s(x0) 0.88897
      10  s(x0) 0.99993

