Skip to content

Commit d315c7e

Browse files
committed
add authors, r script to make applicatio html, and application file
1 parent d59d832 commit d315c7e

File tree

3 files changed

+3717
-0
lines changed

3 files changed

+3717
-0
lines changed

R/tag-and-archive.R

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# library(tidyverse)
2+
library(here)
3+
library(gert)
4+
5+
# Generate HTML of application for archiving -------------------------------
6+
# 1. Comment out the d-title element in the theme.css
7+
# 2. Comment out the navbar in the _site.yml
8+
9+
rmarkdown::render(
10+
here("index.Rmd"),
11+
output_format = distill::distill_article(self_contained = TRUE, toc = TRUE, toc_float = FALSE),
12+
output_file = here("nnf-dif-application.html")
13+
)
14+
15+
# Then add and commit to the Git repo.
16+
17+
repo_version <- "v2021.05.04"
18+
version_tag <- git_tag_create(
19+
name = repo_version,
20+
message = "Grant application submitted to Novo Nordisk Foundation for the Data Science Infrastructure funding. This is the version submitted to NNF, even though the tag date is off by a year."
21+
)
22+
git_push()
23+
git_tag_push(repo_version)
24+
if (interactive()) browseURL("https://gitlab.com/rostools/r-cubed/-/releases/new")
25+
26+
# This is for when we upload to Zenodo
27+
# tag_archive_file <- str_c("dif-project", repo_version, ".zip")
28+
# git_archive_zip(tag_archive_file)
29+
30+
# zenodo <- ZenodoManager$new(
31+
# # url = "https://sandbox.zenodo.org/api",
32+
# url = "https://zenodo.org/api",
33+
# logger = "INFO",
34+
# token = askpass::askpass()
35+
# )

index.Rmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
---
22
title: "A framework for an open and scalable infrastructure for health data exemplified by the DD2 initiative"
3+
author:
4+
- Luke W. Johnston
5+
- Alisa Devedzic Kjærgaard
6+
- Annelli Sandbæk
37
site: distill::distill_website
48
bibliography: "resources/references.bib"
59
csl: "resources/vancouver.csl"

0 commit comments

Comments
 (0)