Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rcreds)
  > 
  > test_check("rcreds")
  Will set (and possible create) three subfolders in the parent_folder
       /tmp/RtmpRGByRi
                     |-  /db_credential_files/
                     |-  /credential_files/
                     |-  /key_files/
  
  ── 1. Failure: Checking Overwriting Abilities (@test-TODOs.R#54)  ──────────────
  `read_credentials_from_file()` threw an error with unexpected message.
  Expected match: "^Could not decrypt the file. This is probably due to the wrong key being used."
  Actual message: "Parsing the text failed with the following error:\n\nError : lexical error: invalid string in json text.\n                                       fG<95><f9><d1>6<f6><c0>]%| <e8>\n                     (right here) ------^\n\n"
  
  Setting the default rcreds folder to '/tmp/RtmpRGByRi'
  Will set (and possible create) three subfolders in the parent_folder
       /tmp/RtmpRGByRi/.rcreds
                             |-  /db_credential_files/
                             |-  /credential_files/
                             |-  /key_files/
  
  Key File did not exist and was created in '/tmp/RtmpRGByRi/.rcreds/key_files/.crypt_key.rds'
  Will set (and possible create) three subfolders in the parent_folder
       /tmp/RtmpRGByRi/.rcreds
                             |-  /db_credential_files/
                             |-  /credential_files/
                             |-  /key_files/
  
  Clearing default rcreds_key_folder, which was previously set to  '/tmp/RtmpRGByRi/.rcreds/key_files' 
  Setting the default rcreds key folder to '/tmp/RtmpRGByRi/keys/some/sub/folder'
  Setting the default rcreds key folder to '/tmp/RtmpRGByRi/keys/some/sub/folder/with_slash/'
  Clearing default rcreds  folder, which was previously set to  '/tmp/RtmpRGByRi/.rcreds/credential_files' 
  Clearing default rcreds db folder, which was previously set to  '/tmp/RtmpRGByRi/.rcreds/db_credential_files' 
  Setting the default rcreds db folder to '/tmp/RtmpRGByRi/db/some/sub/folder'
  Setting the default rcreds db folder to '/tmp/RtmpRGByRi/db/some/sub/folder/with_slash/'
  Clearing default rcreds  folder, which was previously not set 
  Clearing default rcreds  folder, which was previously not set 
  Setting the default rcreds folder to '/tmp/RtmpRGByRi/credentials/some/sub/folder'
  Setting the default rcreds folder to '/tmp/RtmpRGByRi/credentials/some/sub/folder/with_slash/'
  Folder does not exist. Creating it. 
  Setting the default rcreds folder to '/tmp/RtmpRGByRi/testing/default'
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 122 SKIPPED: 0 FAILED: 1
  1. Failure: Checking Overwriting Abilities (@test-TODOs.R#54) 
  
  Error: testthat unit tests failed
  Execution halted