0.11.0 (2024-05-20)
- Runs python code in munge folder using reticulate package
0.10.4 (2023-11-19)
- Added documentation sentinel file ProjectTemplate-package
0.10.3 (2023-02-27)
- Fix change in error messages from package qs
- Fixed if() conditions comparing class() to string Note
0.10.2 (2021-07-30)
- Fix pattern not intended for file extensions like qs.hash
- Skip tests using suggested packages that are not installed\
- Support for multiple loggin directores
- Support for multiple munge directories
- Support for list of munge files
0.10.1 (2021-02-08)
- Support for multiple loggin directores
- Support for multiple munge directories
- Support for list of munge files
0.10.0 (2021-01-08)
- Support qs cache format in addition to rdata (#304)
- Added documentation for
underscore_variables
inproject.config.R
(#306)
0.9.3 (2020-12-03)
- Fix passing first argument with length greater than 1 to
exists()
(Breaking change in R 4.1.0) - Fix issue where some Namespaces where not properly resolved in
cache()
(#303).
0.9.2 (2020-05-11)
- Supports underscores in variable names, replacing the old dot ('.') separator.
0.9.1 (2020-04-15)
as_factor
defaults toFALSE
. This is for compatibility with R 4.0, which is deprecatingstringsAsFactors()
0.9.0 (2019-02-26)
- New for R 3.6, support for staged install (#291)
- Define default table types using config var
tables_type
(#274) - Support for
feather
files (#239) - Migration from
csv2.reader
toread.csv2
(#195) - Supports
rstudio.project
files (#201)
- Link website documentation current release to News.md
- Added file types to
dat
directoryREADME
(#268) - Internal functions are now documented (#243)
data_ignore
applies tocache
vars (#290)- More informative error messages if not in a ProjectTemplate Directory (#287)
migrate_project()
creates missingcache
directory (#275)
0.8.2 (2018-04-20)
- Uses the Tidyverse packages (#207)
- Added custom templates (#206)
- Added support for rds files (#224, #227)
- Documentation moved to
docs
folder. Will automatically update on website
- Added tibble support (#218)
- Moved from
xls
package toreadxl
package (#159, #219) - Allow overriding of globals (#222)
- Fixed failing test for
RSQLlite
package (#228)
0.8.1 (2017-08-28)
- Faster caching (#152, #155, #160, #166)
- New clear() function to manage global environment (#167, #172, #173, #183)
- New project.config() function and configuration help page (#164)
- Renamed doc to docs and added references to GitHub Pages configuration (#180)
- Added config option to treat the first row of a data file as header (current default) or not. (#168)
- Change csv2.reader() behavior to act as expected when running read.csv2() (#195)
- Add list.data and incorporate in load.project (#187)
- Moved logger initialization to before loading helper functions, See issue #150
- Cleaner exit when running load.project() in the wrong directory (#157)
- Allow to call RSQLite's initExtension() (#161)
- Refactor migrate.project() and fix version tests (#162)
- Clean exit for more functions when current directory is not valid Project template (#163)
- Enable dcf files to contain R code that can be evaluated upon read (#169)
- Changed execution environment of CODE chunks (#171)
- Remove unused function .get.template.tar.path in create.project and old commented out code in load.project (#181)
- Uniform reading/writing global.dcf (#184)
- Ignore files in data directory (#178)
- Remove warnings from Travis and devtools::test() checks (#188)
- De-deprecated devtools installation command (#193)
- Bug Fix: Missing hash file causes failure in subsequent cache() operation (#194)
0.7 (2016-07-29)
create.project()
createsREADME.md
files in each subdirectory (#128). The README file in the main directory is now also formatted as Markdown, with the project name as title.- Code that creates and runs tests now also allows non-R files in
libs
andtests
subdirectories. - Libraries from the
libraries
section are loaded before sourcinglib/
files (#130). - Missing packages are installed automatically (#146, @wilmeragsgh).
- Added
dplyr
to the list of default libraries inglobal.dcf
(#143, @pavopax). cache()
gains a new...
argument which is passed tosave()
(#148, @eribul).- Use
inherits = FALSE
inget()
calls within specific environments (#139, @famuvie) - The
port
option is now used forRPostgreSQL
connections.
- Update to getting-started/mastering documentation (#142, @matt-jay).
- Fix typo in error msg (#141, @famuvie).
- Isolate tests by using temporary directories and properly undoing
setwd()
calls (#132). R CMD check
shows no errors, warnings, or notes.
- Includes all modifications from v0.5-3 and v0.5-2.
- Packages required for loading data sources are attached to the search path (with a warning) only if the new compatibility setting
attach_internal_libraries
is set toTRUE
. Attaching packages to the search path seems to be unnecessary to achieve proper functionality, but users might rely on this behavior, and so this is the default for migrated projects but turned off for new projects (#104).
- Fixed error message when
require.package
is called from an anonymous function and fails to load a package. (Usingdeparse(nlines = 1)
now.)
- Added function
.add.extension()
. This allows users to create custom readers for extensions, either locally in a project or as packages. - The configuration now stores the version of ProjectTemplate in the
version
field (#90). - New function
migrate.project()
that allows upgrading a project to the current version of ProjectTemplate (#90, #121). - New parameter
override.config
toload.project()
andreload.project()
allows substitution of individual configuration items (#76). - Can use mustache style templating in SQL calls to access project data structures (#50).
- Support passwordless connection to postgresql databases (#115).
- Configuration entries that start with a hash (
#
) are silently ignored (#74). - New variables
default.config
andnew.config
that store the default configuration used for missing configuration items or for a new project (#76, #89). - Missing but required directories are now created (with a warning) (#76).
- Missing entries in the configuration file, or a missing configuration file, are substituted by defaults (with a warning). Extra entries are ignored (with a warning) (#76).
- All logical configuration options are now stored as Boolean values instead of
'on'
/'off'
. Input values other than'on'
/'off'
are converted usingas.logical
, invalid values result in an error (#76).
- Dropped dependency on
Defaults
package (#100). - Suppress warnings in tests (#111).
- Fix CRAN check issues (#117).
- Improved presentation of available readers in documentation (#119).
- Restore compatibility to R 2.15.3 by avoiding use of the
no..
parameter tolist.files()
in ourcreate.project()
function.
- New function
get.project()
to accessproject.info
. - Attempting to load a missing package when reading data will lead to a user-friendly error message (#26).
- Export existing
translate.dcf
function, useful for implementing custom readers (#59). - Add new function
.add.extension.
This allows users to create custom readers for extensions, either locally in a project or as packages (#59).
- Fix CRAN warnings concerning use of
ProjectTemplate:::
qualification (#56). - Fix CRAN warnings concerning assignments to
.GlobalEnv
. - Updated author information in DESCRIPTION file (#40).
- Store templates for empty projects in tar files instead of storing
the entire directory structure per CRAN request and to avoid having to build
with the
--keep-empty-dirs
switch (#41).
- New maintainers: Kirill Müller [email protected], Kenton White [email protected]
- Allow string interpolation of R functions in sql queries
- Added a JDBC database wrapper for accessing PostgreSQL databases hosted by Heroku (#20)
- JDBC connection can now use path to jar stored in CLASSPATH
- project.info is stored in the global environment again (reverted change from 0.4-4); the active binding seemed to work for the tests but not from outside the package
- create.project now works if the directory exists. Merging with a non-empty directory is supported by setting the new parameter merge.strategy.
- Fix CRAN checks (@krlmlr).
- project.info is now an active binding to avoid writing to the global environment (@krlmlr).
- Re-enabled xlsx.reader (@krlmlr).
- Added JDBC support to sql.reader (@joshbode, #12).
- Various MySQL improvements (@cortex, #10).
- Fix "Argument port must be an integer value" when using port number for mysql driver (@cortex, #7).
- Tentative CSV2 support.
- Added optional recursive data directory loading using a 'recursive_loading' setting.
- Added basic Oracle support (with tnsnames, no host/port) (@matteoredaelli, #6).
- Had to disable xlsx.reader temporarily because it does not build for 2.15.
- Added 'eda.R' example file in 'src/' directory.
- Allow loading from 'cache/' without loading from 'data/' through 'cache_loading' setting.
- Revised documentation.
- Added Postgres support through RPostgreSQL
- Very rough ODBC support. See example in ProjectTemplate:::sql.reader documentation.
- '.dat' files are now read as if they were '.wsv' files.
- Revised documentation.
- Added a cache.project() function.
- 'as_factors' configuration option suppresses automatic character-to-factor conversion.
- Implemented .zip support using temporary files.
- Added .mp3 support through the tuneR package.
- Added .ppm support through the pixmap package.
- 'data_tables' configuration option automatically translates data sets into data.tables.
- Added unit tests for SPSS, Stata and SAS file formats.
- Increased SQLite3 support
- Load all tables from SQLite3 database using a .sql file: set table = *
- Load all tables from SQLite3 database automatically using .db extension
- Added a .file type that can load files outside of the project directory.
- Removed run.tests(). Use test.project().
- Added a stub.tests() function that autogenerates tests for helper functions.
- Added a show.project() function that gives all known information about a project's internal state.
- Added a reload.project() function.
- Improved error handling.
- Renamed utilities.R to helpers.R.
- Fixed a bug in cache().
- Added new *Reader functions.
- Switched configuration system over to DCF format.
- Ability to create full projects or minimal projects.
- Switched print() calls to message() calls.
- Moved *Reader functionality into separate functions that users can override.
- Fixed a bug in cache().
- Moved boot.R's logic into functions and configuration files.
- Added SQLite support using the RSQLite package.
- Cleaned up the database connection and disconnection code.
- Changed list of packages listed as dependencies, so that even more are suggestions.
- Added new configuration settings in config/global.yaml.
- Data is now loaded from a cache/ directory and then the traditional data/ directory.
- Added log4r integration, which is configurable and turned off by default.
- Added a sample preprocessing script.
- Added a cache/ directory.
- Added a config/ directory.
- Added a logs/ directory.
- Added a munge/ directory.
- Added a src/ directory.
- Fixed a bug in clean.variable.name() for variable names that start with numbers.
- Added XSLX support.
- Many changes to load_data.R.
- Added notices when data sets are autoloaded.
- Added autoload support for WSV (whitespace separated values) data files.
- Added autoload support for RData files.
- Added autoload support for compressed *SV files.
- Added autoload support for *SV files available through HTTP.
- Added autoload support for MySQl database tables.
- Added autoload support for SPSS and Stata files.
- Added test.project as an alias for run.tests().
- Changed list of packages listed as dependencies, so that many are now suggestions.
- load.project() does not autoload libraries that are not dependencies.
- Added a sample profiling script.
- Added a sample test that always passes to the default project.
- Added a basic show.updates() function for porting projects to newer releases of ProjectTemplate.
- Cleaned up documentation.
- Rewrote backend.
- Added load.package() and run.tests() functions.
- Maintainer: John Myles White [email protected]
- Initial release.