* using log directory ‘/srv/hornik/tmp/CRAN/ProjectTemplate.Rcheck’ * using R Under development (unstable) (2024-05-17 r86566) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.4 (1) Debian flang-new version 18.1.4 (1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘ProjectTemplate/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘ProjectTemplate’ version ‘0.11.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/4s] Note_to_CRAN_maintainers Maintainer: ‘Kenton White ’ * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking serialization versions ... OK * checking whether package ‘ProjectTemplate’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s/4s] OK * checking Rd files ... [1s/1s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [1s/1s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [16s/48s] ERROR Running ‘run-all.R’ [8s/24s] Running ‘testthat.R’ [8s/24s] 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_project10b47620a5740a Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b47618969617 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b47676a6a76c Loading project configuration Autoloading helper functions Running helper 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_project10b47676a6a76c 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_project10b47676a6a76c 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_project10b4766b6b8d0c 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_project10b4763942e8f2 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper 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_project10b4763942e8f2 Clearing cache for project: test_project10b476421c4334 Objects to clear from memory: xxx Project name: test_project10b476421c4334 Loading project configuration Autoloading helper functions Running helper 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_project10b4765d28d0ff Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4765d28d0ff Loading project configuration Autoloading helper functions Running helper 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_project10b47630c084ee Project name: test_project10b476148ba86d Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4761a3cad83 Loading project configuration Autoloading helper functions Running helper 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_project10b47666971e1c 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_project10b47666971e1c 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_project210b47630ce6ec3 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 file10b4762e4fd858 helper.function project.info Creating cache entry from CODE: test_data Current Directory: test_project10b47673f9aba1 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project10b47673f9aba1 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project10b47673f9aba1 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project10b47673f9aba1 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project10b47673f9aba1 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project10b47673f9aba1 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project10b47673f9aba1 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project10b47650d5d83f 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 Migrating project configuration [1] FALSE Your existing project configuration in globals.dcf does not contain up 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_project10b476554a91be Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper 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_project10b476338da681 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b476338da681 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b476165486e4 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b476165486e4 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b4761b8d32a6 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4761b8d32a6 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b4765aece4fa Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b4765a795f29 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4765a795f29 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_project10b47610c0cef8 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b47610c0cef8 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b4766c081091 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4766c081091 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_project10b4764a0ff45e Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4764a0ff45e Loading project configuration Objects to clear from memory: config helper.function project.info Project name: test_project10b4762b343d91 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4762b343d91 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data 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.26.3 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_project10b476626533ce 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_project10b4766329d8ab Loading project configuration Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b47621203f19 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b47653466b22 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 901 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-load.R:439:3'): pass munge files to run ──────────────────────── Error in `py_run_file_impl(file, local, convert)`: ModuleNotFoundError: No module named 'pandas' Run `reticulate::py_last_error()` for details. Backtrace: ▆ 1. ├─base::suppressMessages(load.project()) at test-load.R:439:3 2. │ └─base::withCallingHandlers(...) 3. └─ProjectTemplate::load.project() 4. └─ProjectTemplate:::.munge.data(config, my.project.info) 5. └─reticulate::source_python(file.path(dir_name, preprocessing.script)) 6. └─reticulate::py_run_file(file, local = FALSE, convert = convert) 7. └─reticulate:::py_run_file_impl(file, local, convert) [ FAIL 1 | WARN 215 | SKIP 0 | PASS 901 ] 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_project10b4a12192e36d Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b4a13eb092b7 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b4a133716271 Loading project configuration Autoloading helper functions Running helper 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_project10b4a133716271 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_project10b4a133716271 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_project10b4a1a462f76 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_project10b4a1163b689b Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper 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_project10b4a1163b689b Clearing cache for project: test_project10b4a14bee8eb2 Objects to clear from memory: xxx Project name: test_project10b4a14bee8eb2 Loading project configuration Autoloading helper functions Running helper 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_project10b4a13e506315 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a13e506315 Loading project configuration Autoloading helper functions Running helper 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_project10b4a1742e9041 Project name: test_project10b4a12de49e45 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a17166b48a Loading project configuration Autoloading helper functions Running helper 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_project10b4a148678105 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_project10b4a148678105 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_project210b4a1e010bb7 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 file10b4a113c1bfc4 helper.function project.info Creating cache entry from CODE: test_data Current Directory: test_project10b4a14826482 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project10b4a14826482 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project10b4a14826482 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project10b4a14826482 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project10b4a14826482 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project10b4a14826482 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory and seeing this message in error, try running 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_project10b4a14826482 is not a valid ProjectTemplate directory because one or more mandatory directories are missing. If you believe you are in a ProjectTemplate directory 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_project10b4a124cf3b44 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 Migrating project configuration [1] FALSE Your existing project configuration in globals.dcf does not contain up 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_project10b4a16ecd3917 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper 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_project10b4a153eda386 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a153eda386 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b4a13aadc7e7 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a13aadc7e7 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b4a142fc0f00 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a142fc0f00 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b4a122b4438d Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b4a147267081 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a147267081 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_project10b4a12513f330 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a12513f330 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Objects to clear from memory: config helper.function project.info Project name: test_project10b4a17bf8bf68 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a17bf8bf68 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_project10b4a172d1df69 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a172d1df69 Loading project configuration Objects to clear from memory: config helper.function project.info Project name: test_project10b4a152f6f3e7 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a152f6f3e7 Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data 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.26.3 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_project10b4a159bb9cd8 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_project10b4a121985475 Loading project configuration Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a1e83d99d Loading project configuration Autoloading helper functions Running helper script: globals.R Running helper script: helpers.R Autoloading data Munging data Running preprocessing script: 01-A.R Sourcing R script: 01-A.R Project name: test_project10b4a110cc360c 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 901 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-load.R:439:3'): pass munge files to run ──────────────────────── Error in `py_run_file_impl(file, local, convert)`: ModuleNotFoundError: No module named 'pandas' Run `reticulate::py_last_error()` for details. Backtrace: ▆ 1. ├─base::suppressMessages(load.project()) at test-load.R:439:3 2. │ └─base::withCallingHandlers(...) 3. └─ProjectTemplate::load.project() 4. └─ProjectTemplate:::.munge.data(config, my.project.info) 5. └─reticulate::source_python(file.path(dir_name, preprocessing.script)) 6. └─reticulate::py_run_file(file, local = FALSE, convert = convert) 7. └─reticulate:::py_run_file_impl(file, local, convert) [ FAIL 1 | WARN 215 | SKIP 0 | PASS 901 ] Error: Test failures Execution halted * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR