Skip to content

Commit 10fb0b2

Browse files
committed
Update notes
1 parent 8b1f150 commit 10fb0b2

6 files changed

Lines changed: 1402 additions & 17 deletions

File tree

‎index.Rmd‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Introduction to testing R code"
33
author: "Brad Duthie"
4-
date: "22 MAR 2023"
4+
date: "23 APR 2024"
55
output:
66
pdf_document: default
77
html_document:

‎index.html‎

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<meta name="author" content="Brad Duthie" />
1313

14-
<meta name="date" content="2023-03-22" />
14+
<meta name="date" content="2024-04-23" />
1515

1616
<title>Introduction to testing R code</title>
1717

@@ -242,7 +242,7 @@
242242
$(this).detach().appendTo(div);
243243

244244
// add a show code button right above
245-
var showCodeText = $('<span>' + (showThis ? 'Hide' : 'Code') + '</span>');
245+
var showCodeText = $('<span>' + (showThis ? 'Hide' : 'Show') + '</span>');
246246
var showCodeButton = $('<button type="button" class="btn btn-default btn-xs btn-secondary btn-sm code-folding-btn pull-right float-right"></button>');
247247
showCodeButton.append(showCodeText);
248248
showCodeButton
@@ -268,7 +268,7 @@
268268
// * Change text
269269
// * add a class for intermediate states styling
270270
div.on('hide.bs.collapse', function () {
271-
showCodeText.text('Code');
271+
showCodeText.text('Show');
272272
showCodeButton.addClass('btn-collapsing');
273273
});
274274
div.on('hidden.bs.collapse', function () {
@@ -377,25 +377,18 @@
377377
border-radius: 4px;
378378
}
379379

380-
.tabset-dropdown > .nav-tabs > li.active:before {
381-
content: "";
380+
.tabset-dropdown > .nav-tabs > li.active:before, .tabset-dropdown > .nav-tabs.nav-tabs-open:before {
381+
content: "\e259";
382382
font-family: 'Glyphicons Halflings';
383383
display: inline-block;
384384
padding: 10px;
385385
border-right: 1px solid #ddd;
386386
}
387387

388388
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
389-
content: "";
390-
border: none;
391-
}
392-
393-
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
394-
content: "";
389+
content: "\e258";
395390
font-family: 'Glyphicons Halflings';
396-
display: inline-block;
397-
padding: 10px;
398-
border-right: 1px solid #ddd;
391+
border: none;
399392
}
400393

401394
.tabset-dropdown > .nav-tabs > li.active {
@@ -453,7 +446,7 @@
453446

454447
<h1 class="title toc-ignore">Introduction to testing R code</h1>
455448
<h4 class="author">Brad Duthie</h4>
456-
<h4 class="date">22 MAR 2023</h4>
449+
<h4 class="date">23 APR 2024</h4>
457450

458451
</div>
459452

‎index.pdf‎

243 Bytes
Binary file not shown.

‎testing_slides.Rmd‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Introduction to testing R code"
33
subtitle: "https://stirlingcodingclub.github.io/code_testing"
44
author: "Brad Duthie"
5-
date: "6 April 2022"
5+
date: "22 March 2023"
66
output:
77
beamer_presentation:
88
theme: "default"

0 commit comments

Comments
 (0)