Skip to content

Commit b22a0b5

Browse files
more typo fixes
1 parent b902691 commit b22a0b5

4 files changed

Lines changed: 23 additions & 15 deletions

File tree

CITATION.cff

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
cff-version: 1.2.0
2-
message: ". Zenodo.uthor1Given Author1Family <name@example.com> [aut and cre] (<https://orcid.org/0000-0000-0000-0000>) (2024). : . . https://doi.org/10.5281/zenodo.5606250"
2+
message: "Author1Given Author1Family (2024). template: Do Something Related to Mental Health Economic Modelling. Version 0.0.0.9002. "
33
authors:
4-
- family-names: "(<https://orcid.org/0000-0000-0000-0000>)"
5-
given-names: "Author1Given Author1Family <name@example.com> [aut, cre]"
6-
title: ": "
7-
version:
8-
doi: 10.5281/zenodo.5606250
4+
- family-names: "Author1Family"
5+
given-names: "Author1Given"
6+
title: "template: Do Something Related to Mental Health Economic Modelling"
7+
version: 0.0.0.9002
98
date-released: 2024-12-02
109
url: "https://ready4-dev.github.io/template/"

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Description: A description of what this model module library does. Mention
1313
the process of testing and documenting the library. You can also
1414
direct users with any questions about the library to the maintainer's
1515
email address (supply email here).
16-
License: GPL-3 + file LICENSE
16+
License: GPL-3
1717
URL: https://ready4-dev.github.io/template/,
1818
https://github.com/ready4-dev/template,
1919
https://ready4-dev.github.io/ready4/
@@ -23,6 +23,7 @@ RoxygenNote: 7.3.2
2323
Suggests:
2424
knitr,
2525
knitrBootstrap,
26+
pkgload,
2627
rmarkdown,
2728
testthat
2829
VignetteBuilder: knitr

data-raw/DATASET.R

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,14 @@ write_to_tidy_pkg(z$x_ready4fun_manifest,
5151
# stringr::str_replace_all(" - text: Model", " - text: Framework & Model") %>%
5252
# writeLines(con = "_pkgdown.yml")
5353
write_citation_fl(z$x_ready4fun_manifest)
54-
ready4::write_citation_cff(z$x_ready4fun_manifest,
55-
citation_chr = readLines("inst/CITATION"))
56-
#
5754
desc_chr <- readLines("DESCRIPTION")
55+
# ready4::write_citation_cff(z$x_ready4fun_manifest$initial_ls$pkg_desc_ls %>% append(list(Version = desc_chr[desc_chr %>% startsWith("Version")] %>% stringr::str_remove("Version: "))),
56+
# citation_chr = readLines("inst/CITATION"),
57+
# publisher_1L_chr = "")
5858
index_1L_int <- which(desc_chr==" person(\"CopyrightHolder\", role = \"cph\")")
59-
c(desc_chr[1:(index_1L_int-2)], stringr::str_sub(desc_chr[(index_1L_int-1)], end = -2), desc_chr[(index_1L_int+1):length(desc_chr)]) %>%
60-
writeLines("DESCRIPTION")
61-
devtools::document()
59+
if(!identical(index_1L_int, integer(0))){
60+
c(desc_chr[1:(index_1L_int-2)], stringr::str_sub(desc_chr[(index_1L_int-1)], end = -2), desc_chr[(index_1L_int+1):length(desc_chr)]) %>%
61+
writeLines("DESCRIPTION")
62+
devtools::document()
63+
}
64+

man/template-package.Rd

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)