If you look at cran package sorted by name
https://cran.r-project.org/web/packages/available_packages_by_name.html
You'll see there is not ts
Are you looking for function ts
from the stats already installed with base R ?
Look at ?ts
in R console