bnosac / cronR

A simple R package for managing your cron jobs.
Other
288 stars 38 forks source link

cron_add: omit empty line when no env is passed #51

Closed gerhardqux closed 2 years ago

gerhardqux commented 2 years ago

When no env is passed, v0.6.1 inserts an empty line, which causes problems with parsing the cron entry again.

This restores the previous behaviour when no env is passed.

Resolves #50

jwijffels commented 2 years ago

thanks, will see if I can upload to cran soon as this was a bug