knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "",
  fig.path = "inst/extdata/"
)

gglyph: Multivariate Data Visualization using Glyphs logo

devtools::load_all(".", quiet = TRUE) # quiet = T for hiding macOS compiler warnings
Version : r getNamespaceVersion("gglyph"); License: GPL-2|GPL-3
Aravind, J.

Division of Germplasm Conservation, ICAR-National Bureau of Plant Genetic Resources, New Delhi.


minimal R version License: GPL v3 CRAN_Status_Badge Dependencies rstudio mirror downloads

dver <- ifelse(test = gsub("(.\\.)(\\d+)(\\..)", "", getNamespaceVersion("gglyph")) != "",
               yes = getNamespaceVersion("gglyph"),
               no = gsub("Version:\\s*", "", readLines(paste0("https://raw.githubusercontent.com/", "aravind-j/gglyph", "/master/DESCRIPTION"))[grep("Version:", readLines(paste0("https://raw.githubusercontent.com/", "aravind-j/gglyph", "/master/DESCRIPTION")))]))

cat(paste("[![develVersion](https://img.shields.io/badge/devel%20version-", dver, "-orange.svg)](https://github.com/aravind-j/gglyph)", sep = ""))

Github Code Size R-CMD-check Project Status: WIP lifecycle Last-changedate Website - pkgdown .


Description

r gsub("(<doi:)(.+)(>)", "[doi:\\2](https://doi.org/\\2)", gsub("\\n", " ", packageDescription("gglyph", fields = "Description")))

Installation

# Install from CRAN
install.packages('gglyph', dependencies=TRUE)

The development version can be installed from github as follows:

# Install development version from Github
devtools::install_github("aravind-j/gglyph")

What's new

To know whats new in this version type:

news(package='gglyph')

Links

Github page

Documentation website

pkgname <- "gglyph"

osdf <-
  rbind(data.frame(OS = "Linux", 
           Flavour = c("r-devel-linux-x86_64-debian-clang",
                       "r-devel-linux-x86_64-debian-gcc", 
                       "r-devel-linux-x86_64-fedora-clang",
                       "r-devel-linux-x86_64-fedora-gcc", 
                       "r-patched-linux-x86_64",
                       "r-release-linux-x86_64")),
data.frame(OS = "Solaris", 
           Flavour = c("r-patched-solaris-x86")),
data.frame(OS = "Windows", 
           Flavour = c("r-devel-windows-ix86+x86_64", 
                       "r-release-windows-ix86+x86_64",
                       "r-oldrel-windows-ix86+x86_64")),
data.frame(OS = "macOS", 
           Flavour = c("r-release-macos-x86_64", 
                       "r-oldrel-macos-x86_64")))

osdf$`CRAN check` <- paste("[![CRAN check - ", osdf$Flavour, "]",
                    "(https://cranchecks.info/badges/flavor/",
                    osdf$Flavour, "/", pkgname, ")]",
                    "(https://cran.r-project.org/web/checks/check_results_",
                    pkgname, ".html)",
                    sep = "")
library(kableExtra, warn.conflicts = FALSE)

kosdf <- kbl(osdf[, c("Flavour", "CRAN check")], row.names = FALSE)

kosdf2 <- kable_styling(kosdf, bootstrap_options = c("striped", "hover"),
              full_width = F, position = "left")

pack_rows(kosdf2, index = c("[![Linux](https://shields.io/badge/Linux--9cf?logo=Linux&style=social)](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 6,
                            "[![Solaris](https://shields.io/badge/Solaris--9cf?logo=Oracle&style=social)](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 1,
                            "[![Windows](https://shields.io/badge/Windows--9cf?logo=Windows&style=social)](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 3,
                            "[![MacOS](https://shields.io/badge/MacOS--9cf?logo=Apple&style=social)](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 2))

Citing gglyph

To cite the methods in the package use:

citation("gglyph")
detach("package:gglyph", unload = TRUE)
suppressPackageStartupMessages(library(gglyph))
cit <- citation("gglyph")
# yr <- format(Sys.Date(), "%Y")
# cit[1]$year <- yr
# oc <- class(cit)
# 
# cit <- unclass(cit)
# attr(cit[[1]],"textVersion") <- gsub("\\(\\)",
#                                      paste("\\(", yr, "\\)", sep = ""),
#                                      attr(cit[[1]],"textVersion"))
# class(cit) <- oc
cit


aravind-j/gglyph documentation built on Aug. 2, 2022, 12:30 a.m.