Last updated on 2025-07-31 09:50:04 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.11.0 | 4.87 | 86.86 | 91.73 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.11.0 | 3.80 | 59.97 | 63.77 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.11.0 | 148.50 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.11.0 | 144.35 | ERROR | |||
r-devel-windows-x86_64 | 0.11.0 | 7.00 | 179.00 | 186.00 | ERROR | |
r-patched-linux-x86_64 | 0.11.0 | 6.33 | 79.75 | 86.08 | ERROR | |
r-release-linux-x86_64 | 0.11.0 | 5.17 | 80.59 | 85.76 | OK | |
r-release-macos-arm64 | 0.11.0 | 79.00 | OK | |||
r-release-macos-x86_64 | 0.11.0 | 139.00 | OK | |||
r-release-windows-x86_64 | 0.11.0 | 9.00 | 173.00 | 182.00 | ERROR | |
r-oldrel-macos-arm64 | 0.11.0 | 79.00 | OK | |||
r-oldrel-macos-x86_64 | 0.11.0 | 168.00 | OK | |||
r-oldrel-windows-x86_64 | 0.11.0 | 9.00 | 208.00 | 217.00 | ERROR |
Version: 0.11.0
Check: tests
Result: ERROR
Running ‘run-all.R’ [21s/47s]
Running ‘testthat.R’ [20s/42s]
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_project10ca2266d8dbd
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_project10ca222e2797e5
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_project10ca2231faa3eb
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_project10ca2231faa3eb
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_project10ca2231faa3eb
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_project10ca226aa772dc
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_project10ca224b8cbba4
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_project10ca224b8cbba4
Clearing cache for project: test_project10ca222e660381
Objects to clear from memory: xxx
Project name: test_project10ca222e660381
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_project10ca226249c0bd
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_project10ca226249c0bd
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_project10ca2252bcae10
Project name: test_project10ca2264bfa386
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_project10ca2236d76e85
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_project10ca2218e6b5bf 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_project10ca2218e6b5bf 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_project210ca224ad876cf 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 file10ca2228b61260 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project10ca224136753c 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_project10ca224136753c 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_project10ca224136753c 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_project10ca224136753c 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_project10ca224136753c 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_project10ca224136753c 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_project10ca224136753c 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_project10ca22256f901d
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_project10ca22518d3599
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_project10ca222ad5826e
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_project10ca222ad5826e
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_project10ca2249d132da
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_project10ca2249d132da
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_project10ca222c3914a9
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_project10ca222c3914a9
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_project10ca2255e48335
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_project10ca22647313eb
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_project10ca22647313eb
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_project10ca2228eb6237
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_project10ca2228eb6237
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_project10ca221555c1a3
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_project10ca221555c1a3
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_project10ca2219c873ea
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_project10ca2219c873ea
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project10ca22ffd439
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_project10ca22ffd439
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_project10ca227e1b0efc
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_project10ca2239042ae
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project10ca2270ad6621
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_project10ca222f605ef1
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_project110ad743f2860
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_project110ad775bfee70
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_project110ad75912d309
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_project110ad75912d309
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_project110ad75912d309
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_project110ad723bd95e
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_project110ad75a4801ec
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_project110ad75a4801ec
Clearing cache for project: test_project110ad749ab2f29
Objects to clear from memory: xxx
Project name: test_project110ad749ab2f29
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_project110ad765981455
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_project110ad765981455
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_project110ad74852584d
Project name: test_project110ad736f5026b
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_project110ad72c787cc8
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_project110ad7132e111d 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_project110ad7132e111d 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_project2110ad73421977e 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 file110ad768c92a37 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project110ad74d52df40 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_project110ad74d52df40 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_project110ad74d52df40 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_project110ad74d52df40 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_project110ad74d52df40 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_project110ad74d52df40 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_project110ad74d52df40 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_project110ad71cc1ec0d
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_project110ad784497e0
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_project110ad710e726d3
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_project110ad710e726d3
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_project110ad7460b1432
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_project110ad7460b1432
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_project110ad7b63e07
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_project110ad7b63e07
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_project110ad71a4ed5bb
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_project110ad71ac4bd1d
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_project110ad71ac4bd1d
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_project110ad752ac7b79
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_project110ad752ac7b79
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_project110ad74cee4e24
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_project110ad74cee4e24
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_project110ad742a12daa
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_project110ad742a12daa
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project110ad77e78f64e
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_project110ad77e78f64e
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_project110ad7295ab698
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_project110ad732d0dab6
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project110ad71fa4d70f
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_project110ad73fbe8770
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
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.11.0
Check: tests
Result: ERROR
Running ‘run-all.R’ [13s/33s]
Running ‘testthat.R’ [13s/32s]
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_project2596891e51ae45
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_project25968926dd06
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_project2596893f723068
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_project2596893f723068
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_project2596893f723068
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_project25968919d82d25
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_project25968955a9b311
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_project25968955a9b311
Clearing cache for project: test_project2596893e34e422
Objects to clear from memory: xxx
Project name: test_project2596893e34e422
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_project2596891816499a
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_project2596891816499a
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_project2596898e6bc3a
Project name: test_project2596896e990851
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_project259689602dbbac
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_project2596896eda94b4 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_project2596896eda94b4 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_project22596895b3d0c10 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 file2596897cc89b20 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project259689d7480ca 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_project259689d7480ca 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_project259689d7480ca 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_project259689d7480ca 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_project259689d7480ca 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_project259689d7480ca 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_project259689d7480ca 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_project25968958348a4d
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_project25968934e392c2
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_project25968932dc0369
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_project25968932dc0369
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_project2596892b0ad187
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_project2596892b0ad187
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_project25968950ae05ad
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_project25968950ae05ad
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_project2596894cd4b444
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_project259689499b6643
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_project259689499b6643
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_project2596892cbaab51
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_project2596892cbaab51
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_project25968957c7b071
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_project25968957c7b071
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_project259689656fc6a0
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_project259689656fc6a0
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project25968933327715
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_project25968933327715
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_project25968951e8c76
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_project25968949dc63c7
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25968949d7b514
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_project25968948416c5f
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_project262fc124bafeac
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_project262fc12e97f256
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_project262fc11e802335
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_project262fc11e802335
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_project262fc11e802335
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_project262fc154ea1389
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_project262fc1addcd54
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_project262fc1addcd54
Clearing cache for project: test_project262fc11c1ca701
Objects to clear from memory: xxx
Project name: test_project262fc11c1ca701
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_project262fc1649df0ac
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_project262fc1649df0ac
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_project262fc16a590dc4
Project name: test_project262fc14c62532
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_project262fc13d40d229
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_project262fc1231b5daf 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_project262fc1231b5daf 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_project2262fc169ad798f 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 file262fc14e0b941c helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project262fc1394aea6 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_project262fc1394aea6 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_project262fc1394aea6 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_project262fc1394aea6 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_project262fc1394aea6 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_project262fc1394aea6 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_project262fc1394aea6 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_project262fc120d92f27
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_project262fc1422d179e
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_project262fc142b3a8d4
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_project262fc142b3a8d4
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_project262fc12df09bc7
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_project262fc12df09bc7
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_project262fc119634382
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_project262fc119634382
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_project262fc16c2209d8
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_project262fc110d55db8
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_project262fc110d55db8
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_project262fc1381d7b3
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_project262fc1381d7b3
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_project262fc16511622f
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_project262fc16511622f
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_project262fc1596eed95
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_project262fc1596eed95
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project262fc13adc9bcc
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_project262fc13adc9bcc
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_project262fc16b40c794
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_project262fc126357968
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project262fc13252f6a7
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_project262fc17f599bcd
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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.11.0
Check: tests
Result: ERROR
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
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.11.0
Check: tests
Result: ERROR
Running ‘run-all.R’ [33s/92s]
Running ‘testthat.R’ [32s/80s]
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_project28851035373f0d
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_project288510e0ad687
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_project2885102350f961
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_project2885102350f961
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_project2885102350f961
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_project288510b7125a4
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_project288510444d355a
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_project288510444d355a
Clearing cache for project: test_project2885103d604f4b
Objects to clear from memory: xxx
Project name: test_project2885103d604f4b
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_project28851028b3c4ad
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_project28851028b3c4ad
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_project28851068069f3e
Project name: test_project28851022388832
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_project2885101df5635e
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_project28851047fcb0a9 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_project28851047fcb0a9 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_project22885101ff01921 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 file28851014af8cd9 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project288510525c8d06 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_project288510525c8d06 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_project288510525c8d06 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_project288510525c8d06 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_project288510525c8d06 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_project288510525c8d06 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_project288510525c8d06 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_project2885105a2987b7
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_project28851074dd3aaf
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_project2885105c411343
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_project2885105c411343
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_project2885102b5c285e
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_project2885102b5c285e
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_project28851050fd311b
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_project28851050fd311b
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_project28851064bf2243
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_project2885103bb68a7b
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_project2885103bb68a7b
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_project28851046cb55d
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_project28851046cb55d
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_project2885101de8343f
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_project2885101de8343f
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_project28851031267914
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_project28851031267914
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project28851040f1d111
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_project28851040f1d111
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_project28851023f56b55
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_project2885107af15e45
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2885103c79545c
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_project2885104ab876a5
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_project289e3148b0789e
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_project289e314e944d25
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_project289e3174340a7a
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_project289e3174340a7a
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_project289e3174340a7a
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_project289e3175beac74
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_project289e315e3349d
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_project289e315e3349d
Clearing cache for project: test_project289e31236517b1
Objects to clear from memory: xxx
Project name: test_project289e31236517b1
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_project289e317fe34167
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_project289e317fe34167
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_project289e3179d61822
Project name: test_project289e312b1d59c1
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_project289e316741bfb4
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_project289e316537cbc6 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_project289e316537cbc6 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_project2289e31291096c3 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 file289e316443228d helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project289e3177b18db5 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_project289e3177b18db5 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_project289e3177b18db5 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_project289e3177b18db5 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_project289e3177b18db5 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_project289e3177b18db5 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_project289e3177b18db5 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_project289e3150d0cd38
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_project289e315176cf34
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_project289e3171a10c84
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_project289e3171a10c84
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_project289e316cbf6bf7
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_project289e316cbf6bf7
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_project289e313f3ae51a
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_project289e313f3ae51a
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_project289e315a067f0
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_project289e311d825fa0
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_project289e311d825fa0
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_project289e313e0337ba
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_project289e313e0337ba
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_project289e3145b50c16
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_project289e3145b50c16
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_project289e3130b6ea6a
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_project289e3130b6ea6a
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project289e3144cfa0ce
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_project289e3144cfa0ce
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_project289e314a1766ba
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_project289e3133cba8bd
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e314f1ca208
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_project289e31674ecf0d
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
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.11.0
Check: tests
Result: ERROR
Running 'run-all.R' [54s]
Running 'testthat.R' [54s]
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_project1adc8444d6c28
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_project1adc821d32758
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_project1adc857d52ea4
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_project1adc857d52ea4
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_project1adc857d52ea4
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_project1adc817ee65ba
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_project1adc85ded70a5
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_project1adc85ded70a5
Clearing cache for project: test_project1adc8602456b
Objects to clear from memory: xxx
Project name: test_project1adc8602456b
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_project1adc82eed794c
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_project1adc82eed794c
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_project1adc842d242b5
Project name: test_project1adc8601458e5
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_project1adc83bf816c
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!
Directory: test_project1adc83fc74981 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_project1adc83fc74981 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_project21adc85cd7449b 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 file1adc878064dc helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project1adc8bef6e9a 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_project1adc8bef6e9a 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_project1adc8bef6e9a 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_project1adc8bef6e9a 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_project1adc8bef6e9a 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_project1adc8bef6e9a 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_project1adc8bef6e9a 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_project1adc872204702
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_project1adc8690fcfe
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_project1adc87e2f1bb8
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_project1adc87e2f1bb8
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_project1adc8294511de
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_project1adc8294511de
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_project1adc837576acd
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_project1adc837576acd
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_project1adc81b5b18f8
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_project1adc845f2584
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_project1adc845f2584
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_project1adc81939448
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_project1adc81939448
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_project1adc84d9b458e
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_project1adc84d9b458e
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_project1adc835054132
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_project1adc835054132
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project1adc8107a368
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_project1adc8107a368
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_project1adc81139199b
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_project1adc834ba554c
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1adc817a74b6b
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_project1adc8547d775f
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_projecte7342f8865f3
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_projecte734737e1b14
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_projecte734f3981e
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_projecte734f3981e
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_projecte734f3981e
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_projecte73454c8be
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_projecte73427f32e85
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_projecte73427f32e85
Clearing cache for project: test_projecte7347c5b6
Objects to clear from memory: xxx
Project name: test_projecte7347c5b6
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_projecte734142f73
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_projecte734142f73
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_projecte7347d251c5c
Project name: test_projecte7343cd8731d
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_projecte734172e60cf
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!
Directory: test_projecte73462fd10a1 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_projecte73462fd10a1 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_project2e7341da34d2 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 filee7341a7f7392 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_projecte73447b1fe2 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_projecte73447b1fe2 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_projecte73447b1fe2 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_projecte73447b1fe2 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_projecte73447b1fe2 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_projecte73447b1fe2 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_projecte73447b1fe2 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_projecte73432263b40
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_projecte734115e43ca
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_projecte73443a37dff
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_projecte73443a37dff
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_projecte734483f35d8
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_projecte734483f35d8
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_projecte7347c8f508d
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_projecte7347c8f508d
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_projecte73435862a0d
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_projecte73476d447d1
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_projecte73476d447d1
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_projecte73438a3311d
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_projecte73438a3311d
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_projecte73469432c2a
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_projecte73469432c2a
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_projecte7341d5339de
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_projecte7341d5339de
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_projecte73469123481
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_projecte73469123481
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_projecte73423154db4
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_projecte73471e6a5f
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projecte7344e5a7696
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_projecte73428802e1d
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
Flavor: r-devel-windows-x86_64
Version: 0.11.0
Check: tests
Result: ERROR
Running ‘run-all.R’ [19s/42s]
Running ‘testthat.R’ [19s/41s]
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_project2618e96dffd140
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_project2618e94119c933
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_project2618e9573ff0d7
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_project2618e9573ff0d7
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_project2618e9573ff0d7
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_project2618e9299ee935
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_project2618e97273d7af
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_project2618e97273d7af
Clearing cache for project: test_project2618e98977440
Objects to clear from memory: xxx
Project name: test_project2618e98977440
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_project2618e939fa5e5c
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_project2618e939fa5e5c
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_project2618e911ecec91
Project name: test_project2618e98ca3ec4
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_project2618e925f1c509
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_project2618e96bf08f4 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_project2618e96bf08f4 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_project22618e922604b87 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 file2618e949f20660 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2618e974ab328e 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_project2618e974ab328e 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_project2618e974ab328e 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_project2618e974ab328e 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_project2618e974ab328e 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_project2618e974ab328e 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_project2618e974ab328e 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_project2618e97b1db857
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_project2618e941d09e1e
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_project2618e938720828
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_project2618e938720828
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_project2618e9703e429
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_project2618e9703e429
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_project2618e954b71bca
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_project2618e954b71bca
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_project2618e96af4badd
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_project2618e9183df589
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_project2618e9183df589
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_project2618e9772ecf7c
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_project2618e9772ecf7c
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_project2618e92221333a
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_project2618e92221333a
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_project2618e962f6bbf3
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_project2618e962f6bbf3
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2618e93ee9e573
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_project2618e93ee9e573
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_project2618e94750cbf8
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_project2618e91ff7b21f
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2618e94f0c2d3b
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_project2618e9562d4e4d
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_project265e0c3d8cb10e
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_project265e0c4909bbec
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_project265e0c537779dd
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_project265e0c537779dd
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_project265e0c537779dd
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_project265e0c2d0dfbe1
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_project265e0cf962ba5
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_project265e0cf962ba5
Clearing cache for project: test_project265e0c30d1ffa9
Objects to clear from memory: xxx
Project name: test_project265e0c30d1ffa9
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_project265e0c1d1cc3df
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_project265e0c1d1cc3df
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_project265e0c9c1f7db
Project name: test_project265e0c73e8a999
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_project265e0c281d4103
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_project265e0c16601ec1 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_project265e0c16601ec1 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_project2265e0c5ac327c2 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 file265e0c13358f20 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project265e0c2034f7b3 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_project265e0c2034f7b3 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_project265e0c2034f7b3 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_project265e0c2034f7b3 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_project265e0c2034f7b3 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_project265e0c2034f7b3 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_project265e0c2034f7b3 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_project265e0c3e01428a
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_project265e0c37a09ded
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_project265e0c792d469
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_project265e0c792d469
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_project265e0cb84fddf
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_project265e0cb84fddf
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_project265e0cf39241d
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_project265e0cf39241d
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_project265e0c415eb1d8
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_project265e0c10a081f3
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_project265e0c10a081f3
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_project265e0c4c0a9c74
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_project265e0c4c0a9c74
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_project265e0c2624637a
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_project265e0c2624637a
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_project265e0c7a537c06
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_project265e0c7a537c06
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project265e0ca596e22
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_project265e0ca596e22
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_project265e0c54e0e1f8
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_project265e0c7fb55b6e
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project265e0c12f7dfb4
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_project265e0c314479a5
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
Flavor: r-patched-linux-x86_64
Version: 0.11.0
Check: tests
Result: ERROR
Running 'run-all.R' [53s]
Running 'testthat.R' [53s]
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_project187b8ad9729c
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_project187b8a7b19ac
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_project187b82f6c4cf7
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_project187b82f6c4cf7
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_project187b82f6c4cf7
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_project187b81ee2015
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_project187b858ace74
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_project187b858ace74
Clearing cache for project: test_project187b833416f77
Objects to clear from memory: xxx
Project name: test_project187b833416f77
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_project187b86793170b
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_project187b86793170b
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_project187b8633d6838
Project name: test_project187b87c072760
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_project187b83d04752
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!
Directory: test_project187b83382a09 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_project187b83382a09 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_project2187b87d573005 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 file187b817f2d9e helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project187b819784c39 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_project187b819784c39 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_project187b819784c39 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_project187b819784c39 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_project187b819784c39 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_project187b819784c39 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_project187b819784c39 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_project187b8239340c0
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_project187b83cba6c14
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_project187b8c0431b
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_project187b8c0431b
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_project187b86a9c515b
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_project187b86a9c515b
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_project187b83b023999
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_project187b83b023999
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_project187b8264e763d
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_project187b8448b5e2d
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_project187b8448b5e2d
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_project187b86e565572
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_project187b86e565572
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_project187b86e8c1e88
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_project187b86e8c1e88
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_project187b870a21f7a
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_project187b870a21f7a
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project187b8d206bd6
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_project187b8d206bd6
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_project187b85f476592
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_project187b8134c161a
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187b848f32f5c
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_project187b86af476a1
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_project14c78427b46fb
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_project14c7833211f1d
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_project14c78395d79
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_project14c78395d79
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_project14c78395d79
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_project14c784f1256d4
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_project14c7849771602
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_project14c7849771602
Clearing cache for project: test_project14c7857354c41
Objects to clear from memory: xxx
Project name: test_project14c7857354c41
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_project14c7837ce1c75
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_project14c7837ce1c75
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_project14c781bf86aed
Project name: test_project14c7850ea7cc7
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_project14c78d277ae0
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!
Directory: test_project14c785068770b 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_project14c785068770b 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_project214c781cc57ce 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 file14c78139339e5 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project14c78fd75b8 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_project14c78fd75b8 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_project14c78fd75b8 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_project14c78fd75b8 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_project14c78fd75b8 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_project14c78fd75b8 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_project14c78fd75b8 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_project14c7839ca3bd3
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_project14c785b6b5771
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_project14c78183fe08
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_project14c78183fe08
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_project14c7818662177
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_project14c7818662177
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_project14c785b562f19
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_project14c785b562f19
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_project14c7839975199
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_project14c786b405866
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_project14c786b405866
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_project14c78693551c9
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_project14c78693551c9
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_project14c78669423fa
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_project14c78669423fa
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_project14c785f235f9a
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_project14c785f235f9a
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project14c781b606fed
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_project14c781b606fed
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_project14c784beb0
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_project14c781c441ad0
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project14c786c55350
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_project14c7860dc47a4
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
Flavor: r-release-windows-x86_64
Version: 0.11.0
Check: tests
Result: ERROR
Running 'run-all.R' [62s]
Running 'testthat.R' [65s]
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_project18c2477841ca3
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_project18c2470936290
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_project18c2419bf2d12
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_project18c2419bf2d12
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_project18c2419bf2d12
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_project18c246b472ac
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_project18c245553170
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_project18c245553170
Clearing cache for project: test_project18c2446217deb
Objects to clear from memory: xxx
Project name: test_project18c2446217deb
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_project18c247321710
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_project18c247321710
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_project18c243ef57d74
Project name: test_project18c2436536330
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_project18c242e63583a
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!
Directory: test_project18c24f65efb 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_project18c24f65efb 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_project218c2464522089 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 file18c24273b5fcd helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project18c243ce23e5a 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_project18c243ce23e5a 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_project18c243ce23e5a 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_project18c243ce23e5a 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_project18c243ce23e5a 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_project18c243ce23e5a 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_project18c243ce23e5a 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_project18c242c75187
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_project18c24110019e1
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_project18c24757ff70
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_project18c24757ff70
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_project18c2411d15f8
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_project18c2411d15f8
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_project18c246ff33543
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_project18c246ff33543
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_project18c24115c14b8
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_project18c246acc2f5
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_project18c246acc2f5
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_project18c241faf45d3
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_project18c241faf45d3
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_project18c24214761ef
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_project18c24214761ef
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_project18c24eed2b51
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_project18c24eed2b51
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project18c24238a6ac1
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_project18c24238a6ac1
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_project18c243fa26ac5
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_project18c2462e35790
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c243eea721b
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_project18c244b9d622
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_project2f3ece0e3e36
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_project2f3ec279d58f3
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_project2f3ec3d245066
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_project2f3ec3d245066
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_project2f3ec3d245066
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_project2f3ec7a6dfe8
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_project2f3ec9547960
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_project2f3ec9547960
Clearing cache for project: test_project2f3ec2598d21
Objects to clear from memory: xxx
Project name: test_project2f3ec2598d21
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_project2f3ec372d74bf
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_project2f3ec372d74bf
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_project2f3ec35b7e98
Project name: test_project2f3ec3e886b4
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_project2f3ec2d2455
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!
Directory: test_project2f3ec17031dff 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_project2f3ec17031dff 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_project22f3ec28b36403 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 file2f3ec39d6411a helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2f3ec40314e4d 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_project2f3ec40314e4d 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_project2f3ec40314e4d 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_project2f3ec40314e4d 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_project2f3ec40314e4d 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_project2f3ec40314e4d 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_project2f3ec40314e4d 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_project2f3ec2de0e62
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_project2f3ec2b5c24de
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_project2f3ec21ef6ea6
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_project2f3ec21ef6ea6
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_project2f3ec38633691
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_project2f3ec38633691
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_project2f3ec1bae6cb
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_project2f3ec1bae6cb
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_project2f3ec11ca2dea
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_project2f3ecd844ca4
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_project2f3ecd844ca4
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_project2f3ec701238cb
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_project2f3ec701238cb
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_project2f3ec74f328b8
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_project2f3ec74f328b8
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_project2f3ec27c22a0c
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_project2f3ec27c22a0c
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ec3e165e70
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_project2f3ec3e165e70
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_project2f3ec28282efa
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_project2f3ec212a591d
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ec3f727128
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_project2f3ecd631c02
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
Flavor: r-oldrel-windows-x86_64