Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

adapt write_log() so that it adapts to interactive or not #581

@cjyetman

Description

@cjyetman

Adapt the write_log() function so that it properly adapts to the result of interactive(). If interactive() == TRUE, messages should be sent to the console so the user sees them immediately. If interactive() == FALSE, e.g. when running on TM website, messages should be sent to the appropriate log file. Then all warning(), print(), and similar commands should be converted to use write_log() instead.

fyi @AlexAxthelm

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions