Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(TeXCheckR)
  > 
  > test_check("TeXCheckR")
  
  Unreferenced figure or table
  ✖ : 
  Couldn't find a xref to fig:this-lab-not-refd.
  
  Dash likely masquerading as hyphen. Use -- for a dash.
  ✖ 7: But hyphens pretending to be hyphens are not acceptable - ever.
  
  IMPORTANT: make sure you are replacing a hyphen with two hyphens, not a unicode dash  –
  
  
  Dash likely masquerading as hyphen. Use -- for a dash.
  ✖ 9: Sometimes, inline equations are tricky: \(x - (a - b)\) I might - by mistake - but dashes between equations \(x \neq 3\).
  
  IMPORTANT: make sure you are replacing a hyphen with two hyphens, not a unicode dash  –
  
  
  Hyphen adjacent to en-dash.
  ✖ 4: Teachers get stressed when students don't engage in learning -– even
  
  
  Hyphen adjacent to en-dash.
  ✖ 4: Teachers get stressed when students don't engage in learning –- even
  
  
  Em-dashes not permitted.
  ✖ 6: Teachers get stressed when students don't engage in learning — even
  
  
  Unescaped $.
  ✖ 4: Some forbidden math $1 + 1 = 2$.
                            ^
  If you meant to print a dollar sign, use \$. If you want to use math-mode, use \(...\), not $...$ .
  
  Ellipsis typed without using macro.
  ✖ 4: A forbidden ellipsis ...
  Use \dots{} for an ellipsis, rather than three dots (...) or \u2026 (…).
  
  \label used without prefix.
  ✖ 1: \section{Example section with a label but no prefix}\label{invalid-prefix}
  Use fig: tbl: box: chap: subsec: paragraph: rec: fn: in every label.
  ✖ 1: \chapter{A chapter with wrong prefix}\label{sec:should-be-chap:}
  Unlabelled chapter or \label without chap: prefix.
  ✖ 1: \chapter{A chapter with wrong prefix}\label{sec:should-be-chap:}
  For every \chapter{} ensure there is a \label{chap:...} on the same line.
  ✖ 1: \chapter{A chapter without a label}
  Unlabelled chapter or \label without chap: prefix.
  ✖ 1: \chapter{A chapter without a label}
  For every \chapter{} ensure there is a \label{chap:...} on the same line.
  
  Cross-reference to chapter using Vref or Cref.
  ✖ 2: \Vref{chap:good} should be \Chapref{chap:good}.
  Cross-references to chapters must use Chapref or topref.
  
  Mislabeled or empty cross-references target for Chapref or topref
  ✖ : Mislabeled / empty cross-reference target for a \Chapref / \topref etc. You have entered a \Chapref to cross-reference a chapter (which is correct!). However the label you have referenced does not exist (perhaps it was renamed or removed?). I saw:
  	\Chapref{chap:incorrectly-refd}
  Yet the only valid labels are:
  	chap:not-correct-refd
  
  
  Closing quote used at beginning of word. Use a backtick for an opening quote, e.g. The word `ossifrage' is quoted.
  ✖ 4: 'There is a...
      ^
  
  
  Closing quote used at beginning of word. Use a backtick for an opening quote, e.g. The word `ossifrage' is quoted.
  ✖ 4: "There is a ba...
         ^
  
  
  Closing quote used at beginning of word. Use a backtick for an opening quote, e.g. The word `ossifrage' is quoted.
  ✖ 4: ('There is a b...
         ^
  
  
  Closing quote used at beginning of word. Use a backtick for an opening quote, e.g. The word `ossifrage' is quoted.
  ✖ 4: He interrupted---'There is a b...
                         ^
  
  
  Capital letter ends sentence, but sentence-ending period mark absent.
  ✖ 165: Many governments have tried to change the GST. But few have succeeded.
  Sentences which end with a capital letter need to be signalled with a sentence-ending period. (\@.)
  
  Lower-case \Cref used. \Vref and \Cref are case-sensitive and the lower-case forms are not permitted.
  ✖ 6: Don't use \vref{sec:some.label}
  
  
  Hard-coded xref in document.
  ✖ 6: But sometimes I will. (See Section 5.)
  All xrefs need to use \Cref or \Vref (or \Chapref for cross-references to chapters). If you need to use this phrase, you can use a non-breaking space e.g. 'Section~81 of the Constitution.
  
  Use postnote for pagerefs.
  ✖ 4: This is a citation without a postnote: \textcite[32]{Knuth-A}.
  
  
  Unnecessary p in postnote.
  ✖ 4: This is a citation without a postnote: \textcite[][p. 32]{Knuth-A}.
  
  
  Unnecessary p in postnote.
  ✖ 4: This is a citation with a double-p: \textcite[][pp. 32--34]{Knuth-A}.
  
  
  Use of singular form of textcite or footcite.
  ✖ 5: Should be plural form \footcite{ref1}{ref2}
  
  
  Page reference not in correct format.
  ✖ 4: This is a citation with an extended postnote: \textcite[][Chapter~4, p. 32]{Knuth-A}.
  Use a tilde to separate explicit page-number references. (e.g. p.~32)
  
  Page reference not in correct format.
  ✖ 4: This is a citation with an extended postnote: \textcite[][Chapter~4, p.32]{Knuth-A}.
  Use a tilde to separate explicit page-number references. (e.g. p.~32)
  
  Space inserted before \footnote
  ✖ 11: \footnote{\gls{HELP} lending, tuition funding, and most other higher education programs are special appropriations from consolidated government revenue.
  
  
  Footnote does not end with full stop.
  ✖ : 
  \footnote
           {SS}
  
  
  
  Punctuation after footnotemark.
  ✖ : \footnote
           {SS.}.
  
  
  Punctuation mark after footcite number 
  ✖ FALSE: 
  1
  
  Space inserted before \footnote
  ✖ 5: 	\footnote{No space.}
  
  
  Space inserted before \footnote
  ✖ 5: Ordinary space (and text) before fnote: lazy dog \footnote{Space.}
  
  
  Space inserted before \footnote
  ✖ 4: Ordinary space (and text) before fnote: lazy dog \footnote{Space.}
  
  
  Space inserted before \footnote
  ✖ 5: \footnote{Space.}
  
  
  Punctuation mark after footcite number 
  ✖ FALSE: 
  1
  
  Leading spacing in footnotetext.
  ✖ 9: Footnote text with leading space.\footnote{ Otherwise correct.}
  
  
  \footnote/\footcite cannot occur twice on the same line in the source. Break this sentence up into multiple lines.
  ✖ 4: A sentence\footnote{With two footnotes.} and \footnote{Here is another footnote.}
  
  1. Failure: Correctly tidies known input (@test_lint_bib.R#6) ------------------
  readLines("lint_bib_out.bib", encoding = "UTF-8") not identical to readLines("lint_bib_out_correct.bib", encoding = "UTF-8").
  1/22 mismatches
  x[9]: "  author"
  y[9]: "  author      = {Tony Wood and Amélie Hunter and Michael O'Toole and Pras
  y[9]: ana Venkataraman and Lucy Carter},"
  
  
  Check subfiles:
  chap1 
  chap2 
  
  Spellcheck failed: 'asdf'
  ✖ 1: Some text needs a check for asdf spelling.
                                    ^^^^
  
  
  
  Use the macros \etc, \ie, and \eg provided for consistent formatting.
  ✖ 2: A sentence with etc, rather than \etc.
  
  
  Spellcheck failed: 'sdiuhfiuhzdsfidsuhf'
  ✖ 5: This is a word that has been misspelled. sdiuhfiuhzdsfidsuhf
                                                 ^^^^^^^^^^^^^^^^^^^
  
  
  
  Spellcheck failed: 'sdiuhfiuhzdsfidsuhf'
  ✖ 9: This is a word that has been misspelled. \sdiuhfiuhzdsfidsuhf{sdiuhfiuhzdsfidsuhf sdiuhfiuhzdsfidsuhf}
                                                                                          ^^^^^^^^^^^^^^^^^^^
  
  
  
  pre_release = TRUE but 'ignore spelling in' line is present.
  ✖ 3: % ignore_spelling_in: sdiuhfiuhzdsfidsuhf
  
  
  'skillset' present but prohibited in preamble.
  ✖ 6: Many teachers rely on many skill sets, but there is one skillset that is the best.
  
  
  'skillset' present but prohibited in preamble.
  ✖ 6: Many teachers rely on many skill sets, but there is one skillset that is the best.
  
  
  'skillset' present but prohibited in preamble.
  ✖ 7: Many teachers rely on many skill sets, but there is one skillset that is the best.
  
  Check subfiles:
  tex/skill-set 
  
  'skillset' present but prohibited in preamble.
  ✖ 3: Many teachers rely on many skill sets, but there is one skillset that is the best.
  
  
  'percent\b' present but prohibited in preamble.
  ✖ 6: The Dow rose by 10 percent.
  
  
  Should be upper case G in government.
  ✖ 4: This is incorrect: the NSW government loves stamp duty.
  
  
  Should be upper case G in government.
  ✖ 4: This is incorrect: the ACT government loves stamp duty.
  
  
  Should be upper case G in government.
  ✖ 4: This is incorrect: the NT government loves stamp duty.
  
  
  Should be upper case G in government.
  ✖ 4: This is incorrect: the Queensland government loves stamp duty.
  
  
  Should be upper case G in government.
  ✖ 4: This is incorrect: the WA government loves stamp duty.
  
  
  Bill title in upright font.
  ✖ 3: 
  
  
  Possible duplicates in bibliography.
  ✖ : Possible duplicates in bibliographies.
  
  
                    key   Author                              Title date year
   RMS2010-Hunter-EXPWY RMS, NSW hunter expressway – current status   NA 2010
          RMS2010Hunter RMS, NSW hunter expressway – current status   NA 2010
  
  Possible duplicates in bibliography.
  ✖ : Possible duplicates in bibliographies.
  
  
                   key   Author                           Title date year
   Treasury2014TES2013 Treasury tax expenditures statement 2013   NA 2014
         Treasury2014f Treasury tax expenditures statement 2013   NA 2014
  
  ./validate-bib/field-broken-over2lines.bib contains line which is neither a key, nor field, nor closing.
  ✖ 5: Metro Line on Housing Prices},
  Ensure every line in bibliography is one:
  	@<EntryType>,
  	field = {  <- including spaces around equals sign
  	or is a single closing brace, or a blank line. If you can, run
  	lint_bib('./validate-bib/field-broken-over2lines.bib')
  testthat results ================================================================
  OK: 113 SKIPPED: 0 FAILED: 1
  1. Failure: Correctly tidies known input (@test_lint_bib.R#6) 
  
  Error: testthat unit tests failed
  Execution halted