Automates the Creation of New Statistical Analysis Projects
Read a DCF file into an R list.
Unload the project variables keeping the data
Compare sets of variable names
Write a variable and its metadata to cache
Associate a reader function with an extension.
Translate a variable name into a file name for caching.
Cache a project's data sets in binary format.
Read metadata for a variable in the cache
Add project specific config to the global config
Remove variables to keep from a list of candidates for removal
Cache a data set for faster loading.
Translate a file name into a valid R variable name.
Clear data sets from the cache
Clear objects from the global environment
Create a new project.
Create a new template
Require internal package
Show information about the current project.
Attach a package or add a namespace
Construct the file names for the cache and hash
Get configured cache file format strategy
Calculate the hash of the data stored in a variable
Print the current cache status
List all cached variables
Compare the project version with the current ProjectTemplate version
Convert one or more data sets to data.tables
Convert one or more data sets to tibbles
Create a data.frame with the cache metadata
Return an RStudio project file as character vector
Create a project structure
Check if a directory is empty
Run code and assign the results to variable
Get the location of a template from its name
Check if the project was loaded
Initialize the logger for the project
Check whether the cache is empty
Check whether variables are cached
Check if path is an existing directory
Test whether a given path is a ProjectTemplate project
Raise an error if given path is not a valid project
Raise an error if given path is a valid project
Build the list of data available for loading into memory
List all files and directories, excluding .. and .
Load the data from the cache and data directories
Load the helper functions
Load the libraries listed in the configuration into memory
Source all munge scripts
Get the current ProjectTemplate version
Match readers to the extensions of the data files
Prepare a regular expression for matching files to be ignored
Make sure a required directory exists before usage
Stop silently
Listing the data for the current project
Automatically load data and packages for a project.
Load Project
Migrates a project from a previous version of ProjectTemplate
Migrate a template to a new version of ProjectTemplate
Automatically read data into memory
ProjectTemplate Configuration file
ProjectTemplate: Automates the Creation of New Statistical Analysis Pr...
Reload or reset a project
Reload Project
Require a package for use in the project
Run all of the analyses in the src
directory.
Show information about the current project.
Generate unit tests for your helper functions.
Run all unit tests for this project.
Provides functions to automatically build a directory structure for a new R project. Using this structure, 'ProjectTemplate' automates data loading, preprocessing, library importing and unit testing.