Skip to content

Commit

Permalink
README: Example screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
crsh committed Feb 11, 2016
1 parent 19e6b57 commit 3c822b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/cos_prereg.R
Expand Up @@ -42,7 +42,7 @@ pdf_pre_processor <- function(metadata, input_file, runtime, knit_meta, files_di
if (!has_geometry(readLines(input_file, warn = FALSE)))
args <- c(args
, "--variable", "geometry:left=2.5in"
, "--variable", "geometry:bottom=1.5in"
, "--variable", "geometry:bottom=1.25in"
, "--variable", "geometry:top=1.25in"
, "--variable", "geometry:right=1in"
)
Expand Down
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -23,8 +23,16 @@ devtools::install_github("crsh/prereg")
### Create a preregistration document
Once you have installed the `prereg` you can select the template when creating a new RMarkdown file through the RStudio menus.

<center>
![](https://www.dropbox.com/s/y39lywyloypuncb/template_selection.png?dl=1)
</center>

#### Example
The template produces a clean form-like document:

<center>
![](https://www.dropbox.com/s/fq6giram61bxe2m/prereg_page1.png?dl=1) ![](https://www.dropbox.com/s/cm64wpnl8la72q0/prereg_page2.png?dl=1)
</center>

#### Using prereg without RStudio
If you want to use `prereg` without RStudio you can use the `rmarkdown::render` function to create preregistration documents:
Expand Down

0 comments on commit 3c822b5

Please sign in to comment.