wch / extrafont

Tools for using fonts in R graphics
315 stars 48 forks source link

Feature request: font_import() should not prompt if session is not interactive #71

Open rossellhayes opened 4 years ago

rossellhayes commented 4 years ago

Using font_import() in a non-interactive session require the user to manually set prompt = FALSE to avoid user interaction. font_import() should instead check if (interactive()) to determine if the prompt should be displayed. I can provide a pull request if this feature is wanted.

wch commented 4 years ago

Sounds like a good idea. I'll definitely consider a PR.

rossellhayes commented 4 years ago

Thank you, I've submitted #72.