Last updated on 2025-08-05 12:49:56 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.11.0 | 5.60 | 86.83 | 92.43 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.11.0 | 3.64 | 60.51 | 64.15 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.11.0 | 148.50 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.11.0 | 136.46 | ERROR | |||
r-devel-windows-x86_64 | 0.11.0 | 8.00 | 177.00 | 185.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 | 4.95 | 81.14 | 86.09 | ERROR | |
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 | 8.00 | 181.00 | 189.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 | 203.00 | 212.00 | ERROR |
Version: 0.11.0
Check: tests
Result: ERROR
Running ‘run-all.R’ [20s/50s]
Running ‘testthat.R’ [20s/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_project25b9fe3bfeb12f
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe38051fe3
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe5439de55
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe5439de55
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_project25b9fe5439de55
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_project25b9fe3b4ff18e
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_project25b9fe723068b5
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe723068b5
Clearing cache for project: test_project25b9fe41c80048
Objects to clear from memory: xxx
Project name: test_project25b9fe41c80048
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe1fe79745
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe1fe79745
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe4456e9bd
Project name: test_project25b9fe4a50171a
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe32a6fd32
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe51de4b5f 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_project25b9fe51de4b5f 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_project225b9fe77d72617 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 file25b9fe38afbf69 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project25b9fe394befbd 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_project25b9fe394befbd 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_project25b9fe394befbd 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_project25b9fe394befbd 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_project25b9fe394befbd 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_project25b9fe394befbd 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_project25b9fe394befbd 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_project25b9fe8e5b03f
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_project25b9fe7840acee
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe4f6c8c8b
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe4f6c8c8b
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe47a96dea
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe47a96dea
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe12bb19b6
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe12bb19b6
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fed92a386
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe5caca7b0
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe5caca7b0
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_project25b9fe2554609a
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe2554609a
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe7beb6f68
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe7beb6f68
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_project25b9fe712511ae
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe712511ae
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project25b9fe4577fe08
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe4577fe08
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe2c9dc602
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_project25b9fe1bae9f35
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25b9fe3308394e
Loading project configuration
Autoloading helper functions
Running helper 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_project25b9fe24edb809
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_project2600b53a893df4
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b540f4f128
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b56d543d35
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b56d543d35
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_project2600b56d543d35
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_project2600b53728ed08
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_project2600b51eb2f940
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b51eb2f940
Clearing cache for project: test_project2600b5cec418b
Objects to clear from memory: xxx
Project name: test_project2600b5cec418b
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b57ee46946
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b57ee46946
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b54a4b14e5
Project name: test_project2600b525fc372b
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b5db209f
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b55501e9ac 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_project2600b55501e9ac 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_project22600b54a249731 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 file2600b53d53ed95 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2600b549a162aa 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_project2600b549a162aa 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_project2600b549a162aa 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_project2600b549a162aa 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_project2600b549a162aa 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_project2600b549a162aa 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_project2600b549a162aa 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_project2600b58ec49e0
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_project2600b5210d2e24
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b55944e949
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b55944e949
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b526e7d35b
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b526e7d35b
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b54c82c6c6
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b54c82c6c6
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b54903825
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b5409bd367
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b5409bd367
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_project2600b52eebc6fb
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b52eebc6fb
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b55a686f72
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b55a686f72
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_project2600b551cca4d4
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b551cca4d4
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2600b579bb8aa8
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b579bb8aa8
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b539b41c51
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_project2600b56c97900b
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2600b52c855365
Loading project configuration
Autoloading helper functions
Running helper 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_project2600b5345732aa
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’ [14s/32s]
Running ‘testthat.R’ [13s/34s]
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_project26bfa579949a8b
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa51d136656
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa56525a584
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa56525a584
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_project26bfa56525a584
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_project26bfa52deec870
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_project26bfa5111d0f6d
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa5111d0f6d
Clearing cache for project: test_project26bfa5611c6e2b
Objects to clear from memory: xxx
Project name: test_project26bfa5611c6e2b
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa539237044
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa539237044
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa553afe198
Project name: test_project26bfa51392e549
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa54167e4ca
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa56aa5db18 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_project26bfa56aa5db18 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_project226bfa5713ab834 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 file26bfa52450807c helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project26bfa543d8530d 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_project26bfa543d8530d 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_project26bfa543d8530d 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_project26bfa543d8530d 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_project26bfa543d8530d 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_project26bfa543d8530d 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_project26bfa543d8530d 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_project26bfa56765507c
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_project26bfa5452f3c4e
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa54f65f24c
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa54f65f24c
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa51553cc6f
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa51553cc6f
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa52827dc53
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa52827dc53
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa54b0b8145
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa550679c8b
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa550679c8b
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_project26bfa5360cb964
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa5360cb964
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa549cdfaea
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa549cdfaea
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_project26bfa5502f3b8c
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa5502f3b8c
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project26bfa52aae4aad
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa52aae4aad
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa551d58d4
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_project26bfa5cc71ca8
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project26bfa5724d2ffb
Loading project configuration
Autoloading helper functions
Running helper 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_project26bfa5305964e7
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_project274eff2c7f8177
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff3f3d71d1
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff6b583507
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff6b583507
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_project274eff6b583507
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_project274eff7a3f6446
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_project274eff37f1f30f
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff37f1f30f
Clearing cache for project: test_project274eff3c0eaacf
Objects to clear from memory: xxx
Project name: test_project274eff3c0eaacf
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff7dd08ef8
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff7dd08ef8
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff280b637f
Project name: test_project274eff63eed7cb
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff3992e0c7
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff57693772 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_project274eff57693772 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_project2274eff57228498 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 file274eff78cfb477 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project274eff6a982eb3 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_project274eff6a982eb3 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_project274eff6a982eb3 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_project274eff6a982eb3 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_project274eff6a982eb3 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_project274eff6a982eb3 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_project274eff6a982eb3 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_project274efffe71487
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_project274eff2b3c443f
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff5fa4707
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff5fa4707
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff60e0d0c7
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff60e0d0c7
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff37e9deeb
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff37e9deeb
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff6cf7a6bb
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff10b8ff2
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff10b8ff2
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_project274eff6f7ab283
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff6f7ab283
Loading project configuration
Autoloading helper functions
Running helper 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_project274effe3fb3f4
Loading project configuration
Autoloading helper functions
Running helper 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_project274effe3fb3f4
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_project274eff7f39836c
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff7f39836c
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project274eff10b156ed
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff10b156ed
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff42439a
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_project274eff2f79b851
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project274eff4ba49e7b
Loading project configuration
Autoloading helper functions
Running helper 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_project274eff45b6b9c
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’ [31s/62s]
Running ‘testthat.R’ [31s/55s]
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_project19fe2a77e826b4
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a7429facd
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a693ce61
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a693ce61
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_project19fe2a693ce61
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_project19fe2a2af76c2c
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_project19fe2a5326faaa
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a5326faaa
Clearing cache for project: test_project19fe2a589e831a
Objects to clear from memory: xxx
Project name: test_project19fe2a589e831a
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a1ea75ed8
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a1ea75ed8
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a461b873e
Project name: test_project19fe2a5790cc21
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a723cde4a
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a7be0e145 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_project19fe2a7be0e145 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_project219fe2a2ac2a900 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 file19fe2a668fbbc9 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project19fe2a1c28d626 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_project19fe2a1c28d626 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_project19fe2a1c28d626 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_project19fe2a1c28d626 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_project19fe2a1c28d626 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_project19fe2a1c28d626 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_project19fe2a1c28d626 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_project19fe2a30ee9afd
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_project19fe2a253bc42c
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a85e4f5c
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a85e4f5c
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a3c4cfafd
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a3c4cfafd
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a34491fd2
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a34491fd2
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a7baf37ed
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a5c4b82c8
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a5c4b82c8
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_project19fe2a7b1fd88e
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a7b1fd88e
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a8253613
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a8253613
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_project19fe2a88ff03c
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a88ff03c
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project19fe2a6a67b0dc
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a6a67b0dc
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a50dc1af6
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_project19fe2a70916e87
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project19fe2a7e94f43f
Loading project configuration
Autoloading helper functions
Running helper 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_project19fe2a14f07a8d
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_project1a1b2a62ec23c1
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a4631e6db
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a34a0bb44
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a34a0bb44
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_project1a1b2a34a0bb44
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_project1a1b2a15f1e1f3
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_project1a1b2a26643562
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a26643562
Clearing cache for project: test_project1a1b2a196d7b42
Objects to clear from memory: xxx
Project name: test_project1a1b2a196d7b42
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a6ebe20d7
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a6ebe20d7
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a3a0db14c
Project name: test_project1a1b2a4950ec1
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a3c0e7b4
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a4e53d5ed 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_project1a1b2a4e53d5ed 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_project21a1b2a3318a30d 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 file1a1b2a1b0893ff helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project1a1b2a4a34f900 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_project1a1b2a4a34f900 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_project1a1b2a4a34f900 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_project1a1b2a4a34f900 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_project1a1b2a4a34f900 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_project1a1b2a4a34f900 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_project1a1b2a4a34f900 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_project1a1b2a29df8371
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_project1a1b2a72556560
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a64273669
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a64273669
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a42a5e7b5
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a42a5e7b5
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a7c6551eb
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a7c6551eb
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a53952bba
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a1ce774fc
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a1ce774fc
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_project1a1b2a6ba2c115
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a6ba2c115
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a47292085
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a47292085
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_project1a1b2a11c206c9
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a11c206c9
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project1a1b2a649d0f70
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a649d0f70
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a39c01997
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_project1a1b2a70998f2b
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1a1b2a2084bf5d
Loading project configuration
Autoloading helper functions
Running helper 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_project1a1b2a7744720b
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_project40cc234148af
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc13154002
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc880af6
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc880af6
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_project40cc880af6
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_project40cc7d283d7f
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_project40cc1e88236c
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc1e88236c
Clearing cache for project: test_project40cc21c95f30
Objects to clear from memory: xxx
Project name: test_project40cc21c95f30
Loading project configuration
Autoloading helper functions
Running helper 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_project40cca38f88
Loading project configuration
Autoloading helper functions
Running helper 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_project40cca38f88
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc5e61601
Project name: test_project40cc4eb813ce
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc7ac55f00
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc168f1ae3 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_project40cc168f1ae3 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_project240cc3a407f9a 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 file40cc51b6819 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project40cc4c7141aa 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_project40cc4c7141aa 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_project40cc4c7141aa 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_project40cc4c7141aa 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_project40cc4c7141aa 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_project40cc4c7141aa 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_project40cc4c7141aa 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_project40ccc6735c8
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_project40cc562a63
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc61853f06
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc61853f06
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc38f15cef
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc38f15cef
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc38175057
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc38175057
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc74592fa7
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc18e6db7
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc18e6db7
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_project40cc5797c41
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc5797c41
Loading project configuration
Autoloading helper functions
Running helper 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_project40ccc593de8
Loading project configuration
Autoloading helper functions
Running helper 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_project40ccc593de8
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_project40cc2ea867cc
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc2ea867cc
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project40cc7e014ad
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc7e014ad
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc1cb77f0a
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_project40cc491145c
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project40cc1e048c6
Loading project configuration
Autoloading helper functions
Running helper 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_project40cc78d87741
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_project3f0c27b51ad0
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c4bb02eb
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c42fd7f24
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c42fd7f24
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_project3f0c42fd7f24
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_project3f0c7c572f10
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_project3f0c73d72370
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c73d72370
Clearing cache for project: test_project3f0c10f33357
Objects to clear from memory: xxx
Project name: test_project3f0c10f33357
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c5d664724
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c5d664724
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0cd794be5
Project name: test_project3f0c1965484b
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c2cc3bf0
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c3e8617c0 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_project3f0c3e8617c0 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_project23f0c23f325be 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 file3f0c2db35a03 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project3f0c366547 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_project3f0c366547 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_project3f0c366547 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_project3f0c366547 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_project3f0c366547 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_project3f0c366547 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_project3f0c366547 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_project3f0c42962b8b
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_project3f0c431b2d4c
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c4a135c02
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c4a135c02
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c6b0cb86
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c6b0cb86
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c4ab831dc
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c4ab831dc
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c27468e8
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c22594449
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c22594449
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_project3f0c14441ef4
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c14441ef4
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c78795719
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c78795719
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_project3f0c64173d15
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c64173d15
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project3f0c6f634f6b
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c6f634f6b
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c3d3c6b29
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_project3f0c5ece33bd
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f0c43d0aa6
Loading project configuration
Autoloading helper functions
Running helper 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_project3f0c3c054484
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’ [19s/49s]
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_project1150bc41e63228
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc2cffd158
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc6af65a83
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc6af65a83
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_project1150bc6af65a83
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_project1150bc26541348
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_project1150bc2eafc8a2
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc2eafc8a2
Clearing cache for project: test_project1150bc7a080b0b
Objects to clear from memory: xxx
Project name: test_project1150bc7a080b0b
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc47ec44e0
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc47ec44e0
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc6ea39d5e
Project name: test_project1150bc295fae00
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc76114f64
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc4d4316a7 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_project1150bc4d4316a7 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_project21150bc295e6518 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 file1150bc3f7846a7 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project1150bc23b4979d 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_project1150bc23b4979d 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_project1150bc23b4979d 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_project1150bc23b4979d 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_project1150bc23b4979d 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_project1150bc23b4979d 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_project1150bc23b4979d 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_project1150bc40f06276
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_project1150bc219b9679
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc51ef6874
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc51ef6874
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc902e5b8
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc902e5b8
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc1885336
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc1885336
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc2fc593d2
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bccb9baee
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bccb9baee
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_project1150bc57b78514
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc57b78514
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc6a9d7ede
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc6a9d7ede
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_project1150bc2420f212
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc2420f212
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bc4c6a6605
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc4c6a6605
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc3a50b13d
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_project1150bc1b179292
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc1f41f1cc
Loading project configuration
Autoloading helper functions
Running helper 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_project1150bc8f2f5a6
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_project119c7b50360e69
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b254c16d8
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b2c30b2af
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b2c30b2af
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_project119c7b2c30b2af
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_project119c7b13a09056
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_project119c7b11881d13
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b11881d13
Clearing cache for project: test_project119c7b61acf26e
Objects to clear from memory: xxx
Project name: test_project119c7b61acf26e
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b20df5c4c
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b20df5c4c
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b29549f3e
Project name: test_project119c7b586980d5
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b792321a9
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b697870f2 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_project119c7b697870f2 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_project2119c7b3b78e42e 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 file119c7b3ccc7995 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project119c7b59716304 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_project119c7b59716304 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_project119c7b59716304 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_project119c7b59716304 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_project119c7b59716304 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_project119c7b59716304 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_project119c7b59716304 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_project119c7b1429557a
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_project119c7bbbd5cb0
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b5860716
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b5860716
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b3c1bb3b0
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b3c1bb3b0
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b5fb98604
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b5fb98604
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b54615f57
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b4a5ce2c9
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b4a5ce2c9
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_project119c7bd8c719c
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7bd8c719c
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b2196b01e
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b2196b01e
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_project119c7b79ec8705
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b79ec8705
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7b511709cc
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b511709cc
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b73b9686e
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_project119c7b48fd951f
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7bacd0825
Loading project configuration
Autoloading helper functions
Running helper 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_project119c7b5a531e53
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-linux-x86_64
Version: 0.11.0
Check: tests
Result: ERROR
Running 'run-all.R' [54s]
Running 'testthat.R' [55s]
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_project1538873863738
Loading project configuration
Autoloading helper functions
Running helper 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_project153886806a02
Loading project configuration
Autoloading helper functions
Running helper 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_project15388270b3eb2
Loading project configuration
Autoloading helper functions
Running helper 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_project15388270b3eb2
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_project15388270b3eb2
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_project153881202e2a
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_project1538819cc73eb
Loading project configuration
Autoloading helper functions
Running helper 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_project1538819cc73eb
Clearing cache for project: test_project1538827071700
Objects to clear from memory: xxx
Project name: test_project1538827071700
Loading project configuration
Autoloading helper functions
Running helper 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_project15388268035ea
Loading project configuration
Autoloading helper functions
Running helper 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_project15388268035ea
Loading project configuration
Autoloading helper functions
Running helper 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_project15388605a1a0d
Project name: test_project1538878c6706c
Loading project configuration
Autoloading helper functions
Running helper 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_project15388259224c3
Loading project configuration
Autoloading helper functions
Running helper 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_project1538842c67a41 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_project1538842c67a41 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_project2153887f4e678e 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 file153882c5961f2 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project153883ec878c 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_project153883ec878c 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_project153883ec878c 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_project153883ec878c 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_project153883ec878c 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_project153883ec878c 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_project153883ec878c 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_project1538837317a03
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_project1538826e75667
Loading project configuration
Autoloading helper functions
Running helper 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_project153883f841169
Loading project configuration
Autoloading helper functions
Running helper 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_project153883f841169
Loading project configuration
Autoloading helper functions
Running helper 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_project1538832ea5453
Loading project configuration
Autoloading helper functions
Running helper 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_project1538832ea5453
Loading project configuration
Autoloading helper functions
Running helper 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_project153886ff93b54
Loading project configuration
Autoloading helper functions
Running helper 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_project153886ff93b54
Loading project configuration
Autoloading helper functions
Running helper 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_project153882fb77f75
Loading project configuration
Autoloading helper functions
Running helper 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_project1538861fdfc3
Loading project configuration
Autoloading helper functions
Running helper 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_project1538861fdfc3
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_project1538846f1629b
Loading project configuration
Autoloading helper functions
Running helper 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_project1538846f1629b
Loading project configuration
Autoloading helper functions
Running helper 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_project15388753623b1
Loading project configuration
Autoloading helper functions
Running helper 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_project15388753623b1
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_project153883c776bfe
Loading project configuration
Autoloading helper functions
Running helper 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_project153883c776bfe
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project153881fd96a3d
Loading project configuration
Autoloading helper functions
Running helper 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_project153881fd96a3d
Loading project configuration
Autoloading helper functions
Running helper 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_project153884376694a
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_project153883ee511d6
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project15388539765ca
Loading project configuration
Autoloading helper functions
Running helper 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_project153886610283c
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_project2d42436357aa7
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42449ff5842
Loading project configuration
Autoloading helper functions
Running helper 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_project2d4241b633150
Loading project configuration
Autoloading helper functions
Running helper 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_project2d4241b633150
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_project2d4241b633150
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_project2d42459d25f32
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_project2d42414856faf
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42414856faf
Clearing cache for project: test_project2d42414b43b9f
Objects to clear from memory: xxx
Project name: test_project2d42414b43b9f
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42448c92c35
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42448c92c35
Loading project configuration
Autoloading helper functions
Running helper 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_project2d4243ac06378
Project name: test_project2d4241abeb08
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42481c3e2a
Loading project configuration
Autoloading helper functions
Running helper 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_project2d4245c112f25 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_project2d4245c112f25 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_project22d42429251949 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 file2d4246e4b33cb helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2d42436c8a78 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_project2d42436c8a78 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_project2d42436c8a78 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_project2d42436c8a78 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_project2d42436c8a78 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_project2d42436c8a78 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_project2d42436c8a78 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_project2d424216b3fa6
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_project2d42462cb2278
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42441eccd4
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42441eccd4
Loading project configuration
Autoloading helper functions
Running helper 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_project2d4247782790
Loading project configuration
Autoloading helper functions
Running helper 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_project2d4247782790
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42470653f79
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42470653f79
Loading project configuration
Autoloading helper functions
Running helper 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_project2d4243fb67f0d
Loading project configuration
Autoloading helper functions
Running helper 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_project2d424135a74
Loading project configuration
Autoloading helper functions
Running helper 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_project2d424135a74
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_project2d42410ef5fb4
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42410ef5fb4
Loading project configuration
Autoloading helper functions
Running helper 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_project2d424795220f0
Loading project configuration
Autoloading helper functions
Running helper 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_project2d424795220f0
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_project2d42462597bee
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42462597bee
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2d42437252f3a
Loading project configuration
Autoloading helper functions
Running helper 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_project2d42437252f3a
Loading project configuration
Autoloading helper functions
Running helper 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_project2d424698630c8
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_project2d4242e657fed
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d424373e5a19
Loading project configuration
Autoloading helper functions
Running helper 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_project2d4245847545f
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' [62s]
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_projectc210417ba52
Loading project configuration
Autoloading helper functions
Running helper 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_projectc21038761110
Loading project configuration
Autoloading helper functions
Running helper 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_projectc210b56cb3
Loading project configuration
Autoloading helper functions
Running helper 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_projectc210b56cb3
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_projectc210b56cb3
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_projectc21070a14ebe
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_projectc21022646598
Loading project configuration
Autoloading helper functions
Running helper 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_projectc21022646598
Clearing cache for project: test_projectc2105697ce2
Objects to clear from memory: xxx
Project name: test_projectc2105697ce2
Loading project configuration
Autoloading helper functions
Running helper 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_projectc2103db44d3c
Loading project configuration
Autoloading helper functions
Running helper 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_projectc2103db44d3c
Loading project configuration
Autoloading helper functions
Running helper 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_projectc21020756f41
Project name: test_projectc210677c7dff
Loading project configuration
Autoloading helper functions
Running helper 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_projectc210147a5bee
Loading project configuration
Autoloading helper functions
Running helper 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_projectc2102749228c 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_projectc2102749228c 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_project2c2104a41916 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 filec21060de777a helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_projectc2102fae309c 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_projectc2102fae309c 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_projectc2102fae309c 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_projectc2102fae309c 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_projectc2102fae309c 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_projectc2102fae309c 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_projectc2102fae309c 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_projectc21065d230bd
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_projectc2106cb612e8
Loading project configuration
Autoloading helper functions
Running helper 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_projectc2106167153c
Loading project configuration
Autoloading helper functions
Running helper 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_projectc2106167153c
Loading project configuration
Autoloading helper functions
Running helper 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_projectc2104c092d6e
Loading project configuration
Autoloading helper functions
Running helper 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_projectc2104c092d6e
Loading project configuration
Autoloading helper functions
Running helper 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_projectc210433f4f24
Loading project configuration
Autoloading helper functions
Running helper 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_projectc210433f4f24
Loading project configuration
Autoloading helper functions
Running helper 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_projectc2106bcb56fe
Loading project configuration
Autoloading helper functions
Running helper 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_projectc210694b27d4
Loading project configuration
Autoloading helper functions
Running helper 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_projectc210694b27d4
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_projectc210586c695a
Loading project configuration
Autoloading helper functions
Running helper 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_projectc210586c695a
Loading project configuration
Autoloading helper functions
Running helper 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_projectc210d111da1
Loading project configuration
Autoloading helper functions
Running helper 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_projectc210d111da1
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_projectc2102c49528
Loading project configuration
Autoloading helper functions
Running helper 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_projectc2102c49528
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_projectc2106bb94e78
Loading project configuration
Autoloading helper functions
Running helper 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_projectc2106bb94e78
Loading project configuration
Autoloading helper functions
Running helper 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_projectc2103ecb6ed9
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_projectc21072541bd3
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc2105cb57c9e
Loading project configuration
Autoloading helper functions
Running helper 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_projectc21033fb6b1a
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_project2481c23f64c13
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c776a53b9
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c7aecf94
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c7aecf94
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_project2481c7aecf94
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_project2481c4b915ca0
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_project2481c5be45105
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c5be45105
Clearing cache for project: test_project2481c30d7fbd
Objects to clear from memory: xxx
Project name: test_project2481c30d7fbd
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c34405b38
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c34405b38
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c4894693a
Project name: test_project2481c42d36c1f
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c750d5faf
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c5c8f27e5 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_project2481c5c8f27e5 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_project22481c664b2995 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 file2481c8cb1cd5 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2481c10ee2abc 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_project2481c10ee2abc 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_project2481c10ee2abc 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_project2481c10ee2abc 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_project2481c10ee2abc 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_project2481c10ee2abc 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_project2481c10ee2abc 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_project2481c209d5575
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_project2481c572b519a
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c4a81400
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c4a81400
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c5d33423b
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c5d33423b
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c659bc9
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c659bc9
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c19224d75
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c5123661f
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c5123661f
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_project2481c2da871c7
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c2da871c7
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c49ee2cd7
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c49ee2cd7
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_project2481c19b82a18
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c19b82a18
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c1d454123
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c1d454123
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c7532d6b
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_project2481c6d254bc5
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c400e5739
Loading project configuration
Autoloading helper functions
Running helper 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_project2481c60225d7
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