I am writing an R package where there are internal data in sysdata.rda and a function that performs a spline interpolating fit of the data using splinefun. During the check of the package (or during the build) I get an error that the function can’t find the data. Are the internal data available to functions in the package during the build? If so, what step am I missing?