Because ProjectTemplate is still beta software, there are a number of backwards incompatible changes introduced with each iteration of the package. The information below should help you upgrade an existing project to work with the newest version of ProjectTemplate.
librariesconfiguration settings in
as_factorsconfiguration setting in
config/global.dcf. Set it to "on".
data_tablesconfiguration setting in
config/global.dcf. Set it to "off".
run.tests()to calls to
run.tests()has now been removed permanently from ProjectTemplate.
lib/helpers.R. This is not required in any way, but it will make your project seem like a v0.3-3 project.
global.yamlneeds to be renamed
.sqlfiles you've written in YAML need to be converted to DCF syntax.
mv tmp/cache/ .
mv tmp/config/ .
mv tmp/diagnostics/1.R diagnostics
mv tmp/munge .
mv tmp/src .
rm -rf tmp
lib/preprocess_data.Rinto a file in
munge, preferably the
config/global.dcf. You'll want to specify the R packages you'll load and change the
libdirectory that are no longer being used: