Running ‘test-all.R’
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library("testthat")
  > library("msgtools")
  > 
  > if (check_for_gettext()) {
  +     test_check("msgtools", reporter = "summary")
  + }
  xgettext (GNU gettext-tools) 0.19.8.1
  Copyright (C) 1995-1998, 2000-2016 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.
  Written by Ulrich Drepper.
  xgettext (GNU gettext-tools) 0.19.8.1
  Copyright (C) 1995-1998, 2000-2016 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.
  Written by Ulrich Drepper.
  .use_localization()  works: Package: translateme
  Title: An Example Package
  Version: 0.0.0.9000
  Authors@R: person("First", "Last", email = "first.last@example.com", role = c("aut", "cre"))
  Description: Demonstrates 'msgtools' functionality
  Depends: R (>= 3.4.0)
  License: Unlimited
  Encoding: UTF-8
  LazyData: true
  BugReports: https://github.com/RL10N/msgtools/issues
  Package: translateme
  Title: An Example Package
  Version: 0.0.0.9000
  Authors@R: person("First", "Last", email = "first.last@example.com", role = c("aut", "cre"))
  Description: Demonstrates 'msgtools' functionality
  Depends: R (>= 3.4.0)
  License: Unlimited
  Encoding: UTF-8
  LazyData: true
  BugReports: https://github.com/RL10N/msgtools/issues
  
  basic functions work: ....
  translation functions work: ... done.
  .. done.
  .
  template functions work: ....
  installation functions work: .0 translated messages, 8 untranslated messages.
  1
  
  Failed -------------------------------------------------------------------------
  1. Error: check_translations() works (@test.R#81) ------------------------------
  'language' does not matched any allowed value
  1: expect_true(install_translations(pkg = pkg_dir)) at testthat/test.R:81
  2: expect(identical(as.vector(object), TRUE), sprintf("%s isn't true.", lab), info = info)
  3: as.expectation(exp, ..., srcref = srcref)
  4: identical(as.vector(object), TRUE)
  5: as.vector(object)
  6: install_translations(pkg = pkg_dir)
  7: make_translation(lang, translator = "", pkg = pkg, verbose = verbose)
  8: check_language_regex(language)
  9: stop("'language' does not matched any allowed value")
  
  DONE ===========================================================================
  Error: Test failures
  Execution halted