-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
and creates an index, and makes html look good
- Loading branch information
Showing
14 changed files
with
3,796 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
replace_yaml = function(alt_dep, rmd_doc, yaml_doc, | ||
out_file = "docs/ici_kt_manuscript_html.Rmd") | ||
{ | ||
# alt_dep = tar_read(manuscript) | ||
# rmd_doc = "docs/ici_kt_manuscript.Rmd" | ||
# yaml_doc = "docs/html_document_opts.yaml" | ||
# out_file = "docs/ici_kt_manuscript_html.Rmd" | ||
rmd_contents = readLines(rmd_doc) | ||
yaml_locs = grep("---", rmd_contents) | ||
yaml_range = seq(yaml_locs[1], yaml_locs[2], 1) | ||
rmd_noyaml = rmd_contents[-yaml_range] | ||
|
||
new_yaml = readLines(yaml_doc) | ||
new_yaml_delim = c("---", new_yaml, "---") | ||
rmd_newyaml = c(new_yaml_delim, rmd_noyaml) | ||
cat(rmd_newyaml, file = out_file, sep = "\n", append = FALSE) | ||
return(out_file) | ||
} | ||
|
||
copy_figure = function(manuscript_dep, from_loc, to_loc) | ||
{ | ||
fs::file_copy(from_loc, to_loc) | ||
to_loc | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
title: 'Information-Content-Informed Kendall-tau Correlation: Utilizing Missing Values' | ||
author: "Robert M Flight, Praneeth S Bhatt, Hunter NB Moseley" | ||
output: | ||
rmarkdown::html_document: | ||
self_contained: yes | ||
toc: true | ||
toc_float: | ||
collapsed: false | ||
smooth_scroll: false | ||
date: '`r Sys.time()`' | ||
bibliography: '`r here::here("docs/icikt_references.json")`' | ||
csl: plos-computational-biology.csl | ||
editor_options: | ||
chunk_output_type: console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.