knitr::opts_chunk$set( collapse = TRUE, comment = "", fig.path = "inst/extdata/" )
gglyph
: Multivariate Data Visualization using Glyphs devtools::load_all(".", quiet = TRUE) # quiet = T for hiding macOS compiler warnings
r getNamespaceVersion("gglyph")
; License: GPL-2|GPL-3Division of Germplasm Conservation, ICAR-National Bureau of Plant Genetic Resources, New Delhi.
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("[](https://github.com/aravind-j/gglyph)", sep = ""))
r gsub("(<doi:)(.+)(>)", "[doi:\\2](https://doi.org/\\2)", gsub("\\n", " ", packageDescription("gglyph", fields = "Description")))
# 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")
To know whats new in this version type:
news(package='gglyph')
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("[](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 6, "[](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 1, "[](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 3, "[](https://cran.r-project.org/web/checks/check_results_ammistability.html)" = 2))
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.