From c24920b5fdf8414ebbfc91d44e762c92ca27d5b4 Mon Sep 17 00:00:00 2001 From: Jason Fisher Date: Wed, 22 Jul 2020 09:15:46 -0700 Subject: [PATCH] Set variant to markdown_github --- README.Rmd | 3 ++- README.md | 16 +++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/README.Rmd b/README.Rmd index ce684fd..ac1df23 100644 --- a/README.Rmd +++ b/README.Rmd @@ -1,6 +1,7 @@ --- output: - md_document + md_document: + variant: markdown_github --- inlmisc diff --git a/README.md b/README.md index b5873b7..f52ba23 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,17 @@ The current release is available on [CRAN](https://CRAN.R-project.org/package=inlmisc "The Comprehensive R Archive Network"), which you can install using the following command: - install.packages("inlmisc", dependencies = TRUE) +``` r +install.packages("inlmisc", dependencies = TRUE) +``` To install the development version, you need to clone the repository and build from source, or run: - if (!requireNamespace("remotes")) install.packages("remotes") - remotes::install_github("USGS-R/inlmisc", dependencies = TRUE) +``` r +if (!requireNamespace("remotes")) install.packages("remotes") +remotes::install_github("USGS-R/inlmisc", dependencies = TRUE) +``` Usage ----- @@ -47,8 +51,10 @@ Usage Examples are given in the package help pages. To access this documentation, run: - library("inlmisc") - help(package = "inlmisc") +``` r +library("inlmisc") +help(package = "inlmisc") +``` Author ------