Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
vertesy committed Dec 8, 2021
1 parent d70e02d commit 9c46ca8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cff-version: 1.2.0
title: vertesy/MarkdownReports v4.3.2 Type Less, Plot More. Create (scientific) plots with very little code and write (markdown) reports easily from your R scripts.
version: v4.3.2
version: v4.5.3
message: >-
If you use this software, please cite it using these metadata.
type: software
Expand Down
15 changes: 8 additions & 7 deletions Development/Create_the_MarkdownReports_Package.v4.3.2.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ getwd()
devtools::document()


{
"update cff version"
citpath <- paste0(RepositoryDir, 'CITATION.cff')
xfun::gsub_file(file = citpath, perl = T
, "^version: v.+", paste0("version: v", package.version))
}


# Install your package ------------------------------------------------
# # setwd(RepositoryDir)
install(RepositoryDir, upgrade = F)
Expand All @@ -94,13 +102,6 @@ install(RepositoryDir, upgrade = F)
# cat("\014")
# devtools::run_examples()

{
"update cff version"
citpath <- paste0(RepositoryDir, 'CITATION.cff')
xfun::gsub_file(file = citpath, perl = T
, "^version: v.+", paste0("version: v", package.version))
}


# Test if you can install from github ------------------------------------------------
# devtools::install_github(repo = "vertesy/MarkdownReports")
Expand Down

0 comments on commit 9c46ca8

Please sign in to comment.