Running ‘run-all.R’ [33s/84s]
  Running ‘testthat.R’ [33s/79s]
Running the tests in ‘tests/run-all.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ProjectTemplate")
  Loading required package: ProjectTemplate
  Loading required package: digest
  Loading required package: tibble
  Project name: test_project27194b44b3c7fc
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project27194b65c777ba
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project27194b2814a800
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Configuration for project: test_project27194b2814a800
  version                     0.11.0
  data_loading                TRUE
  data_loading_header         TRUE
  data_ignore                 
  cache_loading               TRUE
  recursive_loading           FALSE
  munging                     TRUE
  logging                     FALSE
  logging_level               INFO
  load_libraries              FALSE
  libraries                   reshape2, plyr, tidyverse, stringr, lubridate
  as_factors                  FALSE
  tables_type                 tibble
  attach_internal_libraries   FALSE
  cache_loaded_data           TRUE
  sticky_variables            NONE
  underscore_variables        TRUE
  cache_file_format           RData
  dummy   999
  Configuration for project: test_project27194b2814a800
  version                     0.11.0
  data_loading                TRUE
  data_loading_header         TRUE
  data_ignore                 
  cache_loading               TRUE
  recursive_loading           FALSE
  munging                     TRUE
  logging                     FALSE
  logging_level               INFO
  load_libraries              FALSE
  libraries                   reshape2, plyr, tidyverse, stringr, lubridate
  as_factors                  FALSE
  tables_type                 tibble
  attach_internal_libraries   FALSE
  cache_loaded_data           TRUE
  sticky_variables            NONE
  underscore_variables        TRUE
  cache_file_format           RData
  
  Additional custom config present for this project:
  Objects to clear from memory: config helper.function project.info
  Project name: test_project27194b25eb9cfd
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: foo.reader.R
   Running helper script: helpers.R
  Autoloading data
   Loading data set: example
    Creating cache entry from global environment: example
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
    Creating cache entry from global environment: xxxx
    Creating cache entry from global environment: xxxx
    Creating cache entry from global environment: xxxx
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Following objects not in memory: 
  Objects to clear from memory: xxxx
  Project name: test_project27194b4233bd7f
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: helper.function project.info
  Clearing cache for project: test_project27194b4233bd7f
  Clearing cache for project: test_project27194b7f7e2cd8
  Objects to clear from memory: xxx
  Project name: test_project27194b7f7e2cd8
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
    Creating cache entry from CODE: xxxx
  Objects to clear from memory: config project.info
  Objects to clear from memory: project.info
  Objects to clear from memory: yyy
  Following objects not in memory: xxx
  Following objects not in memory: xxx
  Variables not cleared: config
  No objects to clear
  Objects to clear from memory: .yyy helper.function project.info
  Project name: test_project27194bf45ef3c
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194bf45ef3c
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Configuration for project: test_project27194b1a9d194c
  Project name: test_project27194b36c3438e
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194b666651ce
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  
  == Testing 1.R =================================================================
  
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
  
  == Testing 1.R =================================================================
  
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
  Current Directory: test_project27194bca3a0f2 is a ProjectTemplate directory
  Cannot create a new project inside an existing one
  Please change to another directory and re-run create.project()
  Directory: test_project27194bca3a0f2 is a ProjectTemplate directory
  Cannot create a new project inside an existing one
  Please change to another directory and re-run create.project()
  Directory: test_project227194b6f055448 is a ProjectTemplate directory
  Cannot create a new project inside an existing one
  Please change to another directory and re-run create.project()
  Objects to clear from memory: config helper.function project.info
  No objects to clear
  Objects to clear from memory: config file27194b753d4019 helper.function project.info
    Creating cache entry from CODE: test_data
  Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Please change to correct directory and re-run load.project()
  
  Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Change to a valid ProjectTemplate directory and run clear.cache() again.
  
  Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Change to a valid ProjectTemplate directory and run cache() again.
  
  Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Change to a valid ProjectTemplate directory and run reload.project() again.
  
  Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Change to a valid ProjectTemplate directory and run test.project() again.
  
  Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Change to a valid ProjectTemplate directory and run stub.tests() again.
  
  Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Please change to correct directory and re-run project.config()
  
  Project name: test_project27194b727c1c8e
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
   Loading data set: Thumbs
  Loading required namespace: RSQLite
    Creating cache entry from global environment: var_to_cache
  Loading required package: data.table
    
  01-test_data.py start
  01-test_data.py finish
    
  02-test_data.py start
  ['1', '20']
  ['2', '30']
  ['3', '40']
  Python data exists in the environment
  y
  02-test_data.py finish
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
   version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
  
  There is a new config item called cache_loaded_data which auto-caches data
  after it has been loaded from the data directory.  This has been switched
  off for this project in case it breaks your scripts.  However you can switch
  it on manually by editing global.dcf
  
  data_tables has been renamed tables_type.  It can take the value 'tibble', 
  'data_table', or 'data_frame.  If data_tables is TRUE, tables_type will be
  set to 'data_table', otherwise the default 'data_frame' will be used.  if you 
  wish a different default set it manually by editing global.dcf.  Future new
  projects will use 'tibble' by default.
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
   data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
  
  There is a new config item called cache_loaded_data which auto-caches data
  after it has been loaded from the data directory.  This has been switched
  off for this project in case it breaks your scripts.  However you can switch
  it on manually by editing global.dcf
  
  data_tables has been renamed tables_type.  It can take the value 'tibble', 
  'data_table', or 'data_frame.  If data_tables is TRUE, tables_type will be
  set to 'data_table', otherwise the default 'data_frame' will be used.  if you 
  wish a different default set it manually by editing global.dcf.  Future new
  projects will use 'tibble' by default.
  Migrating project configuration
  [1] FALSE
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file was missing entries and defaults
  have been used.  The missing entries are:
   cache_loaded_data
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file was missing entries and defaults
  have been used.  The missing entries are:
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file contained unused entries which have been
  removed.  The unused entries are:
  Migrating project configuration
  [1] FALSE
  Migrating project configuration
  [1] TRUE
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file was missing entries and defaults
  have been used.  The missing entries are:
   tables_type
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file was missing entries and defaults
  have been used.  The missing entries are:
   tables_type
  Project name: test_project27194b556b93b6
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: .Random.seed config helper.function project.info
  Project name: test_project27194b40a1c1e5
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194b40a1c1e5
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project27194b47fc9e52
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194b47fc9e52
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project27194b76a990cc
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194b76a990cc
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project27194b147b04ef
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project27194b5eb78d7a
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194b5eb78d7a
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Objects to clear from memory: config helper.function project.info
  Project name: test_project27194b2185f73c
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194b2185f73c
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project27194b37ebb73b
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194b37ebb73b
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Objects to clear from memory: config helper.function project.info
  Project name: test_project27194b2f2db5e4
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194b2f2db5e4
  Loading project configuration
  Objects to clear from memory: config helper.function project.info
  Project name: test_project27194b925ea7f
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194b925ea7f
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Loading required package: qs
  qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
    Creating cache entry from global environment: cache.qs
    Creating cache entry from global environment: xxxx
    Creating cache entry from global environment: xxxx
    Creating cache entry from global environment: xxxx
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file was missing entries and defaults
  have been used.  The missing entries are:
   cache_loaded_data
    Loading table: example_30a
    Loading table: example_30b
    Loading table: example_31a
    Loading table: example_31b
    Loading table: example_28
  re-encoding from CP1252
  re-encoding from CP1252
  Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
  Objects to clear from memory: config helper.function project.info
  Items in cache will not be cleared
  Use reload.project(reset=TRUE) to clear cache also
  Objects to clear from memory: helper.function project.info z
  Reloading Project ...
  Project name: test_project27194b1bc73d76
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
   Loading cached data set: z
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info x y z
  Project name: test_project27194b139a9cfe
  Loading project configuration
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194b17df8f9e
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project27194b6c1908a6
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
   Loading data set: file_not_in_full_template
   Translating data.frame to tibble: file_not_in_full_template
    Creating cache entry from global environment: file_not_in_full_template
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  [1] FALSE
  [ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
  `ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
  
  [ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
  Error: Test failures
  Execution halted
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(ProjectTemplate)
  Loading required package: digest
  Loading required package: tibble
  > 
  > test_check("ProjectTemplate")
  Project name: test_project2736ed4e454997
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project2736ed64c11fe
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project2736ed4e152b3e
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Configuration for project: test_project2736ed4e152b3e
  version                     0.11.0
  data_loading                TRUE
  data_loading_header         TRUE
  data_ignore                 
  cache_loading               TRUE
  recursive_loading           FALSE
  munging                     TRUE
  logging                     FALSE
  logging_level               INFO
  load_libraries              FALSE
  libraries                   reshape2, plyr, tidyverse, stringr, lubridate
  as_factors                  FALSE
  tables_type                 tibble
  attach_internal_libraries   FALSE
  cache_loaded_data           TRUE
  sticky_variables            NONE
  underscore_variables        TRUE
  cache_file_format           RData
  dummy   999
  Configuration for project: test_project2736ed4e152b3e
  version                     0.11.0
  data_loading                TRUE
  data_loading_header         TRUE
  data_ignore                 
  cache_loading               TRUE
  recursive_loading           FALSE
  munging                     TRUE
  logging                     FALSE
  logging_level               INFO
  load_libraries              FALSE
  libraries                   reshape2, plyr, tidyverse, stringr, lubridate
  as_factors                  FALSE
  tables_type                 tibble
  attach_internal_libraries   FALSE
  cache_loaded_data           TRUE
  sticky_variables            NONE
  underscore_variables        TRUE
  cache_file_format           RData
  
  Additional custom config present for this project:
  Objects to clear from memory: config helper.function project.info
  Project name: test_project2736ed419b0426
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: foo.reader.R
   Running helper script: helpers.R
  Autoloading data
   Loading data set: example
    Creating cache entry from global environment: example
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
    Creating cache entry from global environment: xxxx
    Creating cache entry from global environment: xxxx
    Creating cache entry from global environment: xxxx
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Following objects not in memory: 
  Objects to clear from memory: xxxx
  Project name: test_project2736ed1b986948
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: helper.function project.info
  Clearing cache for project: test_project2736ed1b986948
  Clearing cache for project: test_project2736ed53cbfee5
  Objects to clear from memory: xxx
  Project name: test_project2736ed53cbfee5
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
    Creating cache entry from CODE: xxxx
  Objects to clear from memory: config project.info
  Objects to clear from memory: project.info
  Objects to clear from memory: yyy
  Following objects not in memory: xxx
  Following objects not in memory: xxx
  Variables not cleared: config
  No objects to clear
  Objects to clear from memory: .yyy helper.function project.info
  Project name: test_project2736ed31830917
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed31830917
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Configuration for project: test_project2736ed2fe9dc8a
  Project name: test_project2736ed76e57fa0
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed7759b1b9
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  
  == Testing 1.R =================================================================
  
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
  
  == Testing 1.R =================================================================
  
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
  Current Directory: test_project2736ed5d59ceda is a ProjectTemplate directory
  Cannot create a new project inside an existing one
  Please change to another directory and re-run create.project()
  Directory: test_project2736ed5d59ceda is a ProjectTemplate directory
  Cannot create a new project inside an existing one
  Please change to another directory and re-run create.project()
  Directory: test_project22736ed5b8d86b2 is a ProjectTemplate directory
  Cannot create a new project inside an existing one
  Please change to another directory and re-run create.project()
  Objects to clear from memory: config helper.function project.info
  No objects to clear
  Objects to clear from memory: config file2736ed78a6acdc helper.function project.info
    Creating cache entry from CODE: test_data
  Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Please change to correct directory and re-run load.project()
  
  Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Change to a valid ProjectTemplate directory and run clear.cache() again.
  
  Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Change to a valid ProjectTemplate directory and run cache() again.
  
  Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Change to a valid ProjectTemplate directory and run reload.project() again.
  
  Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Change to a valid ProjectTemplate directory and run test.project() again.
  
  Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Change to a valid ProjectTemplate directory and run stub.tests() again.
  
  Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing.  If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project().  migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
  Please change to correct directory and re-run project.config()
  
  Project name: test_project2736ed6a655c86
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
   Loading data set: Thumbs
  Loading required namespace: RSQLite
    Creating cache entry from global environment: var_to_cache
  Loading required package: data.table
    
  01-test_data.py start
  01-test_data.py finish
    
  02-test_data.py start
  ['1', '20']
  ['2', '30']
  ['3', '40']
  Python data exists in the environment
  y
  02-test_data.py finish
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
   version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
  
  There is a new config item called cache_loaded_data which auto-caches data
  after it has been loaded from the data directory.  This has been switched
  off for this project in case it breaks your scripts.  However you can switch
  it on manually by editing global.dcf
  
  data_tables has been renamed tables_type.  It can take the value 'tibble', 
  'data_table', or 'data_frame.  If data_tables is TRUE, tables_type will be
  set to 'data_table', otherwise the default 'data_frame' will be used.  if you 
  wish a different default set it manually by editing global.dcf.  Future new
  projects will use 'tibble' by default.
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
   data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
  
  There is a new config item called cache_loaded_data which auto-caches data
  after it has been loaded from the data directory.  This has been switched
  off for this project in case it breaks your scripts.  However you can switch
  it on manually by editing global.dcf
  
  data_tables has been renamed tables_type.  It can take the value 'tibble', 
  'data_table', or 'data_frame.  If data_tables is TRUE, tables_type will be
  set to 'data_table', otherwise the default 'data_frame' will be used.  if you 
  wish a different default set it manually by editing global.dcf.  Future new
  projects will use 'tibble' by default.
  Migrating project configuration
  [1] FALSE
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file was missing entries and defaults
  have been used.  The missing entries are:
   cache_loaded_data
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file was missing entries and defaults
  have been used.  The missing entries are:
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file contained unused entries which have been
  removed.  The unused entries are:
  Migrating project configuration
  [1] FALSE
  Migrating project configuration
  [1] TRUE
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file was missing entries and defaults
  have been used.  The missing entries are:
   tables_type
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file was missing entries and defaults
  have been used.  The missing entries are:
   tables_type
  Project name: test_project2736ed5d6b27d1
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: .Random.seed config helper.function project.info
  Project name: test_project2736ed4c156c07
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed4c156c07
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project2736ed731cebcf
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed731cebcf
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project2736ed218ed97b
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed218ed97b
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project2736ed299745f1
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project2736ed57ee5ec4
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed57ee5ec4
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Objects to clear from memory: config helper.function project.info
  Project name: test_project2736ed72c02da4
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed72c02da4
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Project name: test_project2736ed535a2419
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed535a2419
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Objects to clear from memory: config helper.function project.info
  Project name: test_project2736ed3a6a7a04
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed3a6a7a04
  Loading project configuration
  Objects to clear from memory: config helper.function project.info
  Project name: test_project2736ed34bec401
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed34bec401
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info
  Loading required package: qs
  qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
    Creating cache entry from global environment: cache.qs
    Creating cache entry from global environment: xxxx
    Creating cache entry from global environment: xxxx
    Creating cache entry from global environment: xxxx
  Migrating project configuration
  [1] FALSE
  Your existing project configuration in globals.dcf does not contain up to
  date configuration settings in this version 0.11.0 of ProjectTemplate.  They will
  be added automatically during migration, but you should review afterward.
  Your config.dcf file was missing entries and defaults
  have been used.  The missing entries are:
   cache_loaded_data
    Loading table: example_30a
    Loading table: example_30b
    Loading table: example_31a
    Loading table: example_31b
    Loading table: example_28
  re-encoding from CP1252
  re-encoding from CP1252
  Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
  Objects to clear from memory: config helper.function project.info
  Items in cache will not be cleared
  Use reload.project(reset=TRUE) to clear cache also
  Objects to clear from memory: helper.function project.info z
  Reloading Project ...
  Project name: test_project2736ed59b8aec6
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
   Loading cached data set: z
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Objects to clear from memory: config helper.function project.info x y z
  Project name: test_project2736ed488294ee
  Loading project configuration
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed120bdab5
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  Project name: test_project2736ed60c4c7f0
  Loading project configuration
  Autoloading helper functions
   Running helper script: globals.R
   Running helper script: helpers.R
  Autoloading data
   Loading data set: file_not_in_full_template
   Translating data.frame to tibble: file_not_in_full_template
    Creating cache entry from global environment: file_not_in_full_template
  Munging data
   Running preprocessing script: 01-A.R
   Sourcing R script: 01-A.R
  [1] FALSE
  [ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
  `ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
  
  [ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
  Error: Test failures
  Execution halted