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/Rtmp5InylZ
                     |-  /db_credential_files/
                     |-  /credential_files/
                     |-  /key_files/
  
  1. Failure: Checking Overwriting Abilities (@test-TODOs.R#54) ------------------
  error$message does not match "^Could not decrypt the file. This is probably due to the wrong key being used.".
  Actual value: "Parsing the text failed with the following error:\n\nError : lexical error: invalid string in json text.\n                                       f\a_i[Cn[,<b3>B<a6>xH<8a>\001<bc><e\n                     (right here) ------^\n\n"
  
  
  Setting the default rcreds folder to '/tmp/Rtmp5InylZ'
  Will set (and possible create) three subfolders in the parent_folder
       /tmp/Rtmp5InylZ/.rcreds
                             |-  /db_credential_files/
                             |-  /credential_files/
                             |-  /key_files/
  
  Key File did not exist and was created in '/tmp/Rtmp5InylZ/.rcreds/key_files/.crypt_key.rds'
  Will set (and possible create) three subfolders in the parent_folder
       /tmp/Rtmp5InylZ/.rcreds
                             |-  /db_credential_files/
                             |-  /credential_files/
                             |-  /key_files/
  
  Clearing default rcreds_key_folder, which was previously set to  '/tmp/Rtmp5InylZ/.rcreds/key_files' 
  Setting the default rcreds key folder to '/tmp/Rtmp5InylZ/keys/some/sub/folder'
  Setting the default rcreds key folder to '/tmp/Rtmp5InylZ/keys/some/sub/folder/with_slash/'
  Clearing default rcreds  folder, which was previously set to  '/tmp/Rtmp5InylZ/.rcreds/credential_files' 
  Clearing default rcreds db folder, which was previously set to  '/tmp/Rtmp5InylZ/.rcreds/db_credential_files' 
  Setting the default rcreds db folder to '/tmp/Rtmp5InylZ/db/some/sub/folder'
  Setting the default rcreds db folder to '/tmp/Rtmp5InylZ/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/Rtmp5InylZ/credentials/some/sub/folder'
  Setting the default rcreds folder to '/tmp/Rtmp5InylZ/credentials/some/sub/folder/with_slash/'
  Folder does not exist. Creating it. 
  Setting the default rcreds folder to '/tmp/Rtmp5InylZ/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