For latest release notes please visit the Releases page at GitHub. Bleeding-edge development is reflected in the ChangeLog and in the list of commits: The raw ProjectTemplate source code is always the place to go for ground truth.
The list of changes below covers all releases up to and including v0.8.2. It is not necessarily exhaustive.
tables_type
(#274)feather
files (#239)csv2.reader
to read.csv2
(#195)rstudio.project
files (#201)dat
directory README
(#268)data_ignore
applies to cache
vars (#290)migrate_project()
creates missing cache
directory (#275)docs
folder. Will automatically update on websitexls
package to readxl
package (#159, #219)RSQLlite
package (#228)create.project()
creates README.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.libs
and tests
subdirectories.libraries
section are loaded before sourcing lib/
files (#130).dplyr
to the list of default libraries in global.dcf
(#143, @pavopax).cache()
gains a new ...
argument which is passed to save()
(#148, @eribul).inherits = FALSE
in get()
calls within specific environments (#139, @famuvie)port
option is now used for RPostgreSQL
connections.setwd()
calls (#132).R CMD check
shows no errors, warnings, or notes.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).require.package
is called from an anonymous
function and fails to load a package. (Using deparse(nlines = 1)
now.).add.extension()
. This allows users to create custom readers for extensions, either locally in a project or as packages.version
field (#90).migrate.project()
that allows upgrading a project to the
current version of ProjectTemplate (#90, #121).override.config
to load.project()
and reload.project()
allows substitution of individual configuration items (#76).#
) are silently ignored (#74).default.config
and new.config
that store the default
configuration used for missing configuration items or for a new project (#76, #89).'on'
/'off'
. Input values other than 'on'
/'off'
are converted using
as.logical
, invalid values result in an error (#76).Defaults
package (#100).no..
parameter
to list.files()
in our create.project()
function.get.project()
to access project.info
.translate.dcf
function, useful for implementing custom readers (#59)..add.extension.
This allows users to create custom readers
for extensions, either locally in a project or as packages (#59).ProjectTemplate:::
qualification
(#56)..GlobalEnv
.--keep-empty-dirs
switch (#41).ProjectTemplate:::sql.reader
documentation..dat
files are now read as if they were .wsv
files.cache.project()
function.as_factors
configuration option suppresses automatic character-to-factor conversion..zip
support using temporary files..mp3
support through the tuneR package..ppm
support through the pixmap package.data_tables
configuration option automatically translates data sets into data.tables..sql
file: set table = "*"
.db
extension.run.tests()
to test.project()
.stub.tests()
function that autogenerates tests for helper functions.show.project()
function that gives all known information about a project's internal state.reload.project()
function.utilities.R
to helpers.R
.cache()
.load.project()
.print()
calls to message()
calls.cache
config
logs
munge
src
config
directory, a global configuration file called config/global.yaml
has been added that uses YAML syntax. This file provides the following configuration options:data_loading
: This can be set to 'on' or 'off'. If data_loading
is on, the system will load data from both the cache
and data
directories with cache
taking precedence in case of name conflict.munging
: This can be set to 'on' or 'off'. If munging
is on, the system will execute the files in the munge
directory sequentially. If munging
is off, none of the files in the munge
directory will be executed.logging
: This can be set to 'on' or 'off'. If logging
is on, a logger object using the log4r
package is automatically created when you run load.project()
. This logger will write to the logs
directory. By default, logging
is off.load_libraries
: This can be set to 'on' or 'off'. If load_libraries
is on, the system will load all of the R packages listed in the libraries
field below.libraries
: This is a YAML array listing all of the packages that the user wants to automatically load when load.project()
is called.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.