Skip to content

Commit

Permalink
Merge pull request #21 from phuse-org/book_setup
Browse files Browse the repository at this point in the history
Get the book setup
  • Loading branch information
mstackhouse committed Oct 27, 2023
2 parents 456f41d + d64ae49 commit 7d136f1
Show file tree
Hide file tree
Showing 13 changed files with 169 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
48 changes: 48 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
on:
workflow_dispatch:
push:
branches: main

name: Quarto Publish

jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Install TinyTeX
uses: r-lib/actions/setup-tinytex@v2
env:
TINYTEX_INSTALLER: TinyTeX

- name: Install curl
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
r-version: '4.3.1'
use-public-rspm: false
- uses: r-lib/actions/setup-renv@v2

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Render
run: |
quarto render
quarto render slides/eu23
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _rendered # The folder the action should deploy.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.Rproj.user
.Rhistory
.RData
.Ruserdata

/.quarto/

_book/

*.docx

_rendered/
13 changes: 13 additions & 0 deletions OSTCDA.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX
39 changes: 39 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
project:
type: book
render:
- "*.qmd"
- "!slides/" # do not render slides folder
output-dir: _rendered

book:
title: "Open Source Technology in Clinical Data Analysis"
#subtitle: "Data Visualisation & Open Source Technology Working Group"
edition: "DRAFT"
author: "PHUSE"
abstract: "A significant amount of time and energy has been invested in recent years exploring the desirability (do we want it?), feasibility (can we do it?), and viability (is it worth it?) of integrating open source solutions into our clinical data pipelines which transform source data into clinical study reports and submission data packages."
#date: "10/27/2023"
sharing: [twitter, facebook]
downloads: [pdf, docx]
sidebar:
search: true
logo: assets/phuse.png
chapters:
- index.qmd
- intro.qmd
- summary.qmd
- references.qmd

bibliography: references.bib

format:
html:
theme: cosmo
pdf:
documentclass: scrreprt
docx:
toc: true
number-sections: true
highlight-style: github

editor: visual

Binary file added assets/phuse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Preface {.unnumbered}

This is a Quarto book.

To learn more about Quarto books visit <https://quarto.org/docs/books>.

```{r}
1 + 1
```
16 changes: 16 additions & 0 deletions intro.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# OSTCDA
Open Source Technology in Clinical Data Analysis

A significant amount of time and energy has been invested in recent years exploring the desirability (do we want it?), feasibility (can we do it?), and viability (is it worth it?) of integrating open source solutions into our clinical data pipelines which transform source data into clinical study reports and submission data packages.

This repository will serve to collect and synthesize expert opinions and resources for a (hopefully) comprehensive set of [questions](https://github.com/phuse-org/OSTCDA/discussions) which arise as organizations travel this journey.

The [discussions](https://github.com/phuse-org/OSTCDA/discussions) will provide citable (and sometimes quotable) input from industry experts, resulting in a “state of the union”-style manuscript that will help us move past questions that have already been sufficiently addressed and focus on those that remain.

We invite you to navigate to the [Discussions section](https://github.com/phuse-org/OSTCDA/discussions) section to provide your thoughts, resources, or perspectives that help address any or all of the questions. If we've overlooked a key question - start up a new discussion thread!

## Purpose and Background

There are many questions around understanding and using open source for clinical data analysis. We want to create a comprehesive knowledge base about the "state of the union" and provide an overview and ideally also answers for core questions. We need and collect input from our community to compile the knowledge base, so please join the discussions to allow a broad and complete picutre.

If you like to know more, please join the R/Pharma talk "The State of Open Source Technology in Clinical Data Analysis, Reporting, and Submissions". The recording will be made available after the conference.
19 changes: 19 additions & 0 deletions references.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@article{knuth84,
author = {Knuth, Donald E.},
title = {Literate Programming},
year = {1984},
issue_date = {May 1984},
publisher = {Oxford University Press, Inc.},
address = {USA},
volume = {27},
number = {2},
issn = {0010-4620},
url = {https://doi.org/10.1093/comjnl/27.2.97},
doi = {10.1093/comjnl/27.2.97},
journal = {Comput. J.},
month = may,
pages = {97–111},
numpages = {15}
}


4 changes: 4 additions & 0 deletions references.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# References {.unnumbered}

::: {#refs}
:::
7 changes: 7 additions & 0 deletions summary.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Summary

In summary, this book has no content whatsoever.

```{r}
1 + 1
```

0 comments on commit 7d136f1

Please sign in to comment.