munichrocker / DatawRappr

R-Package to connect to the Datawrapper-API

Home Page:https://munichrocker.github.io/DatawRappr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check for .Renviron file

munichrocker opened this issue · comments

Check if .Renviron exists in Home:

if(!file.exists(user_renviron)) # check to see if the file already exists
  file.create(user_renviron)
file.edit(user_renviron) # open with another text editor if this fails

Is included in 813016c