Running ‘testthat.R’ [14s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(desc)
  > 
  > test_check("desc", reporter = "summary")
  Package archives: .....................................
  Assertions: .
  Authors: ...................
  BUILT: ..
  Syntax checks: .................................................
  Collate API: ..............................
  Constructors: ................................
  Dependencies: ...............................
  desc: .
  Encoding: ....12
  Nice behavior: ...
  Non OO API: ..............................
  Queries: .............................
  DCF reader: .........
  REMOTE: .........
  repair: ..........
  Formatting: .....3
  to_latex: .
  Absense of trailing WS is kept: .....
  URL: .........
  Utility functions: ......................
  Validation: .
  Version: ...............................
  Write: ....
  
  ══ Failed ══════════════════════════════════════════════════════════════════════
  ── 1. Error: different encoding is converted to UTF-8 when reading (@test-encodi
  Duplicate DESCRIPTION fields: 'Maintainer'
  1: expect_silent(desc <- description$new(text = paste0("Package: foo\n", "Title: Foo Package\n", 
         "Author: Package Author\n", "Maintainer: G\xe1bor Cs\xe1rdi <author@here.net>\n", 
         "Description: The great foo package.\n", "License: GPL\n", "Encoding: latin1\n"))) at testthat/test-encoding.R:45
  2: quasi_capture(enquo(object), NULL, evaluate_promise)
  3: .capture(act$val <- eval_bare(get_expr(.quo), get_env(.quo)), ...)
  4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning, 
         message = handle_message))
  5: force(code)
  6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
  7: withVisible(code)
  8: eval_bare(get_expr(.quo), get_env(.quo))
  9: description$new(text = paste0("Package: foo\n", "Title: Foo Package\n", "Author: Package Author\n", 
         "Maintainer: G\xe1bor Cs\xe1rdi <author@here.net>\n", "Description: The great foo package.\n", 
         "License: GPL\n", "Encoding: latin1\n"))
  10: .subset2(public_bind_env, "initialize")(...)
  11: idesc_create(self, private, cmd, file, text, package)
  12: idesc_create_text(self, private, text)
  13: read_dcf(con)
  14: stop("Duplicate DESCRIPTION fields: ", paste(sQuote(colnames(res)[mismatch]), collapse = ", "))
  
  ── 2. Error: encoding is converted to specified when writing (@test-encoding.R#6
  Duplicate DESCRIPTION fields: 'Maintainer'
  1: description$new(text = paste0("Package: foo\n", "Title: Foo Package\n", "Author: Package Author\n", 
         "Maintainer: G\xe1bor Cs\xe1rdi <author@here.net>\n", "Description: The great foo package.\n", 
         "License: GPL\n", "Encoding: latin1\n")) at testthat/test-encoding.R:65
  2: .subset2(public_bind_env, "initialize")(...)
  3: idesc_create(self, private, cmd, file, text, package)
  4: idesc_create_text(self, private, text)
  5: read_dcf(con)
  6: stop("Duplicate DESCRIPTION fields: ", paste(sQuote(colnames(res)[mismatch]), collapse = ", "))
  
  ── 3. Error: continuation lines (@test-str.R#71)  ──────────────────────────────
  Duplicate DESCRIPTION fields: 'Author', 'Maintainer'
  1: description$new("D7") at testthat/test-str.R:71
  2: .subset2(public_bind_env, "initialize")(...)
  3: idesc_create(self, private, cmd, file, text, package)
  4: idesc_create_file(self, private, file)
  5: idesc_create_text(self, private, lines)
  6: read_dcf(con)
  7: stop("Duplicate DESCRIPTION fields: ", paste(sQuote(colnames(res)[mismatch]), collapse = ", "))
  
  ══ DONE ════════════════════════════════════════════════════════════════════════
  Error: Test failures
  Execution halted