partial revert of commit 7a18d7f. fixed bug in get_tsn (raised warning w...

...hen out has a length greater 1). Not needed anymore - no tests for cran-version.