From 8c39cbf9f8b0532b2ecf49b84b9a9954a7870e8d Mon Sep 17 00:00:00 2001 From: yhoriuchi Date: Sat, 15 Jul 2023 17:06:45 -0400 Subject: [PATCH] Fixed some errors --- .DS_Store | Bin 8196 -> 8196 bytes .Rbuildignore | 1 + DESCRIPTION | 1 + vignettes/01-read-wrangle.Rmd | 2 +- vignettes/02-predict-irr.Rmd | 5 +---- vignettes/03-estimate-mm.Rmd | 6 ++---- vignettes/04-estimate-amce.Rmd | 2 +- vignettes/projoint.Rmd | 2 +- 8 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.DS_Store b/.DS_Store index 9fbf0d4614d80de16543ebf06a8a52408e6b8693..27d8d2358683e3d8e31fc3be1531a98518abcab7 100644 GIT binary patch delta 54 zcmZp1XmOa}&nUPtU^hRb;AS2H7skoQh3+vjPF^Pb9!O3T(EyVBMec7_=Xt=qm|cQ( IW5Hi00O^GiPyhe` delta 284 zcmZp1XmOa}&nU4mU^hRb#AY4=7e-MQhD?S$hGK@2r1Ii|q@4UD1_p**lf#7yC8esX zO-)R66pYNwYjqT=4b4oAbrcK@4J;?07BH@d>q{w4&PmG8&tU{=gbU`R8wMxm=N16P zU;r+coA2TRwTQ#{%}a}R!=sKsMM&}~c;yQ+fMzS2NxuL9 diff --git a/.Rbuildignore b/.Rbuildignore index 44fd212..0af42f2 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -9,3 +9,4 @@ ^TODO\.txt$ ^data-raw$ ^desktop\.ini$ +vignettes \ No newline at end of file diff --git a/DESCRIPTION b/DESCRIPTION index dd6266e..8c7fce0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -29,3 +29,4 @@ URL: https://yhoriuchi.github.io/projoint/ Depends: R (>= 2.10) LazyData: true +VignetteBuilder: knitr diff --git a/vignettes/01-read-wrangle.Rmd b/vignettes/01-read-wrangle.Rmd index d3c9b2c..f52adbd 100644 --- a/vignettes/01-read-wrangle.Rmd +++ b/vignettes/01-read-wrangle.Rmd @@ -6,7 +6,7 @@ description: > vignette: > %\VignetteIndexEntry{Step 01: Read and wrangle data} %\VignetteEngine{knitr::rmarkdown} - \usepackage[utf8]{inputenc} + %\VignetteEncoding{UTF-8} --- ## Test diff --git a/vignettes/02-predict-irr.Rmd b/vignettes/02-predict-irr.Rmd index a52db03..bed20da 100644 --- a/vignettes/02-predict-irr.Rmd +++ b/vignettes/02-predict-irr.Rmd @@ -6,16 +6,13 @@ description: > vignette: > %\VignetteIndexEntry{Step 02: Predict IRR} %\VignetteEngine{knitr::rmarkdown} - \usepackage[utf8]{inputenc} + %\VignetteEncoding{UTF-8} --- Read, ... ```{r} library(tidyverse) -``` - -```{r} library(projoint) ``` diff --git a/vignettes/03-estimate-mm.Rmd b/vignettes/03-estimate-mm.Rmd index 13da010..7b891fc 100644 --- a/vignettes/03-estimate-mm.Rmd +++ b/vignettes/03-estimate-mm.Rmd @@ -6,18 +6,16 @@ description: > vignette: > %\VignetteIndexEntry{Step 03: Estimate and correct MMs} %\VignetteEngine{knitr::rmarkdown} - \usepackage[utf8]{inputenc} + %\VignetteEncoding{UTF-8} --- ```{r} library(tidyverse) -``` - -```{r} library(projoint) ``` + ```{r} outcomes <- str_c("choice", seq(from = 1, to = 8, by = 1)) outcomes <- c(outcomes, "choice1_repeated_flipped") diff --git a/vignettes/04-estimate-amce.Rmd b/vignettes/04-estimate-amce.Rmd index a8e8217..306ea0b 100644 --- a/vignettes/04-estimate-amce.Rmd +++ b/vignettes/04-estimate-amce.Rmd @@ -6,5 +6,5 @@ description: > vignette: > %\VignetteIndexEntry{Step 04: Estimate and correct AMCEs} %\VignetteEngine{knitr::rmarkdown} - \usepackage[utf8]{inputenc} + %\VignetteEncoding{UTF-8} --- diff --git a/vignettes/projoint.Rmd b/vignettes/projoint.Rmd index 8ec8025..9db326b 100644 --- a/vignettes/projoint.Rmd +++ b/vignettes/projoint.Rmd @@ -6,7 +6,7 @@ output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{Introduction to projoint} %\VignetteEngine{knitr::rmarkdown} - \usepackage[utf8]{inputenc} + %\VignetteEncoding{UTF-8} --- The goal of projoint is to ...