projecttemplates 0.6.3
Fixed the path to the Dockerfile in the project build script (
misc/docker/build_image.sh).Added bash headers to template shell scripts.
Set the default values of the arguments
github,privateandgithub_actionsintemplate()toFALSE.Fixed the branch reference for adding a project to GitHub.
projecttemplates 0.6.2
- Fix for
renvwhen Bioconductor dependencies are included in argumentdependencies.
projecttemplates 0.6.1
- Added the
sandboxargument torenvInitialise()to allow the selection of whether sandboxing is used duringrenvinitialisation.
projecttemplates 0.6.0
The template
run.Rscript now outputs tomisc/run.R. The templateREADME.mdhas now been updated to reflect this.The template
misc/run.Rscript now outputs a message to the console upon completion.The
tarchetypespackage is now referenced directly in template targets scripts.The template docker infrastructure now outputs to the directory
misc/dockerand now includes an image build script (/misc/docker/build_image.sh) and a container run script (/misc/docker/run_container.sh).jfmisc::writingChecks()now replaces themanuscriptChecks()function in themanuscripttemplate.The
renv::restore()command has now been moved to the template.Rprofile.The
targetspackage and the magrittr%>%are now loaded via the template.Rprofile.The
bioconductorargument replaces thebiocargument inrenvInitialise()to stipulate the Bioconductor version to use.Added the
targetsConfig()function to add a_targets.yamlto a project directory. This file is added automatically by thetemplate()function.Fixed incorrect outputs in the figures, tables and supplementary output Rmarkdown files in the
manuscripttemplate.knitris now referenced directly in function calls in output template Rmarkdown files.
projecttemplates 0.5.8
The
renvdirectory is now included in the generated.dockerignorefile if argumentrenv = TRUE.The RStudio project file is now created even if the project template is generated outside of RStudio.
Errors encountered during the retrieval of the git signature are now reported during git initialisation.
projecttemplates 0.5.7
Script header added to generated
R/utils.Rfile.dataandexportsdirectories added to the the generated.dockerignorefile.The generated
_targets.Rfile is now formatted using thestylerpackage.
projecttemplates 0.5.6
.dockerignorefile is now added to output project to ignore the_targetsdirectory if present.Target build time and object size are now added to the output pipeline graph in
run.R.targetspackage options set bytar_options_set()now moved toutils.R.
projecttemplates 0.5.5
Fixed the use of user
renvsettings during initialisation to ensure that the user cache is used.Simplified the
renvcache restore term in the generated project Dockerfile.
projecttemplates 0.5.4
- Fixed warning that is returned when directories in the project
pathdo not exist prior to template generation.
projecttemplates 0.5.1
An initial commit is only made in
createGit()if a valid git signature is found.The value of the
installargument ofpacmanloading functions can now be set inutils().In
template(), thepacmaninstallargument inutils()is now dependant on the value of therenvargument.The installation of project package dependencies is now added to the docker file when the
renvargument isFALSE.
projecttemplates 0.5.0
renv::restore()moved fromutils.Rtorun.R.The generation of
renvinfrastructure is now optional intemplate().The project Dockerfile is now generated with the in-use R version.
The project Dockerfile is now specific to the project type.
The package version and URL now added to all generated files.
projecttemplates 0.4.6
Added
ignoreargument tocreateGit()to enable the customisation of files and directories ignored by git._targets,dataandexportsfolders ignored by git by default.
projecttemplates 0.4.5
-
renvInitialise()now initialises the project library to ensure that Bioconductor and GitHub dependency packages are installed correctly.
projecttemplates 0.4.4
Added
exportsdirectory to the template skeleton.Removed the use of
BiocManager::install()for installing Bioconductor packages, instead usingrenv::install().The
rebuildargument has been removed fromtemplate()andrenvInitialise().Template project analysis outputs now directed to the
exportsdirectory.
projecttemplates 0.4.3
-
renvR package cache infrastructure is now initiated usingrenv::init().
projecttemplates 0.4.2
CRAN, Bioconductor and GitHub R packages can now be specified in
utils().Bioconductor and GitHub R packages can now be installed upon
renvcache initialisation inrenvInitialise().
projecttemplates 0.4.1
projecttemplates::targetsScript()function now exported.A
run.Rscript now added to a project directory for executing atargetsanalysis throughprojecttemplates::targetsRun().Project creation can be forced using the
forceargument ofprojecttemplate::template().
projecttemplates 0.4.0
dockerargument inprojecttemplates::template()now works correctly.The project templates now use the
targetspackage for workflow management.Intermediate helper functions are now exported.
Added a
pkgdownsite available here.
projecttemplates 0.3.4
Removed use of the now defunct
usethis::git_credentials()andusethis::github_token().All git interaction now uses the
gertpackage instead ofgit2r.
projecttemplates 0.3.3
Added a
NEWS.mdfile to track changes to the package.Added
rebuildargument toprojecttemplates::template()to force the rebuild of packages on installation into the projectrenvpackage cache..Rhistory now ignored by git.