Issue Fix: If "VALUE=DATE", "DTSTART" or "DTEND" exists in the ical-object the dates are now parsed correctly using data.frames instead of lists.
Minor Fix: Removed redundant if-statement. ic_dataframe()-function already checks wether the object is a character or list and therefore the if-statement is redundant.
Layout Fix: Increased spacing between if-statement and conditions, and added vertical space. All lapply-functions are now more verbose in the function calls.
Hi,
I took the liberty to give the code a bit of air, and more explicit usage of arguments in the
lapply()
-functions. I hope this is OK.This PR closes https://github.com/ATFutures/calendar/issues/55
Commit Message
Issue Fix: If "VALUE=DATE", "DTSTART" or "DTEND" exists in the ical-object the dates are now parsed correctly using data.frames instead of lists.
Minor Fix: Removed redundant if-statement.
ic_dataframe()
-function already checks wether the object is acharacter
orlist
and therefore the if-statement is redundant.Layout Fix: Increased spacing between if-statement and conditions, and added vertical space. All
lapply
-functions are now more verbose in the function calls.