-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
suppress task output and renv dependency output on logLevel="quiet" (#…
- Loading branch information
1 parent
d585c26
commit 76ffcfe
Showing
6 changed files
with
149 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# leading timestamps are stripped | ||
|
||
Code | ||
stripConnectTimestamps(c( | ||
"2024/04/24 13:08:04.901698921 [rsc-session] Content GUID: 3bfbd98a-6d6d-41bd-a15f-cab52025742f", | ||
"2024/04/24 13:08:04.901734307 [rsc-session] Content ID: 43888", | ||
"2024/04/24 13:08:04.901742487 [rsc-session] Bundle ID: 94502", | ||
"2024/04/24 13:08:04.901747536 [rsc-session] Variant ID: 6465")) | ||
Output | ||
[1] "[rsc-session] Content GUID: 3bfbd98a-6d6d-41bd-a15f-cab52025742f" | ||
[2] "[rsc-session] Content ID: 43888" | ||
[3] "[rsc-session] Bundle ID: 94502" | ||
[4] "[rsc-session] Variant ID: 6465" | ||
|
||
# non-leading timestamps remain | ||
|
||
Code | ||
stripConnectTimestamps(c( | ||
"this message has a timestamp 2024/04/24 13:08:04.901698921 within a line")) | ||
Output | ||
[1] "this message has a timestamp 2024/04/24 13:08:04.901698921 within a line" | ||
|
||
# messages without recognized timestamps are unmodified | ||
|
||
Code | ||
stripConnectTimestamps(c("this message has no timestamp", | ||
"2024/04/24 13:08 this message timestamp has a different format")) | ||
Output | ||
[1] "this message has no timestamp" | ||
[2] "2024/04/24 13:08 this message timestamp has a different format" | ||
|
||
# waitForTask | ||
|
||
Code | ||
invisible(client$waitForTask(101, quiet = FALSE)) | ||
Output | ||
[rsc-session] Content GUID: 3bfbd98a-6d6d-41bd-a15f-cab52025742f | ||
[rsc-session] Content ID: 43888 | ||
[rsc-session] Bundle ID: 94502 | ||
[rsc-session] Variant ID: 6465 | ||
|
||
--- | ||
|
||
Code | ||
invisible(client$waitForTask(42, quiet = TRUE)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters