-
Notifications
You must be signed in to change notification settings - Fork 2
/
HelpfulLinks.txt
82 lines (48 loc) · 3.29 KB
/
HelpfulLinks.txt
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
80
81
82
This file contains helpful links that have been found to be useful by others for this project.
====== Source Control ( Git ) =======
https://git-scm.com/book/en/v1/Getting-Started-About-Version-Control, or https://backlog.com/git-tutorial/ - Introductions
https://git-for-windows.github.io/ - Git for Windows, I believe you need to install this to use source control
https://tortoisegit.org/ - Free Window shell program (runs in Windows explorer by Right clicking on a folder/file)
https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control - Great starting intro to Git and source control. There is a "Chapters" link that allows for navigation to specific points.
https://git-scm.com/docs/gittutorial
https://www.atlassian.com/git/tutorials/setting-up-a-repository
====== R Packages ======
Imports vs Depends https://campus.datacamp.com/courses/developing-r-packages/checking-and-building-r-packages?ex=8
====== Packrat =====
Useful to create a private package library in the project. Helpful, for making projects reproducable.
https://rstudio.github.io/packrat/walkthrough.html
====== S3 Classes ======
See ExampleS3Class.R for a worked example with S3 classes and how the generic function usage.
http://adv-r.had.co.nz/S3.html - Good introduction to S3 classes
====== Testing with testthat package ======
http://r-pkgs.had.co.nz/tests.html - Great overview and introduction to testthat.
With the WD at the Package directory, you can use
test_file( "tests/testthat/test_TrialMonitor.R") -- To execute the tests in one file
devtools::test() to execute all the testthat tests in the package.
===== Code coverage ====
Package covr
https://www.rstudio.com/resources/webinars/covr-bringing-test-coverage-to-r/
==== Travis CI (Continuous Integration) ================
https://docs.travis-ci.com/user/tutorial/
==== remotes package ====
To install packages from GitHub
https://remotes.r-lib.org/
Example: remotes::install_github( "kwathen/OCTOPUS", "Version1.3.0.3" )
=== GitHub Website with pkgdown =============
https://www.r-bloggers.com/building-a-website-with-pkgdown-a-short-guide/
pkgdown::build_favicons(overwrite=TRUE)
===== Including Shiny app Examples in a Package ====
https://www.r-bloggers.com/supplementing-your-r-package-with-a-shiny-app-2/
==== Shiny =====
https://shiny.rstudio.com/gallery/
https://www.rstudio.com/products/shiny/shiny-user-showcase/
https://www.rstudio.com/wp-content/uploads/2016/01/shiny-cheatsheet.pdf
===== Making a Hex Package Sticker ====
https://github.com/GuangchuangYu/hexSticker
library( "hexSticker")
#This line will create the hex sticker with a red background and a black border
sticker( subplot="viper5.jpg", s_x=100, s_y=100 , package="", filename="hexlogo.png", dpi=1200, h_fill="#DD0433", h_color="#000000")
sticker( subplot="MiscFiles/OctopusPic.png", s_x=1.0,s_y=.75, s_height = .7, s_width=.6, package="OCTOPUS", filename="Octopus4.png", dpi=600, h_fill="#ffffff", h_color="#000080", p_size=48, p_color="#000082", p_family = "Aller_Bd")
sticker( subplot="MiscFiles/OctopusPic.png", s_x=1.0,s_y=.75, s_height = .7, s_width=.6, package="OCTOPUS", filename="hexlogo.png"", dpi=1200, h_fill="#ffffff", h_color="#000080", p_size=48, p_color="#000082", p_family = "Aller_Bd")
==== JAGS ====
http://www.sourceforge.net/projects/mcmc-jags/files