Skip to content

Commit 2067544

Browse files
authored
Merge pull request #212 from Nick-Rivera/master
Updated vignettes and library table
2 parents 993e359 + d32564a commit 2067544

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

inst/extdata/overview.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ multi_arm_design,multi_arm_designer,multi_arm,,multi_arm,DeclareDesign,https://d
77
pretest_posttest_design,pretest_posttest_designer,pretest_posttest,,pretest_posttest,DeclareDesign,https://declaredesign.org/about/
88
randomized_response_design,randomized_response_designer,randomized_response,,randomized_response,DeclareDesign,https://declaredesign.org/about/
99
regression_discontinuity_design,regression_discontinuity_designer,regression_discontinuity,,regression_discontinuity,DeclareDesign,https://declaredesign.org/about/
10-
spillover_design,spillover_designer,spillover,,spillover,DeclareDesign,https://declaredesign.org/about/
11-
two_arm_design,two_arm_designer,two_arm,,two_arm,DeclareDesign,https://declaredesign.org/about/
10+
spillover_design,spillover_designer,simple_spillover,,spillover,DeclareDesign,https://declaredesign.org/about/
11+
two_arm_design,two_arm_designer,simple_two_arm,,two_arm,DeclareDesign,https://declaredesign.org/about/
1212
two_by_two_design,two_by_two_designer,,,two_by_two,DeclareDesign,https://declaredesign.org/about/
1313
two_arm_attrition_design,two_arm_attrition_designer,,,,DeclareDesign,https://declaredesign.org/about/
1414
process_tracing_design,process_tracing_designer,,,process_tracing,DeclareDesign,https://declaredesign.org/about/

vignettes/How_to_Write_and_Contribute_Designers.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ We've devised an easy way to include code in design objects returned by a design
8383

8484
## Our method for adding code
8585

86-
One easy way to add code to the designs that your designer returns is to use our triple braces method. Any checks (such as those that look to see whether `prob` is between 0 and 1) come before the opening triple braces, `{{{`. Then, all the code needed to build the design goes between the triple braces:
86+
One easy way to add code to the designs that your designer returns is to use our triple braces method. Any checks (such as those that look to see whether `prob` is between 0 and 1) come before the opening triple braces, <code> {{{ </code>. Then, all the code needed to build the design goes between the triple braces:
8787

8888
```{r, eval=FALSE}
8989
{{{
@@ -102,7 +102,7 @@ One easy way to add code to the designs that your designer returns is to use our
102102
}}}
103103
```
104104

105-
Our function `construct_design_code` goes into the designer and extracts all of the code between `{{{` and `}}}`. Then, `match.call.defaults()` checks what arguments the user gave the function, and adds them to the top of the extracted code in a list that looks like this:
105+
Our function `construct_design_code` goes into the designer and extracts all of the code between <code> {{{ </code> and <code> }}} </code>. Then, `match.call.defaults()` checks what arguments the user gave the function, and adds them to the top of the extracted code in a list that looks like this:
106106

107107
```{r,eval = F}
108108
N <- 100

0 commit comments

Comments
 (0)