Last updated on 2025-08-21 15:50:30 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.11.0 | 5.68 | 86.15 | 91.83 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.11.0 | 4.13 | 60.96 | 65.09 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.11.0 | 154.19 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.11.0 | 150.67 | ERROR | |||
r-devel-windows-x86_64 | 0.11.0 | 8.00 | 177.00 | 185.00 | ERROR | |
r-patched-linux-x86_64 | 0.11.0 | 6.44 | 80.89 | 87.33 | ERROR | |
r-release-linux-x86_64 | 0.11.0 | 4.88 | 80.32 | 85.20 | 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 | 9.00 | 179.00 | 188.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/47s]
Running ‘testthat.R’ [20s/44s]
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_projectd9e495785265b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectd9e493bae449d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectd9e4910d96738
Loading project configuration
Autoloading helper functions
Running helper 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_projectd9e4910d96738
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_projectd9e4910d96738
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_projectd9e491b03488b
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_projectd9e4958b3e8bb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_projectd9e4958b3e8bb
Clearing cache for project: test_projectd9e4939ab1771
Objects to clear from memory: xxx
Project name: test_projectd9e4939ab1771
Loading project configuration
Autoloading helper functions
Running helper 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_projectd9e494e99311
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e494e99311
Loading project configuration
Autoloading helper functions
Running helper 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_projectd9e495c648c79
Project name: test_projectd9e4950b6cc70
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e49e0416b7
Loading project configuration
Autoloading helper functions
Running helper 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_projectd9e4984ea4ee 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_projectd9e4984ea4ee 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_project2d9e4930527275 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 filed9e497b1f5023 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_projectd9e4936fe5745 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_projectd9e4936fe5745 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectd9e4936fe5745 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectd9e4936fe5745 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectd9e4936fe5745 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectd9e4936fe5745 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectd9e4936fe5745 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_projectd9e491fa3da16
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_projectd9e4914c78538
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_projectd9e496da7e8ca
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e496da7e8ca
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectd9e49584367ce
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e49584367ce
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectd9e491482f359
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e491482f359
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectd9e495ea5383
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectd9e49ef5ecd1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e49ef5ecd1
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_projectd9e492e4d6d29
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e492e4d6d29
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectd9e499da5d0d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e499da5d0d
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_projectd9e49165d018b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e49165d018b
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_projectd9e493febe99e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e493febe99e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_projectd9e495679a7ad
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_projectd9e495b0e3c5b
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e496b3ea0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectd9e49143325fd
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_projectde23414d71cda
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectde23469b0451a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectde2341a11e5d8
Loading project configuration
Autoloading helper functions
Running helper 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_projectde2341a11e5d8
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_projectde2341a11e5d8
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_projectde2342cbd88f4
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_projectde23422754658
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_projectde23422754658
Clearing cache for project: test_projectde2345d18395a
Objects to clear from memory: xxx
Project name: test_projectde2345d18395a
Loading project configuration
Autoloading helper functions
Running helper 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_projectde23472edbd8e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde23472edbd8e
Loading project configuration
Autoloading helper functions
Running helper 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_projectde2343924efd1
Project name: test_projectde23416b55edd
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde2347d33406c
Loading project configuration
Autoloading helper functions
Running helper 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_projectde23467d998a4 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_projectde23467d998a4 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_project2de23473679a8f 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 filede234697e9e3a helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_projectde234767c4300 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_projectde234767c4300 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectde234767c4300 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectde234767c4300 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectde234767c4300 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectde234767c4300 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectde234767c4300 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_projectde2345302c9a1
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_projectde23459066479
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_projectde2346bd95a11
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde2346bd95a11
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectde234352b875b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde234352b875b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectde2347aeb103d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde2347aeb103d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectde2346cbfba18
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectde2343fd17700
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde2343fd17700
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_projectde23469d54584
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde23469d54584
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectde2342fa4dc57
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde2342fa4dc57
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_projectde2347869942a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde2347869942a
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_projectde2345b4e7269
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde2345b4e7269
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_projectde234459db2e6
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_projectde2343b019004
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde2344a5b5848
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectde23467b871ad
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/31s]
Running ‘testthat.R’ [13s/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_project2427097d7c3756
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project24270933444b0f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project24270919c90176
Loading project configuration
Autoloading helper functions
Running helper 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_project24270919c90176
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_project24270919c90176
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_project242709474f4eb4
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_project24270958c1d96f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project24270958c1d96f
Clearing cache for project: test_project24270937f9b32d
Objects to clear from memory: xxx
Project name: test_project24270937f9b32d
Loading project configuration
Autoloading helper functions
Running helper 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_project2427094542d65d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2427094542d65d
Loading project configuration
Autoloading helper functions
Running helper 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_project2427097de444f3
Project name: test_project2427096e225c6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2427092c62d730
Loading project configuration
Autoloading helper functions
Running helper 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_project2427094a2a21af 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_project2427094a2a21af 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_project22427096bb5509c 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 file242709f627fb5 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2427093cbc843 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project2427093cbc843 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2427093cbc843 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2427093cbc843 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2427093cbc843 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2427093cbc843 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2427093cbc843 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project24270913fbf491
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_project2427091d385b04
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project242709c313343
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project242709c313343
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2427092f07983a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2427092f07983a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project242709795243a6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project242709795243a6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project242709644a1acb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project24270958d5d453
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24270958d5d453
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_project24270926d3eaf4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24270926d3eaf4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project24270934c9901f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24270934c9901f
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_project24270965ea127d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24270965ea127d
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2427096a57101b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2427096a57101b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2427091c9e3e6b
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_project242709229f9d8
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2427096987cc7a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2427093c04d4ca
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_project24b43d33b2fc84
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project24b43d4062a56e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project24b43d3fa3da91
Loading project configuration
Autoloading helper functions
Running helper 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_project24b43d3fa3da91
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_project24b43d3fa3da91
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_project24b43d3382bc30
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_project24b43d10b87feb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project24b43d10b87feb
Clearing cache for project: test_project24b43d3da329b9
Objects to clear from memory: xxx
Project name: test_project24b43d3da329b9
Loading project configuration
Autoloading helper functions
Running helper 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_project24b43d3d009be8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d3d009be8
Loading project configuration
Autoloading helper functions
Running helper 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_project24b43d5741c059
Project name: test_project24b43d42a63ff3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d670f7b57
Loading project configuration
Autoloading helper functions
Running helper 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_project24b43d51912a0f 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_project24b43d51912a0f 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_project224b43d3c88f6ad 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 file24b43d5ad4f58e helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project24b43d63cf7cfb is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project24b43d63cf7cfb is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project24b43d63cf7cfb is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project24b43d63cf7cfb is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project24b43d63cf7cfb is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project24b43d63cf7cfb is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project24b43d63cf7cfb is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project24b43d5091f570
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_project24b43d72818d01
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project24b43d7fcaf740
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d7fcaf740
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project24b43d45fccafa
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d45fccafa
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project24b43d7a4a4772
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d7a4a4772
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project24b43d4cd25874
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project24b43d3dfce44
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d3dfce44
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_project24b43d3186a8bc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d3186a8bc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project24b43d2f78b9bf
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d2f78b9bf
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_project24b43d402e6454
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d402e6454
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project24b43d7bcadfd1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d7bcadfd1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project24b43d2922fdd2
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_project24b43d254f0a1d
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d187a7251
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project24b43d6d52965a
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’ [35s/95s]
Running ‘testthat.R’ [35s/93s]
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_project20f939510623d4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project20f9396ac169a3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project20f9397ca124b6
Loading project configuration
Autoloading helper functions
Running helper 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_project20f9397ca124b6
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_project20f9397ca124b6
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_project20f939219a74d
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_project20f9391f2ebed5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project20f9391f2ebed5
Clearing cache for project: test_project20f9393a4755fa
Objects to clear from memory: xxx
Project name: test_project20f9393a4755fa
Loading project configuration
Autoloading helper functions
Running helper 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_project20f939430194
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f939430194
Loading project configuration
Autoloading helper functions
Running helper 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_project20f9393114ecb3
Project name: test_project20f9394b2a0ff1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f939115e2d59
Loading project configuration
Autoloading helper functions
Running helper 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_project20f9396ec9ca56 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_project20f9396ec9ca56 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_project220f939600cf9f7 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 file20f9394b6aecec helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project20f93936bb79b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project20f93936bb79b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project20f93936bb79b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project20f93936bb79b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project20f93936bb79b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project20f93936bb79b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project20f93936bb79b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project20f9392c6b78a5
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_project20f939318acd5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project20f93963c73e71
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f93963c73e71
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project20f9392f5e3a0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f9392f5e3a0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project20f939156a4165
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f939156a4165
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project20f93925cf041c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project20f9396f4e527f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f9396f4e527f
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_project20f93951edbcde
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f93951edbcde
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project20f9396a9052bc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f9396a9052bc
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_project20f9395e8fc205
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f9395e8fc205
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project20f939280b8e5b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f939280b8e5b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project20f9399c6796f
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_project20f9392adf53ca
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f939d6f3233
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project20f9391813d234
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_project2144c819ba930a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2144c87e9760ec
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2144c86cd8a070
Loading project configuration
Autoloading helper functions
Running helper 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_project2144c86cd8a070
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_project2144c86cd8a070
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_project2144c865cac151
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_project2144c82f0cba7a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project2144c82f0cba7a
Clearing cache for project: test_project2144c84a95847c
Objects to clear from memory: xxx
Project name: test_project2144c84a95847c
Loading project configuration
Autoloading helper functions
Running helper 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_project2144c875677eec
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c875677eec
Loading project configuration
Autoloading helper functions
Running helper 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_project2144c87d1fd092
Project name: test_project2144c830e00318
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c84d319632
Loading project configuration
Autoloading helper functions
Running helper 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_project2144c813ad6db6 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_project2144c813ad6db6 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_project22144c8a42599b 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 file2144c812a03e75 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2144c86984720e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project2144c86984720e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2144c86984720e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2144c86984720e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2144c86984720e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2144c86984720e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2144c86984720e is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project2144c8659cb8f9
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_project2144c87b38a209
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project2144c86148a227
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c86148a227
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2144c8251e8ad4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c8251e8ad4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2144c870d404e2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c870d404e2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2144c81ba9253
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2144c8431fca66
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c8431fca66
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_project2144c855ad06a0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c855ad06a0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2144c81c866b61
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c81c866b61
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_project2144c832eff084
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c832eff084
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2144c813bc460c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c813bc460c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2144c841c9ba24
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_project2144c831e320cc
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c8333ef066
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2144c83278c6fc
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/202s]
Running ‘testthat.R’ [34s/198s]
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_project3747736abf49b9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3747733811691a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project37477363c5fa8e
Loading project configuration
Autoloading helper functions
Running helper 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_project37477363c5fa8e
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_project37477363c5fa8e
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_project37477348b1f007
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_project374773b0785a4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project374773b0785a4
Clearing cache for project: test_project3747734f3e87b0
Objects to clear from memory: xxx
Project name: test_project3747734f3e87b0
Loading project configuration
Autoloading helper functions
Running helper 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_project37477379bc4cf4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project37477379bc4cf4
Loading project configuration
Autoloading helper functions
Running helper 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_project37477364e0fe0b
Project name: test_project374773765ce45c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3747738964c74
Loading project configuration
Autoloading helper functions
Running helper 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_project3747731d0772c5 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_project3747731d0772c5 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_project23747737a1968c 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 file374773733ae87e helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project374773578af68f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project374773578af68f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project374773578af68f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project374773578af68f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project374773578af68f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project374773578af68f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project374773578af68f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project3747734a32d0f3
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_project374773599b2629
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3747734068cf36
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3747734068cf36
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project374773e600e87
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project374773e600e87
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3747737a8d06d3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3747737a8d06d3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3747737bf61a77
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project37477321035abb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project37477321035abb
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_project37477335f1aff7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project37477335f1aff7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project37477334debc10
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project37477334debc10
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_project374773e9a7571
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project374773e9a7571
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project3747732330ce68
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3747732330ce68
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project37477376c0ac69
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_project37477357cda801
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project374773602ddb3e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3747736663e510
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_project379c5e56673f1c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project379c5e3213cc2f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project379c5e31dec490
Loading project configuration
Autoloading helper functions
Running helper 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_project379c5e31dec490
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_project379c5e31dec490
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_project379c5e44e2db0a
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_project379c5e7b15cbb5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project379c5e7b15cbb5
Clearing cache for project: test_project379c5e3f300c8e
Objects to clear from memory: xxx
Project name: test_project379c5e3f300c8e
Loading project configuration
Autoloading helper functions
Running helper 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_project379c5e5dd6a6e7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5e5dd6a6e7
Loading project configuration
Autoloading helper functions
Running helper 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_project379c5e1515913e
Project name: test_project379c5e35396e5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5e42e70867
Loading project configuration
Autoloading helper functions
Running helper 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_project379c5e7259a9b3 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_project379c5e7259a9b3 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_project2379c5e3f03fda6 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 file379c5e7d33ed08 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project379c5e7e9b0b49 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project379c5e7e9b0b49 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project379c5e7e9b0b49 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project379c5e7e9b0b49 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project379c5e7e9b0b49 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project379c5e7e9b0b49 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project379c5e7e9b0b49 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project379c5e6c0b3639
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_project379c5e1a8a74be
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project379c5e25a7ec43
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5e25a7ec43
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project379c5e60ccaff0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5e60ccaff0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project379c5e7a450392
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5e7a450392
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project379c5e2265b6e7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project379c5e6f1e683f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5e6f1e683f
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_project379c5e2de48786
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5e2de48786
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project379c5e272bddf9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5e272bddf9
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_project379c5e4b7e157c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5e4b7e157c
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project379c5e7e7f5f53
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5e7e7f5f53
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project379c5e2959dad8
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_project379c5e27486f0c
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5ee883d4a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project379c5e6c6dd338
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_projectb634151d6f8f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectb63453091bc3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectb63424a03448
Loading project configuration
Autoloading helper functions
Running helper 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_projectb63424a03448
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_projectb63424a03448
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_projectb6341b182cd4
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_projectb63441443165
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_projectb63441443165
Clearing cache for project: test_projectb6344d5d27f2
Objects to clear from memory: xxx
Project name: test_projectb6344d5d27f2
Loading project configuration
Autoloading helper functions
Running helper 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_projectb634d5d2171
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb634d5d2171
Loading project configuration
Autoloading helper functions
Running helper 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_projectb6344e747e52
Project name: test_projectb634749664f7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb63446686d64
Loading project configuration
Autoloading helper functions
Running helper 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_projectb63476a83bd2 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_projectb63476a83bd2 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_project2b634108b157d 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 fileb63464bd6950 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_projectb634153226e2 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_projectb634153226e2 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectb634153226e2 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectb634153226e2 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectb634153226e2 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectb634153226e2 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_projectb634153226e2 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_projectb6343835430f
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_projectb63479831dab
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_projectb634104432fc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb634104432fc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectb634355077e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb634355077e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectb63462913b88
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb63462913b88
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectb63450e7260f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectb634385b309a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb634385b309a
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_projectb6343a567396
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb6343a567396
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectb634550b5fb0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb634550b5fb0
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_projectb6343872444
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb6343872444
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_projectb6341eb02ee4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb6341eb02ee4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_projectb63423654bb4
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_projectb63412214c59
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb6341355b34
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectb63417b24488
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_project187f810d56be3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project187f876c92d40
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project187f811e1202a
Loading project configuration
Autoloading helper functions
Running helper 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_project187f811e1202a
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_project187f811e1202a
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_project187f824ebe79
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_project187f86c1740de
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project187f86c1740de
Clearing cache for project: test_project187f832b382d
Objects to clear from memory: xxx
Project name: test_project187f832b382d
Loading project configuration
Autoloading helper functions
Running helper 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_project187f8724f33c1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f8724f33c1
Loading project configuration
Autoloading helper functions
Running helper 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_project187f8486c6d0a
Project name: test_project187f83b463568
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f865141668
Loading project configuration
Autoloading helper functions
Running helper 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_project187f83f036783 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_project187f83f036783 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_project2187f844636d35 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 file187f87a1824ef helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project187f883b1cb3 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project187f883b1cb3 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project187f883b1cb3 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project187f883b1cb3 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project187f883b1cb3 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project187f883b1cb3 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project187f883b1cb3 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project187f8636869c7
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_project187f85a577ee9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project187f82b9647ac
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f82b9647ac
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project187f854f6c69
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f854f6c69
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project187f83f364f02
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f83f364f02
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project187f85e2771e5
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project187f81d2a4b20
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f81d2a4b20
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_project187f83006719c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f83006719c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project187f8d702415
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f8d702415
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_project187f87eda37e1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f87eda37e1
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project187f82b963717
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f82b963717
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project187f84aee32c6
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_project187f8158242cd
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f81be674c8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project187f813e376c0
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’ [20s/49s]
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_project22d5d9245849d9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project22d5d973052feb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project22d5d930bdadf
Loading project configuration
Autoloading helper functions
Running helper 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_project22d5d930bdadf
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_project22d5d930bdadf
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_project22d5d97d14223b
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_project22d5d929d7d6b7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project22d5d929d7d6b7
Clearing cache for project: test_project22d5d950ccdeb3
Objects to clear from memory: xxx
Project name: test_project22d5d950ccdeb3
Loading project configuration
Autoloading helper functions
Running helper 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_project22d5d939e5e70b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d939e5e70b
Loading project configuration
Autoloading helper functions
Running helper 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_project22d5d944dcd28a
Project name: test_project22d5d947055d15
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d963198148
Loading project configuration
Autoloading helper functions
Running helper 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_project22d5d92befb468 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_project22d5d92befb468 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_project222d5d932b17ef4 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 file22d5d92edb6694 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project22d5d94a8c98b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project22d5d94a8c98b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project22d5d94a8c98b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project22d5d94a8c98b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project22d5d94a8c98b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project22d5d94a8c98b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project22d5d94a8c98b9 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project22d5d9291b59da
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_project22d5d916a3885f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project22d5d9feea78d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d9feea78d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project22d5d922b1b6a4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d922b1b6a4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project22d5d94fa68365
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d94fa68365
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project22d5d9738ffddf
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project22d5d945fad884
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d945fad884
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_project22d5d96105fef0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d96105fef0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project22d5d9546b707a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d9546b707a
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_project22d5d91d37b608
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d91d37b608
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project22d5d94073c83c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d94073c83c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project22d5d96c96495b
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_project22d5d92558b2ce
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d91507ec99
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project22d5d966fc9cef
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_project2326e6761bcc3a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2326e62d61c80b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2326e6719cc20
Loading project configuration
Autoloading helper functions
Running helper 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_project2326e6719cc20
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_project2326e6719cc20
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_project2326e67542596e
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_project2326e61db4c27b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project2326e61db4c27b
Clearing cache for project: test_project2326e66fb6a84f
Objects to clear from memory: xxx
Project name: test_project2326e66fb6a84f
Loading project configuration
Autoloading helper functions
Running helper 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_project2326e65739d068
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e65739d068
Loading project configuration
Autoloading helper functions
Running helper 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_project2326e6702da24
Project name: test_project2326e64136c1c6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e671a49f87
Loading project configuration
Autoloading helper functions
Running helper 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_project2326e622a05b24 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_project2326e622a05b24 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_project22326e6756bc1ef 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 file2326e63845e08a helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2326e6788deb89 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project2326e6788deb89 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2326e6788deb89 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2326e6788deb89 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2326e6788deb89 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2326e6788deb89 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project2326e6788deb89 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project2326e659f6796c
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_project2326e6226f1978
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project2326e612b52109
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e612b52109
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2326e617c2842
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e617c2842
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2326e65e02e78b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e65e02e78b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2326e668adbe53
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2326e61e668bb6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e61e668bb6
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_project2326e6289c0008
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e6289c0008
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2326e63608e6cb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e63608e6cb
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_project2326e65d8927d0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e65d8927d0
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2326e621f2380d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e621f2380d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project2326e65f78c8
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_project2326e6691486b1
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e678574929
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2326e6700f1d8e
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’ [20s/53s]
Running ‘testthat.R’ [19s/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_project39652975c5de53
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3965295dc60519
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project39652967b159e0
Loading project configuration
Autoloading helper functions
Running helper 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_project39652967b159e0
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_project39652967b159e0
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_project3965294fbcf821
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_project3965292639f3ad
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3965292639f3ad
Clearing cache for project: test_project3965293ada814d
Objects to clear from memory: xxx
Project name: test_project3965293ada814d
Loading project configuration
Autoloading helper functions
Running helper 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_project3965294a5611a0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3965294a5611a0
Loading project configuration
Autoloading helper functions
Running helper 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_project3965291b8d0a65
Project name: test_project3965293f20fc3e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project396529a290dae
Loading project configuration
Autoloading helper functions
Running helper 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_project3965295810d6ab 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_project3965295810d6ab 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_project23965292367cfb0 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 file3965297852758c helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project3965293d4c00f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project3965293d4c00f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project3965293d4c00f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project3965293d4c00f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project3965293d4c00f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project3965293d4c00f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project3965293d4c00f is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project396529761913d8
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_project39652941be81ed
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project3965295a07110b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3965295a07110b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3965294918ff9e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3965294918ff9e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project39652956d512be
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39652956d512be
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3965291ea94359
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3965297a7f99e9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3965297a7f99e9
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_project3965295ccfdb04
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3965295ccfdb04
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project3965292b9672f7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project3965292b9672f7
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_project39652963248576
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39652963248576
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project39652921899d7e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39652921899d7e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project3965297dae790d
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_project396529395baf18
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project396529719a6a06
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39652988dc9ed
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_project39b9aa18634c42
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project39b9aa4c8e527a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project39b9aa1797807d
Loading project configuration
Autoloading helper functions
Running helper 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_project39b9aa1797807d
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_project39b9aa1797807d
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_project39b9aa16d4c04e
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_project39b9aa25cedb22
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project39b9aa25cedb22
Clearing cache for project: test_project39b9aa6fe21402
Objects to clear from memory: xxx
Project name: test_project39b9aa6fe21402
Loading project configuration
Autoloading helper functions
Running helper 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_project39b9aa448b4da6
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa448b4da6
Loading project configuration
Autoloading helper functions
Running helper 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_project39b9aa5392bd1b
Project name: test_project39b9aa5ea167fb
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa3be52c05
Loading project configuration
Autoloading helper functions
Running helper 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_project39b9aa76999574 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_project39b9aa76999574 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_project239b9aa197490d 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 file39b9aa21c56f05 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project39b9aa3778e6fd is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project39b9aa3778e6fd is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project39b9aa3778e6fd is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project39b9aa3778e6fd is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project39b9aa3778e6fd is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project39b9aa3778e6fd is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project39b9aa3778e6fd is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project39b9aacafafce
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_project39b9aa28cd42c9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project39b9aa4a2ce9ad
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa4a2ce9ad
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project39b9aa39ab811f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa39ab811f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project39b9aa5463c643
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa5463c643
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project39b9aa2a6deb3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project39b9aa275adf9f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa275adf9f
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_project39b9aa6d2bf95f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa6d2bf95f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project39b9aa51a92c15
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa51a92c15
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_project39b9aa6a309714
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa6a309714
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project39b9aa429edbbc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa429edbbc
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project39b9aa733f62c8
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_project39b9aa10bff98f
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa18214469
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project39b9aa1c8d905b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.11.0
Check: tests
Result: ERROR
Running 'run-all.R' [54s]
Running 'testthat.R' [56s]
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_project1f83c541340ef
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1f83c3b226f02
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1f83c590be23
Loading project configuration
Autoloading helper functions
Running helper 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_project1f83c590be23
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_project1f83c590be23
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_project1f83c2b0f1e8f
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_project1f83c21634fa2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project1f83c21634fa2
Clearing cache for project: test_project1f83c47d77ee6
Objects to clear from memory: xxx
Project name: test_project1f83c47d77ee6
Loading project configuration
Autoloading helper functions
Running helper 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_project1f83c2501fcf
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c2501fcf
Loading project configuration
Autoloading helper functions
Running helper 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_project1f83c746370b4
Project name: test_project1f83cdebc58
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c4d9a4f30
Loading project configuration
Autoloading helper functions
Running helper 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_project1f83c38c53109 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_project1f83c38c53109 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_project21f83c72b410bc 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 file1f83c5ec19fd helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project1f83c586edef is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project1f83c586edef is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project1f83c586edef is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project1f83c586edef is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project1f83c586edef is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project1f83c586edef is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project1f83c586edef is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project1f83c4ef6637c
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_project1f83c1e436750
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project1f83c640076e2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c640076e2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1f83c30f8648c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c30f8648c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1f83c3d0968e1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c3d0968e1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1f83c317a2c1f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1f83c1174332d
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c1174332d
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_project1f83c15741c91
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c15741c91
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1f83c33866292
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c33866292
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_project1f83c39d451df
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c39d451df
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project1f83c7d135d31
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c7d135d31
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1f83c33396d88
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_project1f83c20277958
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c18fa862
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1f83c12772c2a
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_project1e2c833386fd
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1e2c8346753f0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1e2c861191d9f
Loading project configuration
Autoloading helper functions
Running helper 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_project1e2c861191d9f
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_project1e2c861191d9f
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_project1e2c856c76e84
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_project1e2c86f262e3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project1e2c86f262e3
Clearing cache for project: test_project1e2c8528a6473
Objects to clear from memory: xxx
Project name: test_project1e2c8528a6473
Loading project configuration
Autoloading helper functions
Running helper 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_project1e2c85812378
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c85812378
Loading project configuration
Autoloading helper functions
Running helper 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_project1e2c8146f12d
Project name: test_project1e2c87e781332
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c852b185
Loading project configuration
Autoloading helper functions
Running helper 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_project1e2c854b575fb 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_project1e2c854b575fb 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_project21e2c83cd179a5 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 file1e2c81a954bb5 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project1e2c878e56f79 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project1e2c878e56f79 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project1e2c878e56f79 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project1e2c878e56f79 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project1e2c878e56f79 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project1e2c878e56f79 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project1e2c878e56f79 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project1e2c8414668dc
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_project1e2c8180c11ae
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper 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_project1e2c83a1f4f2b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c83a1f4f2b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1e2c86a6b2118
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c86a6b2118
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1e2c8390a5243
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c8390a5243
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1e2c8653f5866
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1e2c84a2061c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c84a2061c
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_project1e2c875d96e78
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c875d96e78
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project1e2c879847f0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c879847f0
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_project1e2c8609d771e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c8609d771e
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project1e2c83636ad
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c83636ad
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
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_project1e2c845ebc4
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_project1e2c8632d4dd
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c81857190
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project1e2c82c4360a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.11.0
Check: tests
Result: ERROR
Running 'run-all.R' [62s]
Running 'testthat.R' [62s]
Running the tests in 'tests/run-all.R' failed.
Complete output:
> library(testthat)
>
> test_check("ProjectTemplate")
Loading required package: ProjectTemplate
Loading required package: digest
Loading required package: tibble
Project name: test_projectc210417ba52
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectc21038761110
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectc210b56cb3
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_projectc210b56cb3
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
dummy 999
Configuration for project: test_projectc210b56cb3
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
Additional custom config present for this project:
Objects to clear from memory: config helper.function project.info
Project name: test_projectc21070a14ebe
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: foo.reader.R
Running helper script: helpers.R
Autoloading data
Loading data set: example
Creating cache entry from global environment: example
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Following objects not in memory:
Objects to clear from memory: xxxx
Project name: test_projectc21022646598
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: helper.function project.info
Clearing cache for project: test_projectc21022646598
Clearing cache for project: test_projectc2105697ce2
Objects to clear from memory: xxx
Project name: test_projectc2105697ce2
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from CODE: xxxx
Objects to clear from memory: config project.info
Objects to clear from memory: project.info
Objects to clear from memory: yyy
Following objects not in memory: xxx
Following objects not in memory: xxx
Variables not cleared: config
No objects to clear
Objects to clear from memory: .yyy helper.function project.info
Project name: test_projectc2103db44d3c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc2103db44d3c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_projectc21020756f41
Project name: test_projectc210677c7dff
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc210147a5bee
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
Directory: test_projectc2102749228c is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_projectc2102749228c is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project2c2104a41916 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Objects to clear from memory: config helper.function project.info
No objects to clear
Objects to clear from memory: config filec21060de777a helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_projectc2102fae309c is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run load.project()
Current Directory: test_projectc2102fae309c is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run clear.cache() again.
Current Directory: test_projectc2102fae309c is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run cache() again.
Current Directory: test_projectc2102fae309c is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run reload.project() again.
Current Directory: test_projectc2102fae309c is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run test.project() again.
Current Directory: test_projectc2102fae309c is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run stub.tests() again.
Current Directory: test_projectc2102fae309c is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run project.config()
Project name: test_projectc21065d230bd
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: Thumbs
Loading required namespace: RSQLite
Creating cache entry from global environment: var_to_cache
Loading required package: data.table
01-test_data.py start
01-test_data.py finish
02-test_data.py start
['1', '20']
['2', '30']
['3', '40']
Python data exists in the environment
y
02-test_data.py finish
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file contained unused entries which have been
removed. The unused entries are:
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] TRUE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Project name: test_projectc2106cb612e8
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: .Random.seed config helper.function project.info
Project name: test_projectc2106167153c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc2106167153c
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectc2104c092d6e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc2104c092d6e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectc210433f4f24
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc210433f4f24
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectc2106bcb56fe
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectc210694b27d4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc210694b27d4
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_projectc210586c695a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc210586c695a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_projectc210d111da1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc210d111da1
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_projectc2102c49528
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc2102c49528
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_projectc2106bb94e78
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc2106bb94e78
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Loading required package: qs
qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
Creating cache entry from global environment: cache.qs
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Loading table: example_30a
Loading table: example_30b
Loading table: example_31a
Loading table: example_31b
Loading table: example_28
re-encoding from CP1252
re-encoding from CP1252
Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
Objects to clear from memory: config helper.function project.info
Items in cache will not be cleared
Use reload.project(reset=TRUE) to clear cache also
Objects to clear from memory: helper.function project.info z
Reloading Project ...
Project name: test_projectc2103ecb6ed9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading cached data set: z
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info x y z
Project name: test_projectc21072541bd3
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc2105cb57c9e
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_projectc21033fb6b1a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(ProjectTemplate)
Loading required package: digest
Loading required package: tibble
>
> test_check("ProjectTemplate")
Project name: test_project2481c23f64c13
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c776a53b9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c7aecf94
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project2481c7aecf94
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
dummy 999
Configuration for project: test_project2481c7aecf94
version 0.11.0
data_loading TRUE
data_loading_header TRUE
data_ignore
cache_loading TRUE
recursive_loading FALSE
munging TRUE
logging FALSE
logging_level INFO
load_libraries FALSE
libraries reshape2, plyr, tidyverse, stringr, lubridate
as_factors FALSE
tables_type tibble
attach_internal_libraries FALSE
cache_loaded_data TRUE
sticky_variables NONE
underscore_variables TRUE
cache_file_format RData
Additional custom config present for this project:
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c4b915ca0
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: foo.reader.R
Running helper script: helpers.R
Autoloading data
Loading data set: example
Creating cache entry from global environment: example
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Following objects not in memory:
Objects to clear from memory: xxxx
Project name: test_project2481c5be45105
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: helper.function project.info
Clearing cache for project: test_project2481c5be45105
Clearing cache for project: test_project2481c30d7fbd
Objects to clear from memory: xxx
Project name: test_project2481c30d7fbd
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Creating cache entry from CODE: xxxx
Objects to clear from memory: config project.info
Objects to clear from memory: project.info
Objects to clear from memory: yyy
Following objects not in memory: xxx
Following objects not in memory: xxx
Variables not cleared: config
No objects to clear
Objects to clear from memory: .yyy helper.function project.info
Project name: test_project2481c34405b38
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c34405b38
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Configuration for project: test_project2481c4894693a
Project name: test_project2481c42d36c1f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c750d5faf
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
== Testing 1.R =================================================================
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ]
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] Done!
Directory: test_project2481c5c8f27e5 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project2481c5c8f27e5 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Directory: test_project22481c664b2995 is a ProjectTemplate directory
Cannot create a new project inside an existing one
Please change to another directory and re-run create.project()
Objects to clear from memory: config helper.function project.info
No objects to clear
Objects to clear from memory: config file2481c8cb1cd5 helper.function project.info
Creating cache entry from CODE: test_data
Current Directory: test_project2481c10ee2abc is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run load.project()
Current Directory: test_project2481c10ee2abc is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run clear.cache() again.
Current Directory: test_project2481c10ee2abc is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run cache() again.
Current Directory: test_project2481c10ee2abc is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run reload.project() again.
Current Directory: test_project2481c10ee2abc is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run test.project() again.
Current Directory: test_project2481c10ee2abc is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Change to a valid ProjectTemplate directory and run stub.tests() again.
Current Directory: test_project2481c10ee2abc is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running migrate.project(). migrate.project() will ensure the ProjectTemplate structure is consistent with your version of ProjectTemplate.
Please change to correct directory and re-run project.config()
Project name: test_project2481c209d5575
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: Thumbs
Loading required namespace: RSQLite
Creating cache entry from global environment: var_to_cache
Loading required package: data.table
01-test_data.py start
01-test_data.py finish
02-test_data.py start
['1', '20']
['2', '30']
['3', '40']
Python data exists in the environment
y
02-test_data.py finish
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
version, data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
data_loading_header, data_ignore, logging_level, tables_type, attach_internal_libraries, cache_loaded_data, sticky_variables, underscore_variables, cache_file_format
There is a new config item called cache_loaded_data which auto-caches data
after it has been loaded from the data directory. This has been switched
off for this project in case it breaks your scripts. However you can switch
it on manually by editing global.dcf
data_tables has been renamed tables_type. It can take the value 'tibble',
'data_table', or 'data_frame. If data_tables is TRUE, tables_type will be
set to 'data_table', otherwise the default 'data_frame' will be used. if you
wish a different default set it manually by editing global.dcf. Future new
projects will use 'tibble' by default.
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file contained unused entries which have been
removed. The unused entries are:
Migrating project configuration
[1] FALSE
Migrating project configuration
[1] TRUE
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
tables_type
Project name: test_project2481c572b519a
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: .Random.seed config helper.function project.info
Project name: test_project2481c4a81400
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c4a81400
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c5d33423b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c5d33423b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c659bc9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c659bc9
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c19224d75
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c5123661f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c5123661f
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c2da871c7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c2da871c7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c49ee2cd7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c49ee2cd7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c19b82a18
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c19b82a18
Loading project configuration
Objects to clear from memory: config helper.function project.info
Project name: test_project2481c1d454123
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c1d454123
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info
Loading required package: qs
qs 0.27.3. Announcement: https://github.com/qsbase/qs/issues/103
Creating cache entry from global environment: cache.qs
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Creating cache entry from global environment: xxxx
Migrating project configuration
[1] FALSE
Your existing project configuration in globals.dcf does not contain up to
date configuration settings in this version 0.11.0 of ProjectTemplate. They will
be added automatically during migration, but you should review afterward.
Your config.dcf file was missing entries and defaults
have been used. The missing entries are:
cache_loaded_data
Loading table: example_30a
Loading table: example_30b
Loading table: example_31a
Loading table: example_31b
Loading table: example_28
re-encoding from CP1252
re-encoding from CP1252
Objects to clear from memory: .Random.seed config helper.function project.info test test_data12 test_data22
Objects to clear from memory: config helper.function project.info
Items in cache will not be cleared
Use reload.project(reset=TRUE) to clear cache also
Objects to clear from memory: helper.function project.info z
Reloading Project ...
Project name: test_project2481c7532d6b
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading cached data set: z
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Objects to clear from memory: config helper.function project.info x y z
Project name: test_project2481c6d254bc5
Loading project configuration
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c400e5739
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
Project name: test_project2481c60225d7
Loading project configuration
Autoloading helper functions
Running helper script: globals.R
Running helper script: helpers.R
Autoloading data
Loading data set: file_not_in_full_template
Translating data.frame to tibble: file_not_in_full_template
Creating cache entry from global environment: file_not_in_full_template
Munging data
Running preprocessing script: 01-A.R
Sourcing R script: 01-A.R
[1] FALSE
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-readers.R:940:3'): Example 35: PPM Support with .ppm Extension ──
`ppm.reader(data.file, filename, variable.name)` did not throw the expected warning.
[ FAIL 1 | WARN 215 | SKIP 0 | PASS 909 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64