Skip to content

Releases: KentonWhite/ProjectTemplate

v0.8.1: Fixed compatibility with external readers

29 Aug 00:39
Compare
Choose a tag to compare
Exteranl readers use function closures as their reader.  These need to
be stored in the reader list as closures.

Changed the reader vector to a list that can hold closures

Store closures in readers list

Coerce closures into lists

Set reader after dataframe is created

Treat readers from list.data as lists

Keep duplicated variable names

Fixed incorrect check if reader exists

Cleanup debug messages

Clean up tests

Final fix of the has reader condition

v0.8: V0.8 Release

29 Aug 00:41
Compare
Choose a tag to compare
Getting ready for V0.8 Release

Updated date in description

Quiet the notes about config global variabe

Updated defaults to verison 0.8

Fixed list.data tests for windows

v0.6-1

28 Nov 12:23
Compare
Choose a tag to compare
v0.6-1 Pre-release
Pre-release
  • create.project() creates README.md files are created in each subdirectory (#128)
  • README file in 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 and tests subdirectories
  • libraries from the libraries section are loaded before sourcing lib/ files (#130)

v0.6

05 Oct 23:34
Compare
Choose a tag to compare

CRAN version.

  • Includes all modifications from v0.5-3 and v0.5-2.

v0.5-3

05 Oct 19:33
Compare
Choose a tag to compare
v0.5-3 Pre-release
Pre-release
  • 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 to TRUE. 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).

v0.5-2

01 Oct 10:13
Compare
Choose a tag to compare
v0.5-2 Pre-release
Pre-release

Bug fixes

  • Fixed error message when require.package is called from an anonymous
    function and fails to load a package. (Using deparse(nlines = 1) now.)

Features

  • Added functon .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 to load.project() and reload.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 and new.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 using
    as.logical, invalid values result in an error (#76).

Internal

  • Dropped dependency on Defaults package (#100).
  • Suppress warnings in tests (#111).
  • Fix CRAN check issues (#117).
  • Improved presentation of available readers in documentation (#119).

v0.5-1

17 Mar 08:41
Compare
Choose a tag to compare

Bug fixes

  • Restore compatibility to R 2.15.3 by avoiding use of the no.. parameter
    to list.files() in our create.project() function.

v0.5

17 Mar 08:40
Compare
Choose a tag to compare

Features

  • New function get.project() to access project.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).

Internal

  • 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).

v0.4-5

11 Feb 08:52
Compare
Choose a tag to compare
v0.4-5 Pre-release
Pre-release
  • Allow string interpolation of R functions in sql queries
  • Added a JDBC database wrapper for accessing PostgreSQL databases hosted by Heroku
  • 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.

v0.4-4

11 Feb 08:53
Compare
Choose a tag to compare
v0.4-4 Pre-release
Pre-release
  • Fix CRAN checks (@krlmlr).
  • project.info is now an active binding to avoid writing to the global
    environment (@krlmlr).
  • Reenabled 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.