An R package for fitting state-space models to repeated measures of multiple individuals with covariates