Last updated on 2025-08-01 17:50:33 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.11.0 | 5.08 | 86.41 | 91.49 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.11.0 | 3.78 | 58.99 | 62.77 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.11.0 | 148.50 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.11.0 | 144.35 | ERROR | |||
r-devel-windows-x86_64 | 0.11.0 | 8.00 | 178.00 | 186.00 | ERROR | |
r-patched-linux-x86_64 | 0.11.0 | 6.33 | 79.75 | 86.08 | ERROR | |
r-release-linux-x86_64 | 0.11.0 | 5.17 | 80.59 | 85.76 | OK | |
r-release-macos-arm64 | 0.11.0 | 79.00 | OK | |||
r-release-macos-x86_64 | 0.11.0 | 139.00 | OK | |||
r-release-windows-x86_64 | 0.11.0 | 8.00 | 179.00 | 187.00 | ERROR | |
r-oldrel-macos-arm64 | 0.11.0 | 79.00 | OK | |||
r-oldrel-macos-x86_64 | 0.11.0 | 168.00 | OK | |||
r-oldrel-windows-x86_64 | 0.11.0 | 9.00 | 208.00 | 217.00 | ERROR |
Version: 0.11.0
Check: tests
Result: ERROR
Running ‘run-all.R’ [20s/46s]
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_project3bb50329b2e0c8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bb5033ef15c52
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bb503b14c660
Loading project configuration
Autoloading helper functions
Running helper 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_project3bb503b14c660
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_project3bb503b14c660
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_project3bb5034a63cd22
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_project3bb5037a383883
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3bb5037a383883
Clearing cache for project: test_project3bb5031836572c
Objects to clear from memory: xxx
Project name: test_project3bb5031836572c
Loading project configuration
Autoloading helper functions
Running helper 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_project3bb50366282d9a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb50366282d9a
Loading project configuration
Autoloading helper functions
Running helper 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_project3bb50376f7a9db
Project name: test_project3bb5031bd55153
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb5034431980e
Loading project configuration
Autoloading helper functions
Running helper 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_project3bb50351f82d0a 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_project3bb50351f82d0a 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_project23bb5033f8e6186 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 file3bb50351bfbc6b helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project3bb5035bcc7bad 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_project3bb5035bcc7bad 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_project3bb5035bcc7bad 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_project3bb5035bcc7bad 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_project3bb5035bcc7bad 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_project3bb5035bcc7bad 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_project3bb5035bcc7bad 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_project3bb503497cb03
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_project3bb5031e06e7d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3bb5034ddebf0e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb5034ddebf0e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bb50326939d5f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb50326939d5f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bb503156d0386
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb503156d0386
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bb50322aef5d2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bb503147e3f7c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb503147e3f7c
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_project3bb5031cf7aa10
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb5031cf7aa10
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bb5031bf1edf1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb5031bf1edf1
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_project3bb50358028520
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb50358028520
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project3bb50319988b52
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb50319988b52
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bb5034a2d7621
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_project3bb503208f60c
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb5037ea09f7b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bb5031160d9fe
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_project3bf5b63cd23f6d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bf5b63cb6dbed
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bf5b67530d811
Loading project configuration
Autoloading helper functions
Running helper 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_project3bf5b67530d811
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_project3bf5b67530d811
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_project3bf5b6130e603c
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_project3bf5b62d34d4d0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3bf5b62d34d4d0
Clearing cache for project: test_project3bf5b62d5f3249
Objects to clear from memory: xxx
Project name: test_project3bf5b62d5f3249
Loading project configuration
Autoloading helper functions
Running helper 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_project3bf5b616d558b9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b616d558b9
Loading project configuration
Autoloading helper functions
Running helper 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_project3bf5b657609f00
Project name: test_project3bf5b657819362
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b62c8b95b3
Loading project configuration
Autoloading helper functions
Running helper 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_project3bf5b67695a6d6 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_project3bf5b67695a6d6 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_project23bf5b671fd689 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 file3bf5b6358c9213 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project3bf5b66428412f 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_project3bf5b66428412f 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_project3bf5b66428412f 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_project3bf5b66428412f 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_project3bf5b66428412f 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_project3bf5b66428412f 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_project3bf5b66428412f 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_project3bf5b61685d5be
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_project3bf5b66ce40d55
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3bf5b6a6a5d91
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b6a6a5d91
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bf5b61bb9d5f6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b61bb9d5f6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bf5b654ca0bca
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b654ca0bca
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bf5b612066fb6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bf5b6529afe2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b6529afe2
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_project3bf5b65293fcfd
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b65293fcfd
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bf5b622cc0402
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b622cc0402
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_project3bf5b61412c1d4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b61412c1d4
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project3bf5b64d8262e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b64d8262e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3bf5b6662f6e2e
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_project3bf5b676feb366
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b67a197a7a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3bf5b647fb5bea
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.11.0
Check: tests
Result: ERROR
Running ‘run-all.R’ [13s/32s]
Running ‘testthat.R’ [13s/32s]
Running the tests in ‘tests/run-all.R’ failed.
Complete output:
> library(testthat)
>
> test_check("ProjectTemplate")
Loading required package: ProjectTemplate
Loading required package: digest
Loading required package: tibble
Project name: test_project3f42fd21983925
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3f42fd4ede473c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3f42fd5772c42e
Loading project configuration
Autoloading helper functions
Running helper 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_project3f42fd5772c42e
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_project3f42fd5772c42e
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_project3f42fd2ebed2b3
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_project3f42fd48055324
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3f42fd48055324
Clearing cache for project: test_project3f42fd725bdc66
Objects to clear from memory: xxx
Project name: test_project3f42fd725bdc66
Loading project configuration
Autoloading helper functions
Running helper 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_project3f42fd5e2b381e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd5e2b381e
Loading project configuration
Autoloading helper functions
Running helper 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_project3f42fd4f5e6496
Project name: test_project3f42fd39768101
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd757aa6db
Loading project configuration
Autoloading helper functions
Running helper 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_project3f42fd432b958b 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_project3f42fd432b958b 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_project23f42fd3d63edf0 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 file3f42fdba1d427 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project3f42fd3249c262 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_project3f42fd3249c262 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_project3f42fd3249c262 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_project3f42fd3249c262 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_project3f42fd3249c262 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_project3f42fd3249c262 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_project3f42fd3249c262 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_project3f42fdaf5a2ec
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_project3f42fd32eb189d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3f42fd53088f85
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd53088f85
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3f42fd7a106de0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd7a106de0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3f42fd7d5314d9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd7d5314d9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3f42fd594b5a91
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3f42fd145d6c2c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd145d6c2c
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_project3f42fd5fd9ec8b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd5fd9ec8b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3f42fd6f033d2f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd6f033d2f
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_project3f42fd38d8b5fb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd38d8b5fb
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project3f42fd26e91526
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd26e91526
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3f42fd64b93c18
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_project3f42fd1e42ed7c
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd411e42e5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3f42fd7bb6706b
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_project3fce5311a42575
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3fce53335c6a0d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3fce533cf1feb3
Loading project configuration
Autoloading helper functions
Running helper 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_project3fce533cf1feb3
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_project3fce533cf1feb3
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_project3fce5369a056f6
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_project3fce537b7ff756
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3fce537b7ff756
Clearing cache for project: test_project3fce5367a077a1
Objects to clear from memory: xxx
Project name: test_project3fce5367a077a1
Loading project configuration
Autoloading helper functions
Running helper 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_project3fce53792ebb3c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce53792ebb3c
Loading project configuration
Autoloading helper functions
Running helper 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_project3fce5357d28746
Project name: test_project3fce533bfefc0b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce537598ae81
Loading project configuration
Autoloading helper functions
Running helper 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_project3fce537f8ce899 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_project3fce537f8ce899 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_project23fce534b7bdcf5 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 file3fce5329113823 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project3fce537f63aafc 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_project3fce537f63aafc 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_project3fce537f63aafc 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_project3fce537f63aafc 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_project3fce537f63aafc 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_project3fce537f63aafc 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_project3fce537f63aafc 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_project3fce536e8aa54b
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_project3fce533955730e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3fce533616a7fe
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce533616a7fe
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3fce531f9aaf14
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce531f9aaf14
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3fce535491925d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce535491925d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3fce53b97c078
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3fce53dca8829
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce53dca8829
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_project3fce5379f75263
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce5379f75263
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3fce53365bc0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce53365bc0
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_project3fce53650c5f84
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce53650c5f84
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project3fce533f927ea2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce533f927ea2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3fce535e7ec311
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_project3fce536a31a914
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce53415cf473
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3fce534dea533d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.11.0
Check: tests
Result: ERROR
Running ‘run-all.R’ [33s/84s]
Running ‘testthat.R’ [33s/79s]
Running the tests in ‘tests/run-all.R’ failed.
Complete output:
> library(testthat)
>
> test_check("ProjectTemplate")
Loading required package: ProjectTemplate
Loading required package: digest
Loading required package: tibble
Project name: test_project27194b44b3c7fc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project27194b65c777ba
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project27194b2814a800
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project27194b2814a800
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
dummy 999
Configuration for project: test_project27194b2814a800
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
Additional custom config present for this project:
Objects to clear from memory: config helper.function project.info
Project name: test_project27194b25eb9cfd
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: foo.reader.R
Running helper script: helpers.R
Autoloading data
Loading data set: example
Creating cache entry from global environment: example
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Following objects not in memory:
Objects to clear from memory: xxxx
Project name: test_project27194b4233bd7f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: helper.function project.info
Clearing cache for project: test_project27194b4233bd7f
Clearing cache for project: test_project27194b7f7e2cd8
Objects to clear from memory: xxx
Project name: test_project27194b7f7e2cd8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from CODE: xxxx
Objects to clear from memory: config project.info
Objects to clear from memory: project.info
Objects to clear from memory: yyy
Following objects not in memory: xxx
Following objects not in memory: xxx
Variables not cleared: config
No objects to clear
Objects to clear from memory: .yyy helper.function project.info
Project name: test_project27194bf45ef3c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194bf45ef3c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project27194b1a9d194c
Project name: test_project27194b36c3438e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194b666651ce
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
Current Directory: test_project27194bca3a0f2 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project27194bca3a0f2 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project227194b6f055448 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Objects to clear from memory: config helper.function project.info
No objects to clear
Objects to clear from memory: config file27194b753d4019 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run load.project()
Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run clear.cache() again.
Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run cache() again.
Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run reload.project() again.
Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run test.project() again.
Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run stub.tests() again.
Current Directory: test_project27194b799d6a5f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run project.config()
Project name: test_project27194b727c1c8e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: Thumbs
Loading required namespace: RSQLite
Creating cache entry from global environment: var_to_cache
Loading required package: data.table
01-test_data.py start
01-test_data.py finish
02-test_data.py start
['1', '20']
['2', '30']
['3', '40']
Python data exists in the environment
y
02-test_data.py finish
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file contained unused entries which have been
removed. The unused entries are:
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] TRUE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Project name: test_project27194b556b93b6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: .Random.seed config helper.function project.info
Project name: test_project27194b40a1c1e5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194b40a1c1e5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project27194b47fc9e52
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194b47fc9e52
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project27194b76a990cc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194b76a990cc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project27194b147b04ef
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project27194b5eb78d7a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194b5eb78d7a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project27194b2185f73c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194b2185f73c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project27194b37ebb73b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194b37ebb73b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project27194b2f2db5e4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194b2f2db5e4
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project27194b925ea7f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194b925ea7f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Loading required package: qs
qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
Creating cache entry from global environment: cache.qs
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Loading table: example_30a
Loading table: example_30b
Loading table: example_31a
Loading table: example_31b
Loading table: example_28
re-encoding from CP1252
re-encoding from CP1252
Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
Objects to clear from memory: config helper.function project.info
Items in cache will not be cleared
Use reload.project(reset=TRUE) to clear cache also
Objects to clear from memory: helper.function project.info z
Reloading Project ...
Project name: test_project27194b1bc73d76
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading cached data set: z
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info x y z
Project name: test_project27194b139a9cfe
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194b17df8f9e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project27194b6c1908a6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(ProjectTemplate)
Loading required package: digest
Loading required package: tibble
>
> test_check("ProjectTemplate")
Project name: test_project2736ed4e454997
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2736ed64c11fe
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2736ed4e152b3e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project2736ed4e152b3e
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
dummy 999
Configuration for project: test_project2736ed4e152b3e
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
Additional custom config present for this project:
Objects to clear from memory: config helper.function project.info
Project name: test_project2736ed419b0426
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: foo.reader.R
Running helper script: helpers.R
Autoloading data
Loading data set: example
Creating cache entry from global environment: example
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Following objects not in memory:
Objects to clear from memory: xxxx
Project name: test_project2736ed1b986948
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: helper.function project.info
Clearing cache for project: test_project2736ed1b986948
Clearing cache for project: test_project2736ed53cbfee5
Objects to clear from memory: xxx
Project name: test_project2736ed53cbfee5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from CODE: xxxx
Objects to clear from memory: config project.info
Objects to clear from memory: project.info
Objects to clear from memory: yyy
Following objects not in memory: xxx
Following objects not in memory: xxx
Variables not cleared: config
No objects to clear
Objects to clear from memory: .yyy helper.function project.info
Project name: test_project2736ed31830917
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed31830917
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project2736ed2fe9dc8a
Project name: test_project2736ed76e57fa0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed7759b1b9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
Current Directory: test_project2736ed5d59ceda is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project2736ed5d59ceda is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project22736ed5b8d86b2 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Objects to clear from memory: config helper.function project.info
No objects to clear
Objects to clear from memory: config file2736ed78a6acdc helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run load.project()
Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run clear.cache() again.
Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run cache() again.
Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run reload.project() again.
Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run test.project() again.
Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run stub.tests() again.
Current Directory: test_project2736ed2ab1045 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run project.config()
Project name: test_project2736ed6a655c86
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: Thumbs
Loading required namespace: RSQLite
Creating cache entry from global environment: var_to_cache
Loading required package: data.table
01-test_data.py start
01-test_data.py finish
02-test_data.py start
['1', '20']
['2', '30']
['3', '40']
Python data exists in the environment
y
02-test_data.py finish
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file contained unused entries which have been
removed. The unused entries are:
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] TRUE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Project name: test_project2736ed5d6b27d1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: .Random.seed config helper.function project.info
Project name: test_project2736ed4c156c07
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed4c156c07
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2736ed731cebcf
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed731cebcf
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2736ed218ed97b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed218ed97b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2736ed299745f1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2736ed57ee5ec4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed57ee5ec4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project2736ed72c02da4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed72c02da4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2736ed535a2419
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed535a2419
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project2736ed3a6a7a04
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed3a6a7a04
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2736ed34bec401
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed34bec401
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Loading required package: qs
qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
Creating cache entry from global environment: cache.qs
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Loading table: example_30a
Loading table: example_30b
Loading table: example_31a
Loading table: example_31b
Loading table: example_28
re-encoding from CP1252
re-encoding from CP1252
Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
Objects to clear from memory: config helper.function project.info
Items in cache will not be cleared
Use reload.project(reset=TRUE) to clear cache also
Objects to clear from memory: helper.function project.info z
Reloading Project ...
Project name: test_project2736ed59b8aec6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading cached data set: z
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info x y z
Project name: test_project2736ed488294ee
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed120bdab5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2736ed60c4c7f0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.11.0
Check: tests
Result: ERROR
Running ‘run-all.R’ [33s/92s]
Running ‘testthat.R’ [32s/80s]
Running the tests in ‘tests/run-all.R’ failed.
Complete output:
> library(testthat)
>
> test_check("ProjectTemplate")
Loading required package: ProjectTemplate
Loading required package: digest
Loading required package: tibble
Project name: test_project28851035373f0d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project288510e0ad687
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2885102350f961
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project2885102350f961
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
dummy 999
Configuration for project: test_project2885102350f961
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
Additional custom config present for this project:
Objects to clear from memory: config helper.function project.info
Project name: test_project288510b7125a4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: foo.reader.R
Running helper script: helpers.R
Autoloading data
Loading data set: example
Creating cache entry from global environment: example
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Following objects not in memory:
Objects to clear from memory: xxxx
Project name: test_project288510444d355a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: helper.function project.info
Clearing cache for project: test_project288510444d355a
Clearing cache for project: test_project2885103d604f4b
Objects to clear from memory: xxx
Project name: test_project2885103d604f4b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from CODE: xxxx
Objects to clear from memory: config project.info
Objects to clear from memory: project.info
Objects to clear from memory: yyy
Following objects not in memory: xxx
Following objects not in memory: xxx
Variables not cleared: config
No objects to clear
Objects to clear from memory: .yyy helper.function project.info
Project name: test_project28851028b3c4ad
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project28851028b3c4ad
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project28851068069f3e
Project name: test_project28851022388832
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2885101df5635e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
Current Directory: test_project28851047fcb0a9 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project28851047fcb0a9 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project22885101ff01921 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Objects to clear from memory: config helper.function project.info
No objects to clear
Objects to clear from memory: config file28851014af8cd9 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project288510525c8d06 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run load.project()
Current Directory: test_project288510525c8d06 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run clear.cache() again.
Current Directory: test_project288510525c8d06 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run cache() again.
Current Directory: test_project288510525c8d06 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run reload.project() again.
Current Directory: test_project288510525c8d06 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run test.project() again.
Current Directory: test_project288510525c8d06 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run stub.tests() again.
Current Directory: test_project288510525c8d06 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run project.config()
Project name: test_project2885105a2987b7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: Thumbs
Loading required namespace: RSQLite
Creating cache entry from global environment: var_to_cache
Loading required package: data.table
01-test_data.py start
01-test_data.py finish
02-test_data.py start
['1', '20']
['2', '30']
['3', '40']
Python data exists in the environment
y
02-test_data.py finish
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file contained unused entries which have been
removed. The unused entries are:
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] TRUE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Project name: test_project28851074dd3aaf
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: .Random.seed config helper.function project.info
Project name: test_project2885105c411343
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2885105c411343
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2885102b5c285e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2885102b5c285e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project28851050fd311b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project28851050fd311b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project28851064bf2243
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2885103bb68a7b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2885103bb68a7b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project28851046cb55d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project28851046cb55d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2885101de8343f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2885101de8343f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project28851031267914
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project28851031267914
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project28851040f1d111
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project28851040f1d111
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Loading required package: qs
qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
Creating cache entry from global environment: cache.qs
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Loading table: example_30a
Loading table: example_30b
Loading table: example_31a
Loading table: example_31b
Loading table: example_28
re-encoding from CP1252
re-encoding from CP1252
Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
Objects to clear from memory: config helper.function project.info
Items in cache will not be cleared
Use reload.project(reset=TRUE) to clear cache also
Objects to clear from memory: helper.function project.info z
Reloading Project ...
Project name: test_project28851023f56b55
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading cached data set: z
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info x y z
Project name: test_project2885107af15e45
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2885103c79545c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2885104ab876a5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(ProjectTemplate)
Loading required package: digest
Loading required package: tibble
>
> test_check("ProjectTemplate")
Project name: test_project289e3148b0789e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project289e314e944d25
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project289e3174340a7a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project289e3174340a7a
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
dummy 999
Configuration for project: test_project289e3174340a7a
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
Additional custom config present for this project:
Objects to clear from memory: config helper.function project.info
Project name: test_project289e3175beac74
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: foo.reader.R
Running helper script: helpers.R
Autoloading data
Loading data set: example
Creating cache entry from global environment: example
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Following objects not in memory:
Objects to clear from memory: xxxx
Project name: test_project289e315e3349d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: helper.function project.info
Clearing cache for project: test_project289e315e3349d
Clearing cache for project: test_project289e31236517b1
Objects to clear from memory: xxx
Project name: test_project289e31236517b1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from CODE: xxxx
Objects to clear from memory: config project.info
Objects to clear from memory: project.info
Objects to clear from memory: yyy
Following objects not in memory: xxx
Following objects not in memory: xxx
Variables not cleared: config
No objects to clear
Objects to clear from memory: .yyy helper.function project.info
Project name: test_project289e317fe34167
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e317fe34167
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project289e3179d61822
Project name: test_project289e312b1d59c1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e316741bfb4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
Current Directory: test_project289e316537cbc6 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project289e316537cbc6 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project2289e31291096c3 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Objects to clear from memory: config helper.function project.info
No objects to clear
Objects to clear from memory: config file289e316443228d helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project289e3177b18db5 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run load.project()
Current Directory: test_project289e3177b18db5 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run clear.cache() again.
Current Directory: test_project289e3177b18db5 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run cache() again.
Current Directory: test_project289e3177b18db5 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run reload.project() again.
Current Directory: test_project289e3177b18db5 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run test.project() again.
Current Directory: test_project289e3177b18db5 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run stub.tests() again.
Current Directory: test_project289e3177b18db5 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run project.config()
Project name: test_project289e3150d0cd38
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: Thumbs
Loading required namespace: RSQLite
Creating cache entry from global environment: var_to_cache
Loading required package: data.table
01-test_data.py start
01-test_data.py finish
02-test_data.py start
['1', '20']
['2', '30']
['3', '40']
Python data exists in the environment
y
02-test_data.py finish
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file contained unused entries which have been
removed. The unused entries are:
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] TRUE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Project name: test_project289e315176cf34
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: .Random.seed config helper.function project.info
Project name: test_project289e3171a10c84
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e3171a10c84
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project289e316cbf6bf7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e316cbf6bf7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project289e313f3ae51a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e313f3ae51a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project289e315a067f0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project289e311d825fa0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e311d825fa0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project289e313e0337ba
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e313e0337ba
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project289e3145b50c16
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e3145b50c16
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project289e3130b6ea6a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e3130b6ea6a
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project289e3144cfa0ce
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e3144cfa0ce
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Loading required package: qs
qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
Creating cache entry from global environment: cache.qs
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Loading table: example_30a
Loading table: example_30b
Loading table: example_31a
Loading table: example_31b
Loading table: example_28
re-encoding from CP1252
re-encoding from CP1252
Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
Objects to clear from memory: config helper.function project.info
Items in cache will not be cleared
Use reload.project(reset=TRUE) to clear cache also
Objects to clear from memory: helper.function project.info z
Reloading Project ...
Project name: test_project289e314a1766ba
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading cached data set: z
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info x y z
Project name: test_project289e3133cba8bd
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e314f1ca208
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project289e31674ecf0d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.11.0
Check: tests
Result: ERROR
Running 'run-all.R' [54s]
Running 'testthat.R' [54s]
Running the tests in 'tests/run-all.R' failed.
Complete output:
> library(testthat)
>
> test_check("ProjectTemplate")
Loading required package: ProjectTemplate
Loading required package: digest
Loading required package: tibble
Project name: test_project2975032ed72e2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project297501c47b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project29750429079f3
Loading project configuration
Autoloading helper functions
Running helper 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_project29750429079f3
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_project29750429079f3
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_project29750bc514a
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_project2975048b06476
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project2975048b06476
Clearing cache for project: test_project2975022a14c8d
Objects to clear from memory: xxx
Project name: test_project2975022a14c8d
Loading project configuration
Autoloading helper functions
Running helper 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_project297502fa070fa
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project297502fa070fa
Loading project configuration
Autoloading helper functions
Running helper 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_project2975043ec31c0
Project name: test_project297503e015a5e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project297506a881d4a
Loading project configuration
Autoloading helper functions
Running helper 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_project2975010666ebf 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_project2975010666ebf 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_project2297501fcb6387 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 file297504c434654 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project297504946361a 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_project297504946361a 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_project297504946361a 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_project297504946361a 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_project297504946361a 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_project297504946361a 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_project297504946361a 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_project2975061a3740
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_project297507f9b7cd0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project297501bc526f2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project297501bc526f2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2975027c02056
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2975027c02056
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2975023c423ad
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2975023c423ad
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project297503b2f6f1e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project297502e7ef88
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project297502e7ef88
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_project297503aee5d0c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project297503aee5d0c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2975034f46399
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2975034f46399
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_project2975019e84838
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2975019e84838
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2975078b0111c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2975078b0111c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project297503d691eb4
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_project2975057234143
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2975074e6351b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project297507b84160a
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_project2d33829816ea3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2d3389d85404
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2d3384b2d3c2
Loading project configuration
Autoloading helper functions
Running helper 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_project2d3384b2d3c2
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_project2d3384b2d3c2
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_project2d3385814b7b
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_project2d33821e381b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project2d33821e381b
Clearing cache for project: test_project2d3383eeb1955
Objects to clear from memory: xxx
Project name: test_project2d3383eeb1955
Loading project configuration
Autoloading helper functions
Running helper 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_project2d33848ef5637
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d33848ef5637
Loading project configuration
Autoloading helper functions
Running helper 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_project2d338569f4644
Project name: test_project2d33820ce467b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d3381fb072da
Loading project configuration
Autoloading helper functions
Running helper 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_project2d338337e7a3c 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_project2d338337e7a3c 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_project22d338529f2e4b 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 file2d33812fa5ddf helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2d3382f2b4357 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_project2d3382f2b4357 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_project2d3382f2b4357 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_project2d3382f2b4357 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_project2d3382f2b4357 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_project2d3382f2b4357 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_project2d3382f2b4357 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_project2d3381c69ca3
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_project2d3383ab6459
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project2d3385273598e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d3385273598e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2d33840fb198c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d33840fb198c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2d3383e846cd3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d3383e846cd3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2d3383a6b5500
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2d33827695dbb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d33827695dbb
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_project2d33878da725e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d33878da725e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2d3383b352e6a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d3383b352e6a
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_project2d33876772822
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d33876772822
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2d3387e311f7b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d3387e311f7b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2d3384e0e3a72
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_project2d33852004144
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d33868d34c9c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2d3383ed162ee
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' [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_project12720105456d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project12720325478eb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project12720699d2ade
Loading project configuration
Autoloading helper functions
Running helper 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_project12720699d2ade
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_project12720699d2ade
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_project12720761370de
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_project12720477b67be
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project12720477b67be
Clearing cache for project: test_project127206cb11c58
Objects to clear from memory: xxx
Project name: test_project127206cb11c58
Loading project configuration
Autoloading helper functions
Running helper 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_project127206dcb5100
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project127206dcb5100
Loading project configuration
Autoloading helper functions
Running helper 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_project1272033021608
Project name: test_project127205f6f63bd
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1272045de7094
Loading project configuration
Autoloading helper functions
Running helper 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_project1272049c34180 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_project1272049c34180 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_project21272052622ec9 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 file127207cc60e8 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project127203ad12911 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_project127203ad12911 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_project127203ad12911 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_project127203ad12911 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_project127203ad12911 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_project127203ad12911 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_project127203ad12911 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_project127201a5a2293
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_project127201c774c6f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project1272059fde0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1272059fde0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project127205f064e42
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project127205f064e42
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project12720125e7678
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project12720125e7678
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project127202a040b7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project127203f982a2d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project127203f982a2d
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_project12720e5516ce
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project12720e5516ce
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1272072b6572b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1272072b6572b
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_project12720420843be
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project12720420843be
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project12720c532341
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project12720c532341
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1272035366751
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_project127202fc72389
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project12720b6a16d4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1272043ac25a9
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_project1ad30791878b1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1ad301e167e60
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1ad302ad946d0
Loading project configuration
Autoloading helper functions
Running helper 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_project1ad302ad946d0
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_project1ad302ad946d0
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_project1ad301289669a
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_project1ad307d92295
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project1ad307d92295
Clearing cache for project: test_project1ad303a2231aa
Objects to clear from memory: xxx
Project name: test_project1ad303a2231aa
Loading project configuration
Autoloading helper functions
Running helper 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_project1ad3033f86b9f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad3033f86b9f
Loading project configuration
Autoloading helper functions
Running helper 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_project1ad3036ec72e7
Project name: test_project1ad30218b2dee
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad30582caaf
Loading project configuration
Autoloading helper functions
Running helper 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_project1ad302a912fd8 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_project1ad302a912fd8 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_project21ad307b7d72b8 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 file1ad3020a23e16 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project1ad3070353d1 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_project1ad3070353d1 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_project1ad3070353d1 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_project1ad3070353d1 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_project1ad3070353d1 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_project1ad3070353d1 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_project1ad3070353d1 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_project1ad3065b854ca
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_project1ad30f5e374
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project1ad302949259f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad302949259f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1ad3064981e73
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad3064981e73
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1ad3070ed7031
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad3070ed7031
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1ad306ee33b84
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1ad305d2c72
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad305d2c72
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_project1ad301a585ddc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad301a585ddc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1ad3029354d3e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad3029354d3e
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_project1ad30ee18a3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad30ee18a3
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project1ad305f444553
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad305f444553
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1ad305e6a3563
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_project1ad305e0b6554
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad306bf62477
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1ad307b081260
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.11.0
Check: tests
Result: ERROR
Running 'run-all.R' [62s]
Running 'testthat.R' [65s]
Running the tests in 'tests/run-all.R' failed.
Complete output:
> library(testthat)
>
> test_check("ProjectTemplate")
Loading required package: ProjectTemplate
Loading required package: digest
Loading required package: tibble
Project name: test_project18c2477841ca3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project18c2470936290
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project18c2419bf2d12
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project18c2419bf2d12
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
dummy 999
Configuration for project: test_project18c2419bf2d12
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
Additional custom config present for this project:
Objects to clear from memory: config helper.function project.info
Project name: test_project18c246b472ac
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: foo.reader.R
Running helper script: helpers.R
Autoloading data
Loading data set: example
Creating cache entry from global environment: example
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Following objects not in memory:
Objects to clear from memory: xxxx
Project name: test_project18c245553170
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: helper.function project.info
Clearing cache for project: test_project18c245553170
Clearing cache for project: test_project18c2446217deb
Objects to clear from memory: xxx
Project name: test_project18c2446217deb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from CODE: xxxx
Objects to clear from memory: config project.info
Objects to clear from memory: project.info
Objects to clear from memory: yyy
Following objects not in memory: xxx
Following objects not in memory: xxx
Variables not cleared: config
No objects to clear
Objects to clear from memory: .yyy helper.function project.info
Project name: test_project18c247321710
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c247321710
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project18c243ef57d74
Project name: test_project18c2436536330
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c242e63583a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
Directory: test_project18c24f65efb is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project18c24f65efb is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project218c2464522089 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Objects to clear from memory: config helper.function project.info
No objects to clear
Objects to clear from memory: config file18c24273b5fcd helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project18c243ce23e5a is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run load.project()
Current Directory: test_project18c243ce23e5a is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run clear.cache() again.
Current Directory: test_project18c243ce23e5a is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run cache() again.
Current Directory: test_project18c243ce23e5a is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run reload.project() again.
Current Directory: test_project18c243ce23e5a is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run test.project() again.
Current Directory: test_project18c243ce23e5a is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run stub.tests() again.
Current Directory: test_project18c243ce23e5a is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run project.config()
Project name: test_project18c242c75187
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: Thumbs
Loading required namespace: RSQLite
Creating cache entry from global environment: var_to_cache
Loading required package: data.table
01-test_data.py start
01-test_data.py finish
02-test_data.py start
['1', '20']
['2', '30']
['3', '40']
Python data exists in the environment
y
02-test_data.py finish
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file contained unused entries which have been
removed. The unused entries are:
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] TRUE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Project name: test_project18c24110019e1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: .Random.seed config helper.function project.info
Project name: test_project18c24757ff70
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c24757ff70
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project18c2411d15f8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c2411d15f8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project18c246ff33543
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c246ff33543
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project18c24115c14b8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project18c246acc2f5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c246acc2f5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project18c241faf45d3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c241faf45d3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project18c24214761ef
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c24214761ef
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project18c24eed2b51
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c24eed2b51
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project18c24238a6ac1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c24238a6ac1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Loading required package: qs
qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
Creating cache entry from global environment: cache.qs
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Loading table: example_30a
Loading table: example_30b
Loading table: example_31a
Loading table: example_31b
Loading table: example_28
re-encoding from CP1252
re-encoding from CP1252
Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
Objects to clear from memory: config helper.function project.info
Items in cache will not be cleared
Use reload.project(reset=TRUE) to clear cache also
Objects to clear from memory: helper.function project.info z
Reloading Project ...
Project name: test_project18c243fa26ac5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading cached data set: z
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info x y z
Project name: test_project18c2462e35790
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c243eea721b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project18c244b9d622
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(ProjectTemplate)
Loading required package: digest
Loading required package: tibble
>
> test_check("ProjectTemplate")
Project name: test_project2f3ece0e3e36
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ec279d58f3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ec3d245066
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project2f3ec3d245066
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
dummy 999
Configuration for project: test_project2f3ec3d245066
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
Additional custom config present for this project:
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ec7a6dfe8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: foo.reader.R
Running helper script: helpers.R
Autoloading data
Loading data set: example
Creating cache entry from global environment: example
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Following objects not in memory:
Objects to clear from memory: xxxx
Project name: test_project2f3ec9547960
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: helper.function project.info
Clearing cache for project: test_project2f3ec9547960
Clearing cache for project: test_project2f3ec2598d21
Objects to clear from memory: xxx
Project name: test_project2f3ec2598d21
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from CODE: xxxx
Objects to clear from memory: config project.info
Objects to clear from memory: project.info
Objects to clear from memory: yyy
Following objects not in memory: xxx
Following objects not in memory: xxx
Variables not cleared: config
No objects to clear
Objects to clear from memory: .yyy helper.function project.info
Project name: test_project2f3ec372d74bf
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ec372d74bf
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project2f3ec35b7e98
Project name: test_project2f3ec3e886b4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ec2d2455
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
Directory: test_project2f3ec17031dff is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project2f3ec17031dff is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project22f3ec28b36403 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Objects to clear from memory: config helper.function project.info
No objects to clear
Objects to clear from memory: config file2f3ec39d6411a helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2f3ec40314e4d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run load.project()
Current Directory: test_project2f3ec40314e4d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run clear.cache() again.
Current Directory: test_project2f3ec40314e4d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run cache() again.
Current Directory: test_project2f3ec40314e4d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run reload.project() again.
Current Directory: test_project2f3ec40314e4d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run test.project() again.
Current Directory: test_project2f3ec40314e4d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run stub.tests() again.
Current Directory: test_project2f3ec40314e4d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run project.config()
Project name: test_project2f3ec2de0e62
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: Thumbs
Loading required namespace: RSQLite
Creating cache entry from global environment: var_to_cache
Loading required package: data.table
01-test_data.py start
01-test_data.py finish
02-test_data.py start
['1', '20']
['2', '30']
['3', '40']
Python data exists in the environment
y
02-test_data.py finish
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file contained unused entries which have been
removed. The unused entries are:
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] TRUE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Project name: test_project2f3ec2b5c24de
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: .Random.seed config helper.function project.info
Project name: test_project2f3ec21ef6ea6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ec21ef6ea6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ec38633691
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ec38633691
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ec1bae6cb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ec1bae6cb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ec11ca2dea
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ecd844ca4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ecd844ca4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ec701238cb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ec701238cb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ec74f328b8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ec74f328b8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ec27c22a0c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ec27c22a0c
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2f3ec3e165e70
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ec3e165e70
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Loading required package: qs
qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
Creating cache entry from global environment: cache.qs
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Loading table: example_30a
Loading table: example_30b
Loading table: example_31a
Loading table: example_31b
Loading table: example_28
re-encoding from CP1252
re-encoding from CP1252
Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
Objects to clear from memory: config helper.function project.info
Items in cache will not be cleared
Use reload.project(reset=TRUE) to clear cache also
Objects to clear from memory: helper.function project.info z
Reloading Project ...
Project name: test_project2f3ec28282efa
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading cached data set: z
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info x y z
Project name: test_project2f3ec212a591d
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ec3f727128
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2f3ecd631c02
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.