Update R/floop.R

Fix times to depend on period if numeric.