From 2feb77a04f36acd27154f89f38e5b32d890fa336 Mon Sep 17 00:00:00 2001 From: olger-ixpantia Date: Wed, 16 Aug 2023 13:11:46 -0600 Subject: [PATCH 1/3] =?UTF-8?q?A=C3=B1ade=20la=20funcion=20de=20renombrami?= =?UTF-8?q?ento=20de=20archivos=20Markdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ixplorer.Rproj | 1 - 1 file changed, 1 deletion(-) diff --git a/ixplorer.Rproj b/ixplorer.Rproj index 44fd653..4b56c89 100644 --- a/ixplorer.Rproj +++ b/ixplorer.Rproj @@ -17,6 +17,5 @@ StripTrailingWhitespace: Yes BuildType: Package PackageUseDevtools: Yes -PackageCleanBeforeInstall: Yes PackageInstallArgs: --no-multiarch --with-keep.source PackageRoxygenize: rd,collate,namespace,vignette From 736dd6ac6b8645c74eefa9dd7b717d605d6c27a9 Mon Sep 17 00:00:00 2001 From: olger-ixpantia Date: Wed, 16 Aug 2023 13:40:34 -0600 Subject: [PATCH 2/3] =?UTF-8?q?T143=20a=C3=B1ade=20la=20funcion=20de=20ren?= =?UTF-8?q?ombramiento=20en=20archivos=20Markdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- R/publish_wiki.R | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/R/publish_wiki.R b/R/publish_wiki.R index 07cd7d5..43a6eb9 100644 --- a/R/publish_wiki.R +++ b/R/publish_wiki.R @@ -39,7 +39,7 @@ #' #' @export -publish_wiki <- function(report, path_wiki_repo, automatic_update = FALSE, +publish_wiki <- function(report, path_wiki_repo, automatic_update = FALSE, new_file_name = NULL, quiet_render_logs = FALSE) { # Get the report extension @@ -87,7 +87,9 @@ publish_wiki <- function(report, path_wiki_repo, automatic_update = FALSE, dot_name <- paste0(".",extension) - base_name <- stringr::str_remove_all(basename(report), dot_name) + base_name <- ifelse(is.null(new_file_name), + stringr::str_remove_all(basename(report), dot_name), + new_file_name) md <- paste0(base_name, ".md") From 6ffe8471345c168e7fc33a9e938f1190a9b2a3e9 Mon Sep 17 00:00:00 2001 From: olger-ixpantia Date: Fri, 25 Aug 2023 14:47:25 -0600 Subject: [PATCH 3/3] cambio --- R/publish_wiki.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/publish_wiki.R b/R/publish_wiki.R index 43a6eb9..e6718e4 100644 --- a/R/publish_wiki.R +++ b/R/publish_wiki.R @@ -53,7 +53,7 @@ publish_wiki <- function(report, path_wiki_repo, automatic_update = FALSE, new_f - # Repare path_wiki_repo + # Repare path_wiki_repo. if (stringr::str_sub(path_wiki_repo, start = stringr::str_length(path_wiki_repo)) == "/") {