title: How can I round seconds to 2 places upon using R package lubridate's seconds_to_period function?
body: <p>I converted seconds to <code>DD:HH:MM:SS</code> format using the R package Lubridate's function <code>seconds_to_period</code>. Now I have a huge list of times which look like this -> <code>2d 7H 1M 5.31500000000233S</code>. I need to round off the seconds to 2 decimal places.<br>
  I tried using <code>round_date</code> and <code>ymd_hms</code> but I receive this <code>error in as.POSIXct.numeric(x) : 'origin' must be supplied</code>. I tried if I could access the seconds separately and write a function to change them but could not. How can I solve this?</p>
  
  <p>Attached a duration.RData file and durdata.R file for reference data. Both the files have the same data but one is using dput() and other using save(). Link : <a href="https://drive.google.com/open?id=1uIF3prma5jrS9BhoTcct-S1h4NXVqcpM" rel="nofollow noreferrer">link to files</a></p>