forked from drivendataorg/cookiecutter-data-science
-
Notifications
You must be signed in to change notification settings - Fork 1
/
r-cookiecutter.todo
79 lines (62 loc) · 2.93 KB
/
r-cookiecutter.todo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# R Cookiecutter todos
☐ git init throughout @created(20-11-11 13:59)
Docs:
☐ citation howto @created(20-11-10 15:28)
Integrate other Templates:
☐ Assignment starter @created(20-11-10 15:24)
☐ Uni @created(20-11-10 16:36)
☐ Readme files uni @created(20-11-10 16:36)
☐ model diagrams library @created(20-11-10 15:55)
Devops:
☐ VSCode snippets with captions @created(20-11-10 15:29)
☐ Github actions https://gist.github.com/jimbrig/b698aae7a4fcb2b195f4686082f17618 @created(20-11-10 15:46)
☐ Check if renv already exists in setup.R @created(20-11-10 15:22)
☐ Add minimal option to setup @created(20-11-10 15:37)
Tests and code quality:
☐ Check ansible and docker setups work Readme: Alternatively, you can install using [Docker](https://hub.docker.com/_/r-base) or [Ansible](https://github.com/Oefenweb/ansible-r) on Ubuntu. @created(20-11-10 15:25)
☐ lintr @created(20-11-10 15:28)
☐ Debugging R 4.02 with renv in Slack @created(20-11-10 15:28)
☐ Add Ansible playbooks and Docker installs for different system @created(20-11-10 15:28)
Packagr:
Setup grace from devtools::install_git('https://gitlab.com/botbotdotdotcom/packagr')
```
# install.packages('devtools')
# library(packagr)
# packagr(packages) # alpha package to check, install and load packages
```
---
From Asso3 baysian:
For cookiecutter template:
set cran mirror
fix setup.R install_packages bug
tufte
tufte in requirements
style.css add
Rscript -e 'rmarkdown::render("notebooks/ass03-bayesian-charity-notebook.Rmd", output_dir="out")'; osascript -e 'display notification "rmarkdown is knitted" with title "Done"'
---
title: "Untitled"
author: "Me"
date: "`r format(Sys.time(), '%d %B, %Y, %H:%M')`"
knit: (function(inputFile, encoding) {
rmarkdown::render(inputFile,
encoding=encoding,
output_file=file.path(dirname(inputFile), out_dir, 'analysis.html')) })
output:
html_document:
number_sections: yes
toc: yes
---
---
Archive:
✔ Import partial sections in rmarkdown template @created(20-11-10 15:47) @done(20-11-10 16:39)
✔ Author details in Rmarkdown header @created(20-11-10 15:28) @done(20-11-10 16:35)
✔ Add tufte to header @created(20-11-10 16:27) @done(20-11-10 16:35)
✔ Readme: Running the tests @created(20-11-10 15:23) @done(20-11-10 16:14)
✔ dynamic fields in rmarkdown heading author title, subtitle @created(20-11-10 15:54) @done(20-11-10 16:27)
✔ update file structure diagram @created(20-11-10 15:55) @done(20-11-10 15:55)
✔ change notebooks/Phase01.Rmd to in readme and filename in how to knit @done(20-11-10 15:47)
✔ change to in readme header @created(20-11-10 15:46) @done(20-11-10 15:46)
✔ move to renv @done(20-11-10 15:46)
✔ Latex resources @created(20-11-10 15:22) @done(20-11-10 15:22)
✔ add model file called @created(20-11-10 15:22) @done(20-11-10 15:22)
✔ Remove python interpreter option in cookiecutter setup @created(20-11-10 15:26) @done(20-11-10 15:26)