--- title: "Getting started with Dyn4cast" output: rmarkdown::html_vignette description: | An overview of installation procedures. vignette: > %\VignetteIndexEntry{Getting started with Dyn4cast} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r setup, include=FALSE} knitr::opts_chunk$set(tidy = "styler", fig.align = "center", comment = NA, warning = FALSE, error = FALSE, message = FALSE, collapse = FALSE, out.width = "100%", dev = "ragg_png", #<- prevent default Windows device to # render plots dpi = 132, echo = FALSE) options(scipen = 999, digits = 2) options(rmarkdown.html_vignette.check_title = FALSE) ``` ## Installation `Dyn4cast` is not yet on CRAN, so only the development version is available. However, the package is very functional and stable and is actively being watched for any issue. Presently, it has passed all the tests it was subjected to as can be seen here. [![R-CMD-check](https://github.com/JobNmadu/Dyn4cast/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/JobNmadu/Dyn4cast/actions/workflows/R-CMD-check.yaml) [![registry status badge](https://jobnmadu.r-universe.dev/badges/:registry)](https://jobnmadu.r-universe.dev/) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/JobNmadu/Dyn4cast?color=green)](https://github.com/JobNmadu/Dyn4cast/releases) [![codecov](https://codecov.io/gh/JobNmadu/Dyn4cast/graph/badge.svg?token=RYV9KWHBN5)](https://codecov.io/gh/JobNmadu/Dyn4cast) [![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable) [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) To install the development version of `Dyn4cast` from GitHub, use the following canonical form: ```{r github, echo = TRUE, eval = FALSE} # install.packages("devtools") pak::pak("JobNmadu/Dyn4cast") ``` The development version can also be installed through r-universe. Use the form: ```{r universe, echo = TRUE, eval = FALSE} install.packages("Dyn4cast", repos = c("https://jobnmadu.r-universe.dev", "https://cloud.r-project.org")) ``` ## Suggested packages A number of other packages are required for the smooth running of the package and may need to be installed if not already installed on your machine. Some of the packages are listed below: ```{r install-suggested, echo = TRUE, eval = FALSE} install.packages(c("lubridate", "tidyverse", "xlsx", "readxl", "rmarkdown", "covr", "qpdf", "caret", "kableExtra", "knitr", "spelling", "psych", "lifecycle", "MetBrewer", "data.table", "ggtext", "lubridate", "forecast", "MASS", "mlogit", "nnet", "betareg", "mvProbit", "miscTools")) ``` ## Citation The citation information for this package can be obtained easily when you run `citation("Dyn4cast")` in your `R` console. ```{r citation, comment = "", warning = FALSE} citation("Dyn4cast") ```