[education/rkward] rkward: change to setting that are less confusing

Stefan Rödiger null at kde.org
Tue Jun 21 16:22:32 BST 2022


Git commit 5385fb56cc744bb45c724ed007d41a184fdf1922 by Stefan Rödiger.
Committed on 21/06/2022 at 15:17.
Pushed by srodiger into branch 'master'.

change to setting that are less confusing

M  +3    -5    rkward/RKWardRMd.xml

https://invent.kde.org/education/rkward/commit/5385fb56cc744bb45c724ed007d41a184fdf1922

diff --git a/rkward/RKWardRMd.xml b/rkward/RKWardRMd.xml
index 4bc51dd1..e49b2c4d 100644
--- a/rkward/RKWardRMd.xml
+++ b/rkward/RKWardRMd.xml
@@ -181,7 +181,7 @@ A & B \\
  </item>
  <item>
   <match>Code (chunk with defaults)</match>
-  <fillin>${rangeCommand("\n```"+ braces("r, chunk-label, echo = FALSE, eval = FALSE, fig.show = \"hide\", include = FALSE, message = FALSE, results = \"hide\", warning = FALSE") +" %%1```\n", "\nx <- 1\n\n")}</fillin>
+  <fillin>${rangeCommand("\n```"+ braces("r, chunk-label, echo = FALSE, eval = TRUE, fig.show = \"asis\", include = FALSE, message = FALSE, results = \"asis\", warning = FALSE") +" %%1```\n", "\nx <- 1\n\n")}</fillin>
  </item>
  <item>
   <match>Table</match>
@@ -215,8 +215,7 @@ knitr::kable(data, caption = "Table caption text.")
  </item>
  <item>
   <match>YAML header</match>
-    <fillin>
----
+    <fillin>---
 title: "Example R Markdown in RKWard with R version `r getRversion()`"
 author: "Author Name"
 date: "`r Sys.Date()`"
@@ -228,7 +227,6 @@ output:
       toc: yes
 ---
 
-
 ```{r, echo=TRUE}
 # Defaults to suppress warnings and messages
 # Figure height and width are set to 7 inches
@@ -238,7 +236,7 @@ knitr::opts_chunk$set(
   collapse = FALSE, fig.width = 7, fig.height = 7
 )
 ```
-    </fillin>
+</fillin>
  </item>
  <item>
   <match>Footnote</match>



More information about the rkward-tracker mailing list