diff --git a/NEWS.md b/NEWS.md index d40a67ec831a42bc7197abfc244b8a031b038cea..98aef9fe4753cde967c20be6a1286e744f2b701e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,14 +1,24 @@ # spred 0.0.1 + ## stabilisation fonction FTP + Montée en version 0.0.1 pour release afin de tester les fonctions sur CI/CD gitlab ## 1 ere version dev 0.0.0.9000 Ajout des fonctions pour protocole FTP + - ftp_deploy + - ftp_dir_exist + - ftp_dir_rec + - ftp_rm_all_exept + - ftp_write_all_exept + - ftp_write_only + - local_dir_exist + - local_dir_rec diff --git a/R/ftp_write_all_exept.R b/R/ftp_write_all_exept.R index b2edc495a360972a0a3009bab07354ccb0f81573..c36e784afb243e76a8c0ea108469697f64e72176 100644 --- a/R/ftp_write_all_exept.R +++ b/R/ftp_write_all_exept.R @@ -57,7 +57,7 @@ ftp_write_all_exept <- function(dirfrom, dirto, con, url, exept=list(), verbose= this way you can ensure that the permissions will match your connection.") }) }) - print("success: the folder and its contents were successfully transferred (they overwrote the existing one without deleting it.)") + print("success: the folder and its contents were successfully transferred (they overwrote existing ones.)") }else{ stop("Deployment was interrupted, please check your ftp connection") } diff --git a/R/ftp_write_only.R b/R/ftp_write_only.R index 95e78a7c46b6d3ae2a335fcf28b7135c196c4567..fe7fa6e268e6bff106ef4d608b8e5a81a7fd8ad3 100644 --- a/R/ftp_write_only.R +++ b/R/ftp_write_only.R @@ -58,7 +58,7 @@ ftp_write_only <- function(dirfrom, dirto, con, url, only, verbose=FALSE){ this way you can ensure that the permissions will match your connection.") }) }) - print("success: the `only` contents were successfully transferred (they overwrote the existing one without deleting it.)") + print("success: the `only` contents were successfully transferred (they overwrote existing ones.)") }else{ stop("Deployment was interrupted, please check your ftp connection") } diff --git a/R/local_dir_exist.R b/R/local_dir_exist.R index b13392ac53d03674e6a5b26b85d4dce2c335f092..1ca678edc638427939afa1f682fa3c453b614bf6 100644 --- a/R/local_dir_exist.R +++ b/R/local_dir_exist.R @@ -1,4 +1,4 @@ -#' Test local folder access +#' Local folder access test #' @description #' checks if the local path exists. #' Default work directory (".") diff --git a/R/local_dir_rec.R b/R/local_dir_rec.R index 8f0d1dc23fb213947681f1b315c4fc872bf695f0..3047f7c26a04f13dfe33d0692c278e4916dfd436 100644 --- a/R/local_dir_rec.R +++ b/R/local_dir_rec.R @@ -1,4 +1,4 @@ -#' Reviewing local folder contents recursively +#' Reviewing the contents of the local folder recursively #' @description #' reviews an entire local folder and its subfolders recursively #' diff --git a/README.Rmd b/README.Rmd index b478f67823d43fae02a67da44958b57e689aba4d..4f914f5227569000e220b42e073a281cea936eda 100644 --- a/README.Rmd +++ b/README.Rmd @@ -70,6 +70,7 @@ Actuelement le package se limite à la prise en charge du protole FTP. V0.0.1 Note : aucun test unitaire n'est effectué. + Projet en *développement* ! Project in *development*! diff --git a/README.md b/README.md index 2997a145c35bd6b35a7446742d6f09ed0d221707..c33e2005d46882da17f0f382feb52a44d932c028 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ spred::ftp_deploy( exept=list(".Rproj.user/",".git/", ".Rhistory",".gitlab-ci.yml",".gitignore","dev/","data/") ) #> [1] "success: the folder has been successfully cleaned." -#> [1] "success: the folder and its contents were successfully transferred (they overwrote the existing one without deleting it.)" +#> [1] "success: the folder and its contents were successfully transferred (they overwrote existing ones.)" #> [1] "success: Deployment completed. Spred your wings ;)" ## deploiement data sur l'app via FTP spred::ftp_deploy( @@ -58,7 +58,7 @@ spred::ftp_deploy( waitingpage = list(path="/../",type="en-shiny") ) #> [1] "success: the folder has been successfully cleaned." -#> [1] "success: the folder and its contents were successfully transferred (they overwrote the existing one without deleting it.)" +#> [1] "success: the folder and its contents were successfully transferred (they overwrote existing ones.)" #> [1] "success: Deployment completed. Spred your wings ;)" ``` @@ -66,6 +66,8 @@ Actuelement le package se limite à la prise en charge du protole FTP. V0.0.1 -Note : aucun test unitaire n’est effectué. Projet en *développement* ! +Note : aucun test unitaire n’est effectué. + +Projet en *développement* ! Project in *development*! diff --git a/_pkgdown.yml b/_pkgdown.yml index bdc7e52c13bea1116bc1b28eaa85c01ab261912e..4b596e37d6f7a6376d0261e460af25f1ac8ba231 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -32,7 +32,7 @@ navbar: reference: - title: "Fonctions FTP" - desc: "Les fonctions pour vos déploiements FTP.\nFunctions for your FTP deployments." + desc: "Les fonctions pour vos déploiements FTP.\r\nFunctions for your FTP deployments." contents: - ftp_deploy - ftp_dir_exist @@ -41,7 +41,7 @@ reference: - ftp_write_all_exept - ftp_rm_all_exept - title: "Fonctions de base" - desc: "Toutes les autres fonctions pour vous aider à déployer.\nAll other functions to help you deploy." + desc: "Toutes les autres fonctions pour vous aider à déployer.\r\nAll other functions to help you deploy." contents: - local_dir_exist - local_dir_rec diff --git a/man/local_dir_exist.Rd b/man/local_dir_exist.Rd index 71356c67dd1df214ed52dfd9bb49dd84a8d88d02..771ac98bbe84e11c363d4aa9565fa2f7ad58ff16 100644 --- a/man/local_dir_exist.Rd +++ b/man/local_dir_exist.Rd @@ -2,7 +2,7 @@ % Please edit documentation in R/local_dir_exist.R \name{local_dir_exist} \alias{local_dir_exist} -\title{Test local folder access} +\title{Local folder access test} \usage{ local_dir_exist(path = ".") } diff --git a/man/local_dir_rec.Rd b/man/local_dir_rec.Rd index de82655ec4b48f39cdb1054bc655167a9bb5af70..b3849351d827c3d4cc097eedcf329349a65859c2 100644 --- a/man/local_dir_rec.Rd +++ b/man/local_dir_rec.Rd @@ -2,7 +2,7 @@ % Please edit documentation in R/local_dir_rec.R \name{local_dir_rec} \alias{local_dir_rec} -\title{Reviewing local folder contents recursively} +\title{Reviewing the contents of the local folder recursively} \usage{ local_dir_rec(path = getwd(), exept = list(), only = list()) } diff --git a/vignettes/ftp_deploy.Rmd b/vignettes/ftp_deploy.Rmd index 65aaf88ec8097231b363761851e79bdea938ed95..36f973fa05214019ec9136d35f0986df03e8650b 100644 --- a/vignettes/ftp_deploy.Rmd +++ b/vignettes/ftp_deploy.Rmd @@ -77,14 +77,14 @@ drwxrwxrwx 1 ftp ftp 0 Feb 20 15:51 projet drwxrwxrwx 1 ftp ftp 0 Feb 20 15:51 projet drwxrwxrwx 1 ftp ftp 0 Feb 20 15:51 projet [1] "success: the folder has been successfully cleaned." -[1] "success: the folder and its contents were successfully transferred (they overwrote the existing one without deleting it.)" +[1] "success: the folder and its contents were successfully transferred (they overwrote existing ones.)" [1] "success: Deployment completed. Spred your wings ;)" drwxrwxrwx 1 ftp ftp 0 Feb 20 15:51 projet drwxrwxrwx 1 ftp ftp 0 Feb 20 15:51 projet drwxrwxrwx 1 ftp ftp 0 Feb 20 15:51 projet drwxrwxrwx 1 ftp ftp 0 Feb 20 15:51 projet [1] "success: the folder has been successfully cleaned." -[1] "success: the folder and its contents were successfully transferred (they overwrote the existing one without deleting it.)" +[1] "success: the folder and its contents were successfully transferred (they overwrote existing ones.)" drwxrwxrwx 1 ftp ftp 0 Feb 20 15:51 projet drwxrwxrwx 1 ftp ftp 0 Feb 20 15:51 projet [1] "success: Deployment completed. Spred your wings ;)" @@ -116,5 +116,5 @@ ftp_write_only( only = list("README.md")) ``` <code> -[1] "success: the `only` contents were successfully transferred (they overwrote the existing one without deleting it.)" +[1] "success: the `only` contents were successfully transferred (they overwrote existing ones.)" </code>