knitr::opts_chunk$set(cache = FALSE, collapse = TRUE, comment = "#>", echo = TRUE, engine = "R", error = FALSE, eval = TRUE, fig.path = "man/figures/README-", fig.align = "center", fig.height = 5, fig.width = 7, out.width = "100%", highlight = TRUE, include = TRUE, message = TRUE, prompt = FALSE, purl = TRUE, results = "markup", rows.print = 5, strip.white = TRUE, tidy = FALSE, tidy.opts = list(width.cutoff = 80), warning = TRUE)
r badger::badge_repostatus("Active")
r badger::badge_last_commit("omerkara/okara")
r badger::badge_devel("omerkara/okara", "blue")
r badger::badge_dependencies("badger")
r badger::badge_code_size("omerkara/okara")
r badger::badge_license()
R/okara is an R package with miscellaneous R functions that are useful to me. Additionally, some of these R functions are frequently used by students in my courses.
To install okara
package, you need to install and/or load the devtools
package. The below code automatically installs and/or loads it for you.
``` {r devtools.package, message = FALSE, results = "hide"}
if("devtools" %in% rownames(utils::installed.packages()) == FALSE) {suppressWarnings(suppressMessages(install.packages("devtools")))}
suppressWarnings(suppressMessages(library("devtools")))
You can install the `okara` package from [GitHub](https://github.com/omerkara/okara) with the code below. ``` {r install.package.main, eval = FALSE, message = FALSE, results = "hide"} devtools::install_github("omerkara/okara")
You can also use the below codes to install the okara
package with dependencies and vignettes.
``` {r install.package.add, eval = FALSE}
devtools::install_github("omerkara/okara", dependencies = TRUE) ## With dependencies.
devtools::install_github("omerkara/okara", build_vignettes = TRUE) ## Builds the vignette on the fly.
## Loading You can load the `okara` package with the code below. ``` {r install.package, include = FALSE, message = FALSE, results = "hide"} if("okara" %in% rownames(utils::installed.packages()) == FALSE) {suppressWarnings(suppressMessages(devtools::install_github("omerkara/okara", force = FALSE)))}
``` {r load.package} library("okara")
## Get Help You can get help about the `okara` package with the code below. ``` {r help.package} help(package = "okara")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.