Nothing
#' @title Subsidiary hbal Function
#' @description Function to load package description.
#' @param lib libname
#' @param pkg package name
#' @importFrom utils packageDescription
#' @references Xu, Y., & Yang, E. (2022). Hierarchically Regularized Entropy Balancing. Political Analysis, 1-8. doi:10.1017/pan.2022.12
.onAttach <- function(lib, pkg) {
mylib <- dirname(system.file(package = pkg))
title <- packageDescription(pkg, lib.loc = mylib)$Title
ver <- packageDescription(pkg, lib.loc = mylib)$Version
#author <- packageDescription(pkg, lib.loc = mylib)$Author
# packageStartupMessage(pkg, ": ", title, "\nVersion: ", ver, "\nReference: ",
# "Xu, Y., & Yang, E. (2022). Hierarchically Regularized Entropy Balancing. Political Analysis, 1-8. doi:10.1017/pan.2022.12", "\n")
packageStartupMessage(pkg, ": ", title, ", v.", ver, "\n", "Report bugs -> yiqingxu@stanford.edu")
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.