Permalink
Commits on Nov 28, 2016
  1. New clear() function to manage global environment (#167)

    * Added a new clear function which is exported
    
    * added some test cases
    
    * if current directory is project template, re-read the config file to get the latest value of config
    
    * exit cleanly if a variable is passed that doesn't exist
    
    * message to user if they specify an object that doesn't exist in memory
    connectedblue committed with KentonWhite Nov 28, 2016
  2. Enable dcf files to contain R code that can be evaluated upon read (#169

    )
    
    * added some wrapper code to evaluate r statements (doesn't work yet)
    
    * Fixed eval function and added a test case
    connectedblue committed with KentonWhite Nov 28, 2016
Commits on Nov 18, 2016
  1. Fix bug in .load.cache() and refactor (#166)

    * Fixed bug in .load.cache, moved it to cache.R and refactored
    
    * Added a test case to make sure this edge case is covered
    connectedblue committed with KentonWhite Nov 18, 2016
Commits on Nov 7, 2016
  1. New project.config() function and configuration help page (#164)

    * moved config functions into a central file, and config man pages into another file
    
    * tests pass following refactor
    
    * added . in front of new.config and default.config throughout project for consistency.  Removed definition of default.config and new.config
    
    * added a normalize.boolean helper function to avoid repetition in the code
    
    * Added some documentation to the normalisation functions
    
    * initial filling in og config.project help page - not tested yet
    
    * removed back ticks from man page
    
    * got the man pages working for project config
    
    * completed config generation in man pages (but this version doesnt't compile)
    
    * fixed compile problem by including translate.dcf.R explicitly
    
    * added some messaging about the project name
    
    * renamed to project.config and extended functionality to display additional config
    
    * added some tests for project.config()
    
    * added website documentation
    
    * Changed layout of man page to conform to R CMD travis checks
    connectedblue committed with KentonWhite Nov 7, 2016
Commits on Nov 4, 2016
  1. Clean exit for more functions when current directory is not valid Pro…

    …ject template (#163)
    
    * refactored project template directory helper functions
    
    * created a new file to store all the stop functions in
    
    * typo
    
    * added stop test for cache, clear.cache, reload.project and test.project.  Also added some tests for these conditions
    
    * syntax change
    
    * fix merge bug
    
    * extra # in comment field
    
    * add stub.tests()
    
    * missing function definition for .var.diff.from
    connectedblue committed with KentonWhite Nov 4, 2016
Commits on Nov 3, 2016
  1. Cache auto-loaded data during load.project() (#160)

    * added in auto cache when data loaded directly, and also made migrate.project able to migrate old projects smoothly.  Regression tests pass, but no tests for new functionality written yet
    
    * changed the set up of the version tests which were creating a test_project directory in the working directory instead of in a temp directory.  Tests themselves not changed and still work
    
    * Added some tests for migration and load.project
    
    * Updated some variables in migrate.project in order to pass R CMD checks
    
    * Changed caching logic to inspect global environment before and after dataload to determine what shoudl be cached.  Created some tests to test this also.
    
    * updated behaviour for how project.info is calculated and also expand the scope of what cache.project does
    
    * create a temporary migrate.project file to merge manually
    
    * updated migrate.project with test for cache_loaded_data flag warning
    
    * fixed bug which caused two migration tests to fail (wrong config variable name)
    
    * changed default missing value to FALSE and added some website docuemntation
    connectedblue committed with KentonWhite Nov 3, 2016
Commits on Oct 31, 2016
  1. Refactor migrate.project() and fix version tests (#162)

    * add relevant files from cacherawdata branch to seperate out migrate.project() and test-version files
    
    * Refactored migrate.project() to allow more precise checks, actions and messages during migration
    
    * Added user messages instead of warnings to migrate.project.  Also updated existing test to expect message rather than warning
    
    * Added some migration specific tests.  Needed a refactor of default.config function and also moved the tidy_up() function into the run-all script so it can be accessed in different tests
    
    * remove rogue project template created in test folder
    
    * moved tidy_up() into each of the testing contexts due to failures on the travis checks on github
    
    * fixed a missing man file for default.config
    connectedblue committed with KentonWhite Oct 31, 2016
Commits on Oct 19, 2016
  1. Allow to call RSQLite's initExtension() (#161)

    * Allow to call RSQLite's initExtension()
    
    * Example for sqlite "plugin: extension" provided to call RSQLite's initExtension() on a connection
    crubb committed with KentonWhite Oct 19, 2016
Commits on Oct 3, 2016
  1. Cleaner exit when running load.project() in the wrong directory (#157)

    * Added checks to ensure current directory is indeed a projecttemplate directory
    
    * Added checks to make sure we're not already in a ProjectTemplate directory when issuing a create.project()
    
    * Added current directory name into the messages
    
    * Improved performance on checking is.ProjectTemplate
    
    * Added cache and data directories to migration tests so they don't fail
    
    * Restored migration configuration file - I inadvertently screwed it up by running a manual test
    
    * include dummy files in cache and data migrartion test directories to allow tests to pass
    
    * Added some unit tests to check for error messages when loading and creating projects
    connectedblue committed with KentonWhite Oct 3, 2016
  2. Faster cache function (#155)

    * Added clear.cache function
    
    * Updated DESCRIPTION with clear.cache in Collate field
    
    * Processed documentation in roxygen
    
    * Try to fix documentation error issues
    
    * Added a modification to the cache function
    
    * modified load.project to read in a custom config file for the project if it exists
    
    * Created README to document changes
    
    * Update readme changes
    
    * Moved global config reader out of load.project and into a new function create.config.  Added a new lib file called globals.R containing a skeleton function call to create.config
    
    * Added an is.cached helper function
    
    * changed create.config to add.config (more natural)
    
    * added clearer user messaging at the end of the function to show which objects were removed and which were unable to be removed
    
    * Updated documentation for add.config and renamed globals.R skeleton
    
    * force globals.R in lib to be read first during load.project
    
    * Updated website documentation for global config.  Also updated README in the lib directory
    
    * added .write.cache function
    
    * added cache hashing function
    
    * added more helper functions to read and write from the cache
    
    * save work
    
    * first working version of cache with new functionality
    
    * cache and clear.cache working as first iteration
    
    * added spaces in front of user messages so they indent nicely and you can see which munge script they refer to
    
    * added better user messaging to inform about when caching is performed
    
    * Explicitly stop cache processing if a supplied variable does not exist
    
    * Add new feature to strip comments from CODE so changes won't be unnessarily re-evalued
    
    * Fixed import declaration of formatR (integration test failed on previous commit)
    
    * Added a cache status message when the function cache is called with no arguments
    
    * changed CODE parameter to accept blocks rather than quotation marks
    
    * changed order of CODE and depends in cache function call to allow for more flexible uses.  Also added website documentation in a new page called caching
    
    * Added several unit tests for the various caching scenarios
    connectedblue committed with KentonWhite Oct 3, 2016
Commits on Sep 19, 2016
  1. Some updates to caching and config (#152)

    * Added clear.cache function
    
    * Updated DESCRIPTION with clear.cache in Collate field
    
    * Processed documentation in roxygen
    
    * Try to fix documentation error issues
    
    * Added a modification to the cache function
    
    * modified load.project to read in a custom config file for the project if it exists
    
    * Created README to document changes
    
    * Update readme changes
    
    * Moved global config reader out of load.project and into a new function create.config.  Added a new lib file called globals.R containing a skeleton function call to create.config
    
    * Added an is.cached helper function
    
    * changed create.config to add.config (more natural)
    
    * added clearer user messaging at the end of the function to show which objects were removed and which were unable to be removed
    
    * Updated documentation for add.config and renamed globals.R skeleton
    
    * force globals.R in lib to be read first during load.project
    
    * Updated website documentation for global config.  Also updated README in the lib directory
    
    * remove any of the changes to do with caching (they are saved into the fastcache branch)
    
    * removed a private README file
    connectedblue committed with KentonWhite Sep 19, 2016
Commits on Sep 6, 2016
  1. Merge pull request #151 from Hugovdberg/150-logging

    Updated logger initialisation
    KentonWhite committed on GitHub Sep 6, 2016
Commits on Sep 4, 2016
  1. Moved logger initialisation to before loading helper functions, See i…

    …ssue #150
    
    Changed .require.package to require.package, in this case we want users to be able to use the logging functions directly, see #150
    
    added setting 'logging_level' to dcf; see #150
    
    Housekeeping, added references to new configuration option in documentation. See #151
    
    Updated screenshot with new order of operations
    Hugo van den Berg committed Aug 30, 2016
Commits on Aug 10, 2016
Commits on Jul 29, 2016
  1. NEWS

    krlmlr committed Jul 29, 2016
  2. bump version to 0.7

    krlmlr committed Jul 29, 2016
  3. Merge tag 'v0.6-4'

    - Satisfy `R CMD check`.
    krlmlr committed Jul 29, 2016
  4. NEWS

    krlmlr committed Jul 29, 2016
  5. bump version to 0.6-4

    krlmlr committed Jul 29, 2016
  6. Merge branch 'f-cran'

    - Satisfy `R CMD check`.
    krlmlr committed Jul 29, 2016
  7. update comments

    krlmlr committed Jul 29, 2016
Commits on Jul 23, 2016
  1. import

    krlmlr committed Jul 23, 2016
  2. winbuilder notes

    krlmlr committed Jul 23, 2016
Commits on Jul 22, 2016
  1. Merge tag 'v0.6-3'

    * `cache()` gains a new `...` argument which is passed to `save()` (#148, @eribul).
    * Missing packages are installed automatically (#146, @wilmeragsgh).
    * Added `dplyr` to the list of default libraries in `global.dcf` (#143, @pavopax).
    krlmlr committed Jul 22, 2016
  2. bump

    krlmlr committed Jul 22, 2016
  3. NEWS

    krlmlr committed Jul 22, 2016
  4. bump version to 0.6-3

    krlmlr committed Jul 22, 2016
  5. need to upgrade global version

    krlmlr committed Jul 22, 2016