Skip to content
Snippets Groups Projects
Commit 2f5a252f authored by Juliette Engelaere-Lefebvre's avatar Juliette Engelaere-Lefebvre
Browse files

edit rapport : ajout normalisePath sur le repo pour que ~fonctionne

parent 5784c33a
No related branches found
No related tags found
No related merge requests found
Pipeline #59117 passed
...@@ -7,4 +7,5 @@ dev/doc ...@@ -7,4 +7,5 @@ dev/doc
docs docs
**.xlsx **.xlsx
**.docx **.docx
!rapport_modele.docx !rapport_modele.docx
\ No newline at end of file BES2020_partie_energie_2021-04-09.odt
\ No newline at end of file
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
edit_rapports <- function(repo = paste0(Sys.getenv("HOME"), "\\bes_cae"), changer_rep_travail = FALSE){ edit_rapports <- function(repo = paste0(Sys.getenv("HOME"), "\\bes_cae"), changer_rep_travail = FALSE){
repo <- normalizePath(repo)
if(file.exists(repo)) { if(file.exists(repo)) {
message(paste0("Attention : le dossier \'", repo, "\' existe deja\nvos fichiers risquent d\'\u00eatre \u00e9cras\u00e9s.")) message(paste0("Attention : le dossier \'", repo, "\' existe deja\nvos fichiers risquent d\'\u00eatre \u00e9cras\u00e9s."))
......
...@@ -14,5 +14,5 @@ LaTeX: pdfLaTeX ...@@ -14,5 +14,5 @@ LaTeX: pdfLaTeX
BuildType: Package BuildType: Package
PackageUseDevtools: Yes PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source PackageInstallArgs: --no-multiarch --with-keep.source --html
PackageRoxygenize: rd,collate,namespace,vignette PackageRoxygenize: rd,collate,namespace,vignette
BES2020_partie_energie_2021-04-09.odt
File deleted
...@@ -21,5 +21,5 @@ NULL, Ouvre les deux fichiers Rmd a editer ...@@ -21,5 +21,5 @@ NULL, Ouvre les deux fichiers Rmd a editer
Editer les deux rapports : l'un comprenant les illustrations a fournir a commenter, l'autre avec les indicateurs necessaires a la production du commentaire. Editer les deux rapports : l'un comprenant les illustrations a fournir a commenter, l'autre avec les indicateurs necessaires a la production du commentaire.
} }
\examples{ \examples{
edit_rapports(repo = "bes_cae") edit_rapports(repo = "../bes_cae")
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment