From ab4e1c19fa3bcd4aeb946dbe2174568f6dd223b4 Mon Sep 17 00:00:00 2001 From: Richard Guo Date: Fri, 26 Jan 2024 22:05:47 +0000 Subject: [PATCH] fixed Pkg doc per https://github.com/r-lib/roxygen2/issues/1491 --- DESCRIPTION | 4 ++-- R/eff2.R | 2 +- man/eff2.Rd | 13 +++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ad530b8..f2c7901 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: eff2 Type: Package Title: Efficient Least Squares for Total Causal Effects -Version: 1.0.1 +Version: 1.0.2 Author: Richard Guo [aut, cre] () Maintainer: Richard Guo Authors@R: c( @@ -35,7 +35,7 @@ Suggests: knitr, testthat, qgraph VignetteBuilder: knitr -RoxygenNote: 7.1.2 +RoxygenNote: 7.2.3 Roxygen: list(markdown = TRUE) Encoding: UTF-8 LazyData: true diff --git a/R/eff2.R b/R/eff2.R index 3883eb7..675b948 100644 --- a/R/eff2.R +++ b/R/eff2.R @@ -21,4 +21,4 @@ #' #' @docType package #' @name eff2 -NULL +"_PACKAGE" diff --git a/man/eff2.Rd b/man/eff2.Rd index fd9bdd5..a04c261 100644 --- a/man/eff2.Rd +++ b/man/eff2.Rd @@ -3,6 +3,7 @@ \docType{package} \name{eff2} \alias{eff2} +\alias{eff2-package} \title{eff2: efficient least squares for estimating total causal effects} \description{ Estimate a total causal effect from observational data under @@ -25,3 +26,15 @@ Use \code{\link{estimateEffect}} to estimate a total effect. Use \code{\link{isIdentified}} to determine if a total effect can be identified. } +\seealso{ +Useful links: +\itemize{ + \item \url{https://github.com/richardkwo/eff2} + \item Report bugs at \url{https://github.com/richardkwo/eff2/issues} +} + +} +\author{ +\strong{Maintainer}: Richard Guo \email{ricguo@uw.edu} (\href{https://orcid.org/0000-0002-2081-7398}{ORCID}) + +}