From 52d9adb725316a804d74c124e3a430121b5f0cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= Date: Thu, 8 Sep 2022 22:42:12 +0200 Subject: [PATCH] Fix README.Rmd for new asciicast --- README.Rmd | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/README.Rmd b/README.Rmd index 50d50dbe1..9e0eb0841 100644 --- a/README.Rmd +++ b/README.Rmd @@ -18,21 +18,17 @@ knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures", - out.width = "100%" + out.width = "100%", + cache = TRUE, + asciicast_theme = "pkgdown" ) asciicast::init_knitr_engine( + startup = quote({ + library(cli) + set.seed(1) }), echo = TRUE, echo_input = FALSE, - startup = quote(library(cli)), - interactive = FALSE, - options = list( - asciicast_knitr_output = "auto", - asciicast_at = "end", - asciicast_end_wait = 3, - asciicast_echo = FALSE, - asciicast_theme = "pkgdown", - asciicast_omit_last_line = TRUE - ) + interactive = FALSE ) ```