Skip to content

Commit

Permalink
Merge pull request #20 from jasenfinch/devel
Browse files Browse the repository at this point in the history
v0.5.5
  • Loading branch information
jasenfinch committed Nov 9, 2021
2 parents e3bcc56 + 6a67e89 commit 3075db0
Show file tree
Hide file tree
Showing 28 changed files with 50 additions and 29 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: projecttemplates
Title: Project Templates for Reproducible Research and Analyses
Version: 0.5.4
Version: 0.5.5
Authors@R:
person(given = "Jasen",
family = "Finch",
Expand Down
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export(targetsRun)
export(targetsScript)
export(template)
export(utils)
importFrom(callr,r)
importFrom(callr,r_copycat)
importFrom(gert,git_add)
importFrom(gert,git_commit)
importFrom(gert,git_init)
Expand Down
8 changes: 7 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# projecttempaltes 0.5.4
# projecttemplates 0.5.5

* Fixed the use of user `renv` settings during initialisation to ensure that the user cache is used.

* Simplified the `renv` cache restore term in the generated project Dockerfile.

# projecttemplates 0.5.4

* Fixed warning that is returned when directories in the project `path` do not exist prior to template generation.

Expand Down
2 changes: 1 addition & 1 deletion R/docker.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ RUN Rscript -e "install.packages(c(\'renv\'), repos = c(CRAN = \'https://cloud.r
COPY renv.lock renv.lock
RUN Rscript -e "renv::consent(provided = TRUE); renv::restore(prompt = FALSE)"'
RUN Rscript -e "renv::restore()"'
} else {
package_install <- '
Expand Down
4 changes: 2 additions & 2 deletions R/renv.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
#' renvInitialise(paste0(tempdir(),'/test_project'))
#' }
#' @importFrom renv snapshot hydrate
#' @importFrom callr r
#' @importFrom callr r_copycat
#' @export

renvInitialise <- function(project_directory,
bioc = character(),
github = character()){
message('Initialising renv cache')
renv_init <- callr::r(function(project_directory,bioc,github){
renv_init <- r_copycat(function(project_directory,bioc,github){

project_directory <- normalizePath(project_directory)

Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 16 additions & 1 deletion docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pandoc: 2.11.4
pkgdown: 1.6.1
pkgdown_sha: ~
articles: {}
last_built: 2021-11-06T21:22Z
last_built: 2021-11-09T09:24Z
urls:
reference: https://jasenfinch.github.io/projecttemplates//reference
article: https://jasenfinch.github.io/projecttemplates//articles
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/createGit.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/createGithub.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/docker.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/githubActions.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/output.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/projectDirectory.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/projectSkeleton.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/projectTypes.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/readme.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/renvInitialise.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/targets.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/targetsPipeline.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/targetsRun.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/targetsScript.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/template.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/utils.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3075db0

Please sign in to comment.