Skip to content

Commit

Permalink
first go at pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewphamilton committed Oct 7, 2024
1 parent 1154e8b commit a7c2db9
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 12 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,22 @@ jobs:

- uses: r-lib/actions/setup-tinytex@v2

- uses: r-lib/actions/setup-tinytex@v2

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

# Addresses issue with incompatibility between libcurl4-gnutls-dev and libcurl4-openssl-dev
# Below fix is a customisation of approach outlined in https://github.com/r-hub/sysreqsdb/issues/77#issuecomment-620025428
- name: Install libraptor on Linux
if: runner.os == 'Linux'
run: |
sudo add-apt-repository ppa:cran/librdf
sudo apt update
# Addresses issue with incompatibility between libcurl4-gnutls-dev and libcurl4-openssl-dev
# Below fix is a customisation of approach outlined in https://github.com/r-hub/sysreqsdb/issues/77#issuecomment-620025428
- name: Install libraptor on Linux
Expand Down
11 changes: 7 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Authors@R: c(
comment = c(ORCID = "0000-0001-7407-9194")),
person("Monash University", role = "cph")
)
Description: Tools for undertakingtime series analysis of mental health
Description: Tools for undertaking time series analysis of mental health
services datasets developed with the ready4 framework
(https://ready4-dev.github.io/ready4/). This development version of
the serious package has been made available as part of the process of
Expand Down Expand Up @@ -45,7 +45,7 @@ Imports:
purrr,
readabs,
ready4,
ready4show,
ready4show (>= 0.0.0.9114),
ready4use (>= 0.0.0.9233),
rlang,
stats,
Expand All @@ -55,6 +55,9 @@ Imports:
tidyselect,
tsibble,
xts,
youthu (>= 0.0.0.9122),
youthvars
Remotes:
ready4-dev/ready4use
Remotes:
ready4-dev/ready4use,
ready4-dev/ready4show,
ready4-dev/youthu
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[![CRAN status](https://www.r-pkg.org/badges/version/serious)](https://CRAN.R-project.org/package=serious)
<!-- badges: end -->

Tools for undertakingtime series analysis of mental health
Tools for undertaking time series analysis of mental health
services datasets developed with the ready4 framework
(https://ready4-dev.github.io/ready4/). This development version of
the serious package has been made available as part of the process of
Expand Down
2 changes: 1 addition & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ home:
href: https://github.com/ready4-dev/serious/releases/download/Documentation_0.0/serious_User.pdf
- text: Manual - Developer (PDF)
href: https://github.com/ready4-dev/serious/releases/download/Documentation_0.0/serious_Developer.pdf
- text: Model
- text: Framework
href: https://ready4-dev.github.io/ready4/
development:
mode: auto
Expand Down
11 changes: 7 additions & 4 deletions data-raw/DATASET.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ library(ready4fun)
# fns_env_ls <- ready4fun::read_fns(c("data-raw/fns/","data-raw/mthds/"),
# fns_env = new.env(parent = globalenv()))
x <- ready4fun::make_pkg_desc_ls(pkg_title_1L_chr = "Develop, Test and Apply Time Series Models For Mental Health Economic Analyses",
pkg_desc_1L_chr = "Tools for undertakingtime series analysis of mental health services datasets developed with the ready4 framework (https://ready4-dev.github.io/ready4/).
pkg_desc_1L_chr = "Tools for undertaking time series analysis of mental health services datasets developed with the ready4 framework (https://ready4-dev.github.io/ready4/).
This development version of the serious package has been made available as part of the process of testing and documenting the package.
If you have any questions, please contact the authors (matthew.hamilton1@monash.edu).",
authors_prsn = c(utils::person(given = "Matthew",family = "Hamilton",email = "matthew.hamilton1@monash.edu", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-7407-9194")),
Expand All @@ -28,9 +28,10 @@ x <- ready4fun::make_pkg_desc_ls(pkg_title_1L_chr = "Develop, Test and Apply Tim
"transform_to_tsibble")),##
dev_pkgs_chr = c(#"cmdstanr",
#"ready4",#"ready4fun",
"ready4use"
#,"ready4show"#,
#"youthvars","scorz",
"ready4use",
"ready4show",
"youthvars",
#"scorz",
#"specific"
),
lifecycle_stage_1L_chr = "experimental",
Expand All @@ -56,5 +57,7 @@ write_to_tidy_pkg(z$x_ready4fun_manifest,
# readLines("_pkgdown.yml") %>%
# stringr::str_replace_all(" - text: Model", " - text: Framework & Model") %>%
# writeLines(con = "_pkgdown.yml")
usethis::use_dev_package("ready4show")
usethis::use_dev_package("youthu")
write_citation_fl(z$x_ready4fun_manifest)
# devtools::build_vignettes()
4 changes: 2 additions & 2 deletions man/serious-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a7c2db9

Please sign in to comment.