Last updated on 2025-08-03 08:49:18 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.59 | 59.92 | 63.51 | 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 | 4.95 | 81.14 | 86.09 | ERROR | |
r-release-macos-arm64 | 0.11.0 | 79.00 | OK | |||
r-release-macos-x86_64 | 0.11.0 | 139.00 | OK | |||
r-release-windows-x86_64 | 0.11.0 | 7.00 | 179.00 | 186.00 | ERROR | |
r-oldrel-macos-arm64 | 0.11.0 | 79.00 | OK | |||
r-oldrel-macos-x86_64 | 0.11.0 | 168.00 | OK | |||
r-oldrel-windows-x86_64 | 0.11.0 | 9.00 | 203.00 | 212.00 | ERROR |
Version: 0.11.0
Check: tests
Result: ERROR
Running ‘run-all.R’ [20s/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/33s]
Running ‘testthat.R’ [14s/33s]
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_project329d765874ecc7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project329d76341d2f5d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project329d7610e5194c
Loading project configuration
Autoloading helper functions
Running helper 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_project329d7610e5194c
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_project329d7610e5194c
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_project329d763cae5724
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_project329d766d5fe676
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project329d766d5fe676
Clearing cache for project: test_project329d763029665a
Objects to clear from memory: xxx
Project name: test_project329d763029665a
Loading project configuration
Autoloading helper functions
Running helper 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_project329d76ebd7f57
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d76ebd7f57
Loading project configuration
Autoloading helper functions
Running helper 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_project329d76434658c5
Project name: test_project329d767c80b668
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d765ae83a8f
Loading project configuration
Autoloading helper functions
Running helper 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_project329d7646b0ddfd 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_project329d7646b0ddfd 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_project2329d76435af269 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 file329d7676870a4f helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project329d7652803320 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project329d7652803320 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project329d7652803320 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project329d7652803320 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project329d7652803320 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project329d7652803320 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project329d7652803320 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project329d7653bd4fda
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_project329d767b784d3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project329d762ad261bb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d762ad261bb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project329d766b7b48e7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d766b7b48e7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project329d7628bca4f4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d7628bca4f4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project329d762049ecfe
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project329d7659893795
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d7659893795
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_project329d7622d88dc8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d7622d88dc8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project329d762a5def80
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d762a5def80
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_project329d76475144a4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d76475144a4
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project329d7613e29075
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d7613e29075
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project329d762b9a0e58
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_project329d76d156e45
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d764a60d97a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project329d761ffd3621
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_project3334755ad65890
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3334756dc15d9f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project33347550a6b226
Loading project configuration
Autoloading helper functions
Running helper 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_project33347550a6b226
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_project33347550a6b226
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_project33347527419ccc
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_project333475e5e9838
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project333475e5e9838
Clearing cache for project: test_project33347577b1519f
Objects to clear from memory: xxx
Project name: test_project33347577b1519f
Loading project configuration
Autoloading helper functions
Running helper 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_project333475638be23a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project333475638be23a
Loading project configuration
Autoloading helper functions
Running helper 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_project3334754d66d611
Project name: test_project3334752f4dde9a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project33347555e248be
Loading project configuration
Autoloading helper functions
Running helper 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_project333475549edf4e 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_project333475549edf4e 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_project2333475249db221 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 file333475236d9fba helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project33347536ee95c6 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project33347536ee95c6 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project33347536ee95c6 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project33347536ee95c6 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project33347536ee95c6 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project33347536ee95c6 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project33347536ee95c6 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project33347590b8c14
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_project33347569b8a0ea
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3334755526744d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3334755526744d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project333475120d9946
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project333475120d9946
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3334754b65da27
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3334754b65da27
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project33347574d28cd8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3334751efe9350
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3334751efe9350
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_project3334751f89f898
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3334751f89f898
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3334755b7572fc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3334755b7572fc
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_project3334753387f981
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3334753387f981
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project33347557858f91
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project33347557858f91
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3334751ac91cca
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_project3334756f09ffbb
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project333475fa2c4c1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project333475692fbcb9
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’ [19s/49s]
Running ‘testthat.R’ [20s/42s]
Running the tests in ‘tests/run-all.R’ failed.
Complete output:
> library(testthat)
>
> test_check("ProjectTemplate")
Loading required package: ProjectTemplate
Loading required package: digest
Loading required package: tibble
Project name: test_project1150bc41e63228
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bc2cffd158
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bc6af65a83
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project1150bc6af65a83
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
dummy 999
Configuration for project: test_project1150bc6af65a83
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
Additional custom config present for this project:
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bc26541348
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: foo.reader.R
Running helper script: helpers.R
Autoloading data
Loading data set: example
Creating cache entry from global environment: example
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Following objects not in memory:
Objects to clear from memory: xxxx
Project name: test_project1150bc2eafc8a2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: helper.function project.info
Clearing cache for project: test_project1150bc2eafc8a2
Clearing cache for project: test_project1150bc7a080b0b
Objects to clear from memory: xxx
Project name: test_project1150bc7a080b0b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from CODE: xxxx
Objects to clear from memory: config project.info
Objects to clear from memory: project.info
Objects to clear from memory: yyy
Following objects not in memory: xxx
Following objects not in memory: xxx
Variables not cleared: config
No objects to clear
Objects to clear from memory: .yyy helper.function project.info
Project name: test_project1150bc47ec44e0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc47ec44e0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project1150bc6ea39d5e
Project name: test_project1150bc295fae00
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc76114f64
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
Current Directory: test_project1150bc4d4316a7 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project1150bc4d4316a7 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project21150bc295e6518 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Objects to clear from memory: config helper.function project.info
No objects to clear
Objects to clear from memory: config file1150bc3f7846a7 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project1150bc23b4979d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run load.project()
Current Directory: test_project1150bc23b4979d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run clear.cache() again.
Current Directory: test_project1150bc23b4979d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run cache() again.
Current Directory: test_project1150bc23b4979d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run reload.project() again.
Current Directory: test_project1150bc23b4979d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run test.project() again.
Current Directory: test_project1150bc23b4979d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run stub.tests() again.
Current Directory: test_project1150bc23b4979d is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run project.config()
Project name: test_project1150bc40f06276
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: Thumbs
Loading required namespace: RSQLite
Creating cache entry from global environment: var_to_cache
Loading required package: data.table
01-test_data.py start
01-test_data.py finish
02-test_data.py start
['1', '20']
['2', '30']
['3', '40']
Python data exists in the environment
y
02-test_data.py finish
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file contained unused entries which have been
removed. The unused entries are:
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] TRUE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Project name: test_project1150bc219b9679
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: .Random.seed config helper.function project.info
Project name: test_project1150bc51ef6874
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc51ef6874
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bc902e5b8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc902e5b8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bc1885336
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc1885336
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bc2fc593d2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bccb9baee
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bccb9baee
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bc57b78514
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc57b78514
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bc6a9d7ede
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc6a9d7ede
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bc2420f212
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc2420f212
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project1150bc4c6a6605
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc4c6a6605
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Loading required package: qs
qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
Creating cache entry from global environment: cache.qs
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Loading table: example_30a
Loading table: example_30b
Loading table: example_31a
Loading table: example_31b
Loading table: example_28
re-encoding from CP1252
re-encoding from CP1252
Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
Objects to clear from memory: config helper.function project.info
Items in cache will not be cleared
Use reload.project(reset=TRUE) to clear cache also
Objects to clear from memory: helper.function project.info z
Reloading Project ...
Project name: test_project1150bc3a50b13d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading cached data set: z
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info x y z
Project name: test_project1150bc1b179292
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc1f41f1cc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1150bc8f2f5a6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(ProjectTemplate)
Loading required package: digest
Loading required package: tibble
>
> test_check("ProjectTemplate")
Project name: test_project119c7b50360e69
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7b254c16d8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7b2c30b2af
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project119c7b2c30b2af
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
dummy 999
Configuration for project: test_project119c7b2c30b2af
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
Additional custom config present for this project:
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7b13a09056
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: foo.reader.R
Running helper script: helpers.R
Autoloading data
Loading data set: example
Creating cache entry from global environment: example
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Following objects not in memory:
Objects to clear from memory: xxxx
Project name: test_project119c7b11881d13
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: helper.function project.info
Clearing cache for project: test_project119c7b11881d13
Clearing cache for project: test_project119c7b61acf26e
Objects to clear from memory: xxx
Project name: test_project119c7b61acf26e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from CODE: xxxx
Objects to clear from memory: config project.info
Objects to clear from memory: project.info
Objects to clear from memory: yyy
Following objects not in memory: xxx
Following objects not in memory: xxx
Variables not cleared: config
No objects to clear
Objects to clear from memory: .yyy helper.function project.info
Project name: test_project119c7b20df5c4c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7b20df5c4c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project119c7b29549f3e
Project name: test_project119c7b586980d5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7b792321a9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
Current Directory: test_project119c7b697870f2 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project119c7b697870f2 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project2119c7b3b78e42e is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Objects to clear from memory: config helper.function project.info
No objects to clear
Objects to clear from memory: config file119c7b3ccc7995 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project119c7b59716304 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run load.project()
Current Directory: test_project119c7b59716304 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run clear.cache() again.
Current Directory: test_project119c7b59716304 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run cache() again.
Current Directory: test_project119c7b59716304 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run reload.project() again.
Current Directory: test_project119c7b59716304 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run test.project() again.
Current Directory: test_project119c7b59716304 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run stub.tests() again.
Current Directory: test_project119c7b59716304 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run project.config()
Project name: test_project119c7b1429557a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: Thumbs
Loading required namespace: RSQLite
Creating cache entry from global environment: var_to_cache
Loading required package: data.table
01-test_data.py start
01-test_data.py finish
02-test_data.py start
['1', '20']
['2', '30']
['3', '40']
Python data exists in the environment
y
02-test_data.py finish
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file contained unused entries which have been
removed. The unused entries are:
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] TRUE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Project name: test_project119c7bbbd5cb0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: .Random.seed config helper.function project.info
Project name: test_project119c7b5860716
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7b5860716
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7b3c1bb3b0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7b3c1bb3b0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7b5fb98604
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7b5fb98604
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7b54615f57
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7b4a5ce2c9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7b4a5ce2c9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7bd8c719c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7bd8c719c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7b2196b01e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7b2196b01e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7b79ec8705
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7b79ec8705
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project119c7b511709cc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7b511709cc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Loading required package: qs
qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
Creating cache entry from global environment: cache.qs
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Loading table: example_30a
Loading table: example_30b
Loading table: example_31a
Loading table: example_31b
Loading table: example_28
re-encoding from CP1252
re-encoding from CP1252
Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
Objects to clear from memory: config helper.function project.info
Items in cache will not be cleared
Use reload.project(reset=TRUE) to clear cache also
Objects to clear from memory: helper.function project.info z
Reloading Project ...
Project name: test_project119c7b73b9686e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading cached data set: z
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info x y z
Project name: test_project119c7b48fd951f
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7bacd0825
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project119c7b5a531e53
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.11.0
Check: tests
Result: ERROR
Running 'run-all.R' [55s]
Running 'testthat.R' [55s]
Running the tests in 'tests/run-all.R' failed.
Complete output:
> library(testthat)
>
> test_check("ProjectTemplate")
Loading required package: ProjectTemplate
Loading required package: digest
Loading required package: tibble
Project name: test_project16b0810282716
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project16b088cb66a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project16b0856037a6b
Loading project configuration
Autoloading helper functions
Running helper 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_project16b0856037a6b
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_project16b0856037a6b
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_project16b0862984c2
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_project16b086b1255f5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project16b086b1255f5
Clearing cache for project: test_project16b082b3b4ee6
Objects to clear from memory: xxx
Project name: test_project16b082b3b4ee6
Loading project configuration
Autoloading helper functions
Running helper 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_project16b08561b498d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b08561b498d
Loading project configuration
Autoloading helper functions
Running helper 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_project16b084a73b47
Project name: test_project16b08aee5132
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b08145471b1
Loading project configuration
Autoloading helper functions
Running helper 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_project16b0875e76397 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_project16b0875e76397 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_project216b0863807492 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 file16b087dc644b4 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project16b0826bd8a9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project16b0826bd8a9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project16b0826bd8a9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project16b0826bd8a9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project16b0826bd8a9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project16b0826bd8a9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project16b0826bd8a9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project16b085e776cc5
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_project16b082af148a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project16b0854aac17
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b0854aac17
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project16b0871e974c8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b0871e974c8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project16b087d1a72c2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b087d1a72c2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project16b08644e6b26
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project16b0813a94fb4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b0813a94fb4
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_project16b0872e953a9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b0872e953a9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project16b0828a5e35
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b0828a5e35
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_project16b085b7d3235
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b085b7d3235
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project16b08594f70cf
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b08594f70cf
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project16b0847ad4cc8
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_project16b0849c533f
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b087c1e9a6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project16b0841b714d5
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_project25ac475a8613
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project25ac4412314f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project25ac47c0c5bf6
Loading project configuration
Autoloading helper functions
Running helper 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_project25ac47c0c5bf6
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_project25ac47c0c5bf6
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_project25ac41af37acf
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_project25ac4102c1696
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project25ac4102c1696
Clearing cache for project: test_project25ac447914b8a
Objects to clear from memory: xxx
Project name: test_project25ac447914b8a
Loading project configuration
Autoloading helper functions
Running helper 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_project25ac461d5786
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac461d5786
Loading project configuration
Autoloading helper functions
Running helper 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_project25ac44e727be7
Project name: test_project25ac460e713cb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac43987271d
Loading project configuration
Autoloading helper functions
Running helper 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_project25ac444a5d30 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_project25ac444a5d30 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_project225ac45ce01bb2 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 file25ac45fe939fa helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project25ac4138e3122 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project25ac4138e3122 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project25ac4138e3122 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project25ac4138e3122 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project25ac4138e3122 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project25ac4138e3122 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project25ac4138e3122 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project25ac45af23fa4
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_project25ac4288c46b0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project25ac428c4166f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac428c4166f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project25ac47af04e9b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac47af04e9b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project25ac46506463
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac46506463
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project25ac431151864
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project25ac417bf2c63
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac417bf2c63
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_project25ac43a12097
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac43a12097
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project25ac45eb75741
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac45eb75741
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_project25ac45fd94aba
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac45fd94aba
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project25ac44c7d662a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac44c7d662a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project25ac447e1403
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_project25ac46c853c1c
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac41d7748e3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project25ac457301b35
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' [61s]
Running 'testthat.R' [62s]
Running the tests in 'tests/run-all.R' failed.
Complete output:
> library(testthat)
>
> test_check("ProjectTemplate")
Loading required package: ProjectTemplate
Loading required package: digest
Loading required package: tibble
Project name: test_project317f447d430a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project317f4694a403d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project317f47d691546
Loading project configuration
Autoloading helper functions
Running helper 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_project317f47d691546
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_project317f47d691546
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_project317f45a6f7245
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_project317f464f16640
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project317f464f16640
Clearing cache for project: test_project317f44875563e
Objects to clear from memory: xxx
Project name: test_project317f44875563e
Loading project configuration
Autoloading helper functions
Running helper 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_project317f4631e109d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f4631e109d
Loading project configuration
Autoloading helper functions
Running helper 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_project317f468f5bfd
Project name: test_project317f469445806
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f41c3f7e45
Loading project configuration
Autoloading helper functions
Running helper 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_project317f45ab14a01 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_project317f45ab14a01 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_project2317f428d41075 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 file317f4763c3736 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project317f457d6561e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project317f457d6561e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project317f457d6561e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project317f457d6561e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project317f457d6561e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project317f457d6561e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project317f457d6561e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project317f494448ff
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_project317f45dc0454c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project317f42a757a41
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f42a757a41
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project317f46fa868c9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f46fa868c9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project317f46e2d598f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f46e2d598f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project317f463094a99
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project317f475c7e78
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f475c7e78
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_project317f4b1656fc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f4b1656fc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project317f46513cbe
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f46513cbe
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_project317f48986f4b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f48986f4b
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project317f443bc916
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f443bc916
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project317f464f32648
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_project317f42e0c4fca
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f4598a639e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project317f4e601101
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_projectfed02910704f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectfed079c34cfd
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectfed0422243e2
Loading project configuration
Autoloading helper functions
Running helper 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_projectfed0422243e2
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_projectfed0422243e2
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_projectfed0386f5204
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_projectfed01e31786d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_projectfed01e31786d
Clearing cache for project: test_projectfed0599a76a
Objects to clear from memory: xxx
Project name: test_projectfed0599a76a
Loading project configuration
Autoloading helper functions
Running helper 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_projectfed06a283e0e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed06a283e0e
Loading project configuration
Autoloading helper functions
Running helper 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_projectfed03277c07
Project name: test_projectfed023f433a7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed0308a53
Loading project configuration
Autoloading helper functions
Running helper 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_projectfed01852713e 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_projectfed01852713e 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_project2fed05b546c68 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 filefed0575813d3 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_projectfed06e695d67 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_projectfed06e695d67 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectfed06e695d67 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectfed06e695d67 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectfed06e695d67 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectfed06e695d67 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectfed06e695d67 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_projectfed01bfa575e
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_projectfed068016450
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_projectfed010d9765d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed010d9765d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectfed01a0d327b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed01a0d327b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectfed07ddf4c45
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed07ddf4c45
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectfed026095db8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectfed0eac3b01
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed0eac3b01
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_projectfed028b0102e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed028b0102e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectfed022684a3d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed022684a3d
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_projectfed0aa35871
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed0aa35871
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_projectfed03aea6d1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed03aea6d1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_projectfed0313cdb1
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_projectfed073727b00
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed012ac13b2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectfed038261ad4
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