... | ... |
@@ -4,7 +4,7 @@ |
4 | 4 |
|
5 | 5 |
[](http://bioconductor.org/checkResults/devel/bioc-LATEST/RCy3/) - Bioconductor Dev Build |
6 | 6 |
|
7 |
-[](https://travis-ci.org/cytoscape/RCy3) - GitHub Dev Build by Travis |
|
7 |
+[](https://travis-ci.org/cytoscape/RCy3) - GitHub Dev Build by Travis |
|
8 | 8 |
|
9 | 9 |
Building upon the phenominal success of RCytoscape and RCy3, Cytoscape is adopting |
10 | 10 |
this project to provide a robust R package for the rapidly evolving Cytoscape |
... | ... |
@@ -14,7 +14,7 @@ ecosystem. We are beginning with a major refactor of RCy3 that includes: |
14 | 14 |
* harmonized function and argument names |
15 | 15 |
* support for Cytoscape commands |
16 | 16 |
* better support for Cytoscape apps |
17 |
-* see [NEWS](https://github.com/cytoscape/RCy3/blob/master/NEWS) for the complete release notes |
|
17 |
+* see [NEWS](https://github.com/cytoscape/RCy3/blob/devel/NEWS) for the complete release notes |
|
18 | 18 |
* coordinated development with CyREST and the Cytoscape service model |
19 | 19 |
* [New API](https://github.com/cytoscape/cyREST/issues?utf8=â&q=milestone%3A*+label%3A%22new+API%22+is%3A*) |
20 | 20 |
* coordinated development with other scripting libraries, e.g., |
... | ... |
@@ -97,31 +97,31 @@ pkgdown::build_site(examples=FALSE) |
97 | 97 |
|
98 | 98 |
|
99 | 99 |
### Bioconductor |
100 |
-While this is the primary development repository for the RCy3 project, we also make regular pushes to official bioconductor repository ([devel](http://bioconductor.org/packages/devel/bioc/html/RCy3.html) & [release](http://bioconductor.org/packages/release/bioc/html/RCy3.html)) from which the official releases are generated. This is the correct repo for all coding and bug reporting interests. The tagged releases here correspond to the bioconductor releases via a manual syncing process. The `master` branch here corresponds to the latest code in development and not yet released. |
|
100 |
+While this is the primary development repository for the RCy3 project, we also make regular pushes to official bioconductor repository ([devel](http://bioconductor.org/packages/devel/bioc/html/RCy3.html) & [release](http://bioconductor.org/packages/release/bioc/html/RCy3.html)) from which the official releases are generated. This is the correct repo for all coding and bug reporting interests. The tagged releases here correspond to the bioconductor releases via a manual syncing process. The `devel` branch here corresponds to the latest code in development and not yet released. |
|
101 | 101 |
|
102 | 102 |
``` |
103 | 103 |
git commit -m "informative commit message" |
104 |
-git push origin master |
|
105 |
-git push upstream master |
|
104 |
+git push origin devel |
|
105 |
+git push upstream devel |
|
106 | 106 |
``` |
107 | 107 |
http://bioconductor.org/developers/how-to/git/push-to-github-bioc/ |
108 | 108 |
|
109 |
-Following each bioconductor release, a `RELEASE_#_#` branch is created. The new branch is fetched and master is updated: |
|
109 |
+Following each bioconductor release, a `RELEASE_#_#` branch is created. The new branch is fetched and devel is updated: |
|
110 | 110 |
|
111 | 111 |
``` |
112 | 112 |
git fetch upstream |
113 | 113 |
git checkout -b RELEASE_3_13 upstream/RELEASE_3_13 |
114 | 114 |
git push origin RELEASE_3_13 |
115 |
-git checkout master |
|
116 |
-git pull upstream master |
|
117 |
-git push origin master |
|
115 |
+git checkout devel |
|
116 |
+git pull upstream devel |
|
117 |
+git push origin devel |
|
118 | 118 |
``` |
119 | 119 |
|
120 |
-Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
|
120 |
+Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `devel`, then: |
|
121 | 121 |
|
122 | 122 |
``` |
123 | 123 |
git checkout RELEASE_3_13 |
124 |
-git cherry-pick master #for lastest commit |
|
124 |
+git cherry-pick devel #for lastest commit |
|
125 | 125 |
# or git cherry-pick 1abc234 #for specific commit |
126 | 126 |
# or git cherry-pick 1abc234^..5def678 #for an inclusive range |
127 | 127 |
# bump release version in DESCRIPTION |
... | ... |
@@ -129,11 +129,11 @@ git commit -am 'version bump' |
129 | 129 |
git push origin RELEASE_3_13 |
130 | 130 |
# double check changes, and then... |
131 | 131 |
git push upstream RELEASE_3_13 |
132 |
-git checkout master |
|
132 |
+git checkout devel |
|
133 | 133 |
# bump dev version in DESCRIPTION |
134 | 134 |
git commit -am 'version bump' |
135 |
-git push origin master |
|
136 |
-git push upstream master |
|
135 |
+git push origin devel |
|
136 |
+git push upstream devel |
|
137 | 137 |
``` |
138 | 138 |
|
139 | 139 |
https://bioconductor.org/developers/how-to/git/bug-fix-in-release-and-devel/ |
... | ... |
@@ -37,7 +37,7 @@ BiocManager::install("RCy3") |
37 | 37 |
``` |
38 | 38 |
install.packages("devtools") |
39 | 39 |
library(devtools) |
40 |
-install_github('cytoscape/RCy3', build_vignettes=TRUE) |
|
40 |
+install_github('cytoscape/RCy3', build_vignettes=FALSE) |
|
41 | 41 |
#If installation fails due to package 'XXX' not found, |
42 | 42 |
# then run install.packages("XXX") and then try install_github('cytoscape/RCy3') again |
43 | 43 |
library(RCy3) |
... | ... |
@@ -110,8 +110,8 @@ Following each bioconductor release, a `RELEASE_#_#` branch is created. The new |
110 | 110 |
|
111 | 111 |
``` |
112 | 112 |
git fetch upstream |
113 |
-git checkout -b RELEASE_3_12 upstream/RELEASE_3_12 |
|
114 |
-git push origin RELEASE_3_12 |
|
113 |
+git checkout -b RELEASE_3_13 upstream/RELEASE_3_13 |
|
114 |
+git push origin RELEASE_3_13 |
|
115 | 115 |
git checkout master |
116 | 116 |
git pull upstream master |
117 | 117 |
git push origin master |
... | ... |
@@ -120,15 +120,15 @@ git push origin master |
120 | 120 |
Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
121 | 121 |
|
122 | 122 |
``` |
123 |
-git checkout RELEASE_3_12 |
|
123 |
+git checkout RELEASE_3_13 |
|
124 | 124 |
git cherry-pick master #for lastest commit |
125 | 125 |
# or git cherry-pick 1abc234 #for specific commit |
126 | 126 |
# or git cherry-pick 1abc234^..5def678 #for an inclusive range |
127 | 127 |
# bump release version in DESCRIPTION |
128 | 128 |
git commit -am 'version bump' |
129 |
-git push origin RELEASE_3_12 |
|
129 |
+git push origin RELEASE_3_13 |
|
130 | 130 |
# double check changes, and then... |
131 |
-git push upstream RELEASE_3_12 |
|
131 |
+git push upstream RELEASE_3_13 |
|
132 | 132 |
git checkout master |
133 | 133 |
# bump dev version in DESCRIPTION |
134 | 134 |
git commit -am 'version bump' |
... | ... |
@@ -1,7 +1,10 @@ |
1 | 1 |
# Welcome to RCy3: 2.0 and Beyond |
2 |
-[](https://travis-ci.org/cytoscape/RCy3) |
|
3 | 2 |
|
4 |
-[](http://bioconductor.org/checkResults/devel/bioc-LATEST/RCy3/) |
|
3 |
+[](http://bioconductor.org/checkResults/release/bioc-LATEST/RCy3/) - Bioconductor Release Build |
|
4 |
+ |
|
5 |
+[](http://bioconductor.org/checkResults/devel/bioc-LATEST/RCy3/) - Bioconductor Dev Build |
|
6 |
+ |
|
7 |
+[](https://travis-ci.org/cytoscape/RCy3) - GitHub Dev Build by Travis |
|
5 | 8 |
|
6 | 9 |
Building upon the phenominal success of RCytoscape and RCy3, Cytoscape is adopting |
7 | 10 |
this project to provide a robust R package for the rapidly evolving Cytoscape |
... | ... |
@@ -1,6 +1,8 @@ |
1 | 1 |
# Welcome to RCy3: 2.0 and Beyond |
2 | 2 |
[](https://travis-ci.org/cytoscape/RCy3) |
3 | 3 |
|
4 |
+[](http://bioconductor.org/checkResults/devel/bioc-LATEST/RCy3/) |
|
5 |
+ |
|
4 | 6 |
Building upon the phenominal success of RCytoscape and RCy3, Cytoscape is adopting |
5 | 7 |
this project to provide a robust R package for the rapidly evolving Cytoscape |
6 | 8 |
ecosystem. We are beginning with a major refactor of RCy3 that includes: |
... | ... |
@@ -13,7 +13,7 @@ ecosystem. We are beginning with a major refactor of RCy3 that includes: |
13 | 13 |
* coordinated development with CyREST and the Cytoscape service model |
14 | 14 |
* [New API](https://github.com/cytoscape/cyREST/issues?utf8=â&q=milestone%3A*+label%3A%22new+API%22+is%3A*) |
15 | 15 |
* coordinated development with other scripting libraries, e.g., |
16 |
- * [py2cytoscape](https://github.com/cytoscape/py2cytoscape) |
|
16 |
+ * [py4cytoscape](https://github.com/cytoscape/py4cytoscape) |
|
17 | 17 |
* [RCyjs](http://bioconductor.org/packages/release/bioc/html/RCyjs.html) |
18 | 18 |
|
19 | 19 |
## Getting Started |
... | ... |
@@ -109,6 +109,7 @@ git checkout -b RELEASE_3_12 upstream/RELEASE_3_12 |
109 | 109 |
git push origin RELEASE_3_12 |
110 | 110 |
git checkout master |
111 | 111 |
git pull upstream master |
112 |
+git push origin master |
|
112 | 113 |
``` |
113 | 114 |
|
114 | 115 |
Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
... | ... |
@@ -105,8 +105,8 @@ Following each bioconductor release, a `RELEASE_#_#` branch is created. The new |
105 | 105 |
|
106 | 106 |
``` |
107 | 107 |
git fetch upstream |
108 |
-git checkout -b RELEASE_3_11 upstream/RELEASE_3_11 |
|
109 |
-git push origin RELEASE_3_11 |
|
108 |
+git checkout -b RELEASE_3_12 upstream/RELEASE_3_12 |
|
109 |
+git push origin RELEASE_3_12 |
|
110 | 110 |
git checkout master |
111 | 111 |
git pull upstream master |
112 | 112 |
``` |
... | ... |
@@ -114,15 +114,15 @@ git pull upstream master |
114 | 114 |
Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
115 | 115 |
|
116 | 116 |
``` |
117 |
-git checkout RELEASE_3_11 |
|
117 |
+git checkout RELEASE_3_12 |
|
118 | 118 |
git cherry-pick master #for lastest commit |
119 | 119 |
# or git cherry-pick 1abc234 #for specific commit |
120 | 120 |
# or git cherry-pick 1abc234^..5def678 #for an inclusive range |
121 | 121 |
# bump release version in DESCRIPTION |
122 | 122 |
git commit -am 'version bump' |
123 |
-git push origin RELEASE_3_11 |
|
123 |
+git push origin RELEASE_3_12 |
|
124 | 124 |
# double check changes, and then... |
125 |
-git push upstream RELEASE_3_11 |
|
125 |
+git push upstream RELEASE_3_12 |
|
126 | 126 |
git checkout master |
127 | 127 |
# bump dev version in DESCRIPTION |
128 | 128 |
git commit -am 'version bump' |
... | ... |
@@ -66,7 +66,7 @@ install.packages("RUnit") |
66 | 66 |
library(RUnit) |
67 | 67 |
setwd("/git/cytoscape/RCy3") #customize to your setup |
68 | 68 |
devtools::document() |
69 |
-devtools::check(args = "--no-examples") |
|
69 |
+devtools::check(args = "--no-examples", vignettes = F) |
|
70 | 70 |
BiocCheck::BiocCheck('./') |
71 | 71 |
``` |
72 | 72 |
|
... | ... |
@@ -26,8 +26,9 @@ ecosystem. We are beginning with a major refactor of RCy3 that includes: |
26 | 26 |
install.packages("BiocManager") |
27 | 27 |
BiocManager::install("RCy3") |
28 | 28 |
``` |
29 |
+*Note: Be sure to use the [latest Bioconductor](https://www.bioconductor.org/install/) and recommended R version* |
|
29 | 30 |
|
30 |
-_Development version from this repo_ (at your own risk) |
|
31 |
+**_Development version from this repo_ (at your own risk)** |
|
31 | 32 |
``` |
32 | 33 |
install.packages("devtools") |
33 | 34 |
library(devtools) |
... | ... |
@@ -100,26 +101,28 @@ git push upstream master |
100 | 101 |
``` |
101 | 102 |
http://bioconductor.org/developers/how-to/git/push-to-github-bioc/ |
102 | 103 |
|
103 |
-Following each bioconductor release, a `RELEASE_#_#` branch is created here: |
|
104 |
+Following each bioconductor release, a `RELEASE_#_#` branch is created. The new branch is fetched and master is updated: |
|
104 | 105 |
|
105 | 106 |
``` |
106 | 107 |
git fetch upstream |
107 |
-git checkout -b RELEASE_3_10 upstream/RELEASE_3_10 |
|
108 |
-git push origin RELEASE_3_10 |
|
108 |
+git checkout -b RELEASE_3_11 upstream/RELEASE_3_11 |
|
109 |
+git push origin RELEASE_3_11 |
|
110 |
+git checkout master |
|
111 |
+git pull upstream master |
|
109 | 112 |
``` |
110 | 113 |
|
111 | 114 |
Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
112 | 115 |
|
113 | 116 |
``` |
114 |
-git checkout RELEASE_3_10 |
|
117 |
+git checkout RELEASE_3_11 |
|
115 | 118 |
git cherry-pick master #for lastest commit |
116 | 119 |
# or git cherry-pick 1abc234 #for specific commit |
117 | 120 |
# or git cherry-pick 1abc234^..5def678 #for an inclusive range |
118 | 121 |
# bump release version in DESCRIPTION |
119 | 122 |
git commit -am 'version bump' |
120 |
-git push origin RELEASE_3_10 |
|
123 |
+git push origin RELEASE_3_11 |
|
121 | 124 |
# double check changes, and then... |
122 |
-git push upstream RELEASE_3_10 |
|
125 |
+git push upstream RELEASE_3_11 |
|
123 | 126 |
git checkout master |
124 | 127 |
# bump dev version in DESCRIPTION |
125 | 128 |
git commit -am 'version bump' |
... | ... |
@@ -9,7 +9,7 @@ ecosystem. We are beginning with a major refactor of RCy3 that includes: |
9 | 9 |
* harmonized function and argument names |
10 | 10 |
* support for Cytoscape commands |
11 | 11 |
* better support for Cytoscape apps |
12 |
-* see [NEWS](NEWS) for the complete release notes |
|
12 |
+* see [NEWS](https://github.com/cytoscape/RCy3/blob/master/NEWS) for the complete release notes |
|
13 | 13 |
* coordinated development with CyREST and the Cytoscape service model |
14 | 14 |
* [New API](https://github.com/cytoscape/cyREST/issues?utf8=â&q=milestone%3A*+label%3A%22new+API%22+is%3A*) |
15 | 15 |
* coordinated development with other scripting libraries, e.g., |
... | ... |
@@ -86,7 +86,7 @@ They take about 4 minutes to run. |
86 | 86 |
We use [pkgdown](https://pkgdown.r-lib.org/) to generate the [main site for RCy3](http://cytoscape.org/RCy3/index.html) based on this README, metadata, man pages and vignettes. If you make changes to any of these, please take a moment to regenerate the site: |
87 | 87 |
``` |
88 | 88 |
library(pkgdown) |
89 |
-pkgdown::build_site() |
|
89 |
+pkgdown::build_site(examples=FALSE) |
|
90 | 90 |
``` |
91 | 91 |
|
92 | 92 |
|
... | ... |
@@ -16,6 +16,10 @@ ecosystem. We are beginning with a major refactor of RCy3 that includes: |
16 | 16 |
* [py2cytoscape](https://github.com/cytoscape/py2cytoscape) |
17 | 17 |
* [RCyjs](http://bioconductor.org/packages/release/bioc/html/RCyjs.html) |
18 | 18 |
|
19 |
+## Getting Started |
|
20 |
+ * [Documenation site](http://cytoscape.org/RCy3/index.html) |
|
21 |
+ * [Cytoscape Rmd noteboods](https://cytoscape.org/cytoscape-automation/for-scripters/R/notebooks/) |
|
22 |
+ |
|
19 | 23 |
## How to install |
20 | 24 |
**_Official bioconductor releases_ (recommended)** |
21 | 25 |
``` |
... | ... |
@@ -77,6 +81,15 @@ run.tests() |
77 | 81 |
|
78 | 82 |
They take about 4 minutes to run. |
79 | 83 |
|
84 |
+ |
|
85 |
+### Updating site |
|
86 |
+We use [pkgdown](https://pkgdown.r-lib.org/) to generate the [main site for RCy3](http://cytoscape.org/RCy3/index.html) based on this README, metadata, man pages and vignettes. If you make changes to any of these, please take a moment to regenerate the site: |
|
87 |
+``` |
|
88 |
+library(pkgdown) |
|
89 |
+pkgdown::build_site() |
|
90 |
+``` |
|
91 |
+ |
|
92 |
+ |
|
80 | 93 |
### Bioconductor |
81 | 94 |
While this is the primary development repository for the RCy3 project, we also make regular pushes to official bioconductor repository ([devel](http://bioconductor.org/packages/devel/bioc/html/RCy3.html) & [release](http://bioconductor.org/packages/release/bioc/html/RCy3.html)) from which the official releases are generated. This is the correct repo for all coding and bug reporting interests. The tagged releases here correspond to the bioconductor releases via a manual syncing process. The `master` branch here corresponds to the latest code in development and not yet released. |
82 | 95 |
|
... | ... |
@@ -91,22 +91,22 @@ Following each bioconductor release, a `RELEASE_#_#` branch is created here: |
91 | 91 |
|
92 | 92 |
``` |
93 | 93 |
git fetch upstream |
94 |
-git checkout -b RELEASE_3_9 upstream/RELEASE_3_9 |
|
95 |
-git push origin RELEASE_3_9 |
|
94 |
+git checkout -b RELEASE_3_10 upstream/RELEASE_3_10 |
|
95 |
+git push origin RELEASE_3_10 |
|
96 | 96 |
``` |
97 | 97 |
|
98 | 98 |
Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
99 | 99 |
|
100 | 100 |
``` |
101 |
-git checkout RELEASE_3_9 |
|
101 |
+git checkout RELEASE_3_10 |
|
102 | 102 |
git cherry-pick master #for lastest commit |
103 | 103 |
# or git cherry-pick 1abc234 #for specific commit |
104 | 104 |
# or git cherry-pick 1abc234^..5def678 #for an inclusive range |
105 | 105 |
# bump release version in DESCRIPTION |
106 | 106 |
git commit -am 'version bump' |
107 |
-git push origin RELEASE_3_9 |
|
107 |
+git push origin RELEASE_3_10 |
|
108 | 108 |
# double check changes, and then... |
109 |
-git push upstream RELEASE_3_9 |
|
109 |
+git push upstream RELEASE_3_10 |
|
110 | 110 |
git checkout master |
111 | 111 |
# bump dev version in DESCRIPTION |
112 | 112 |
git commit -am 'version bump' |
... | ... |
@@ -91,22 +91,22 @@ Following each bioconductor release, a `RELEASE_#_#` branch is created here: |
91 | 91 |
|
92 | 92 |
``` |
93 | 93 |
git fetch upstream |
94 |
-git checkout -b RELEASE_3_8 upstream/RELEASE_3_8 |
|
95 |
-git push origin RELEASE_3_8 |
|
94 |
+git checkout -b RELEASE_3_9 upstream/RELEASE_3_9 |
|
95 |
+git push origin RELEASE_3_9 |
|
96 | 96 |
``` |
97 | 97 |
|
98 | 98 |
Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
99 | 99 |
|
100 | 100 |
``` |
101 |
-git checkout RELEASE_3_8 |
|
101 |
+git checkout RELEASE_3_9 |
|
102 | 102 |
git cherry-pick master #for lastest commit |
103 | 103 |
# or git cherry-pick 1abc234 #for specific commit |
104 | 104 |
# or git cherry-pick 1abc234^..5def678 #for an inclusive range |
105 | 105 |
# bump release version in DESCRIPTION |
106 | 106 |
git commit -am 'version bump' |
107 |
-git push origin RELEASE_3_8 |
|
107 |
+git push origin RELEASE_3_9 |
|
108 | 108 |
# double check changes, and then... |
109 |
-git push upstream RELEASE_3_8 |
|
109 |
+git push upstream RELEASE_3_9 |
|
110 | 110 |
git checkout master |
111 | 111 |
# bump dev version in DESCRIPTION |
112 | 112 |
git commit -am 'version bump' |
... | ... |
@@ -129,3 +129,5 @@ When adding or updating vignettes, consider the following tips for consistency: |
129 | 129 |
The entire commit history has been preserved during this transition, but you can find the repo for RCy3 v1.5.3 and earlier |
130 | 130 |
at https://github.com/tmuetze/Bioconductor_RCy3_the_new_RCytoscape and you can find the Bioconductor |
131 | 131 |
page for v1.8.0, including archives at https://www.bioconductor.org/packages/3.6/bioc/html/RCy3.html. |
132 |
+ |
|
133 |
+```Note to repository maintainers: Please *DO NOT* move this page ... the Cytoscape Automation paper refers directly to it.``` |
... | ... |
@@ -59,7 +59,7 @@ BiocManager::install("BiocCheck") |
59 | 59 |
library(BiocCheck) |
60 | 60 |
install.packages("RUnit") |
61 | 61 |
library(RUnit) |
62 |
-setwd("/git/cytoscape/RCy3") |
|
62 |
+setwd("/git/cytoscape/RCy3") #customize to your setup |
|
63 | 63 |
devtools::document() |
64 | 64 |
devtools::check() |
65 | 65 |
BiocCheck::BiocCheck('./') |
... | ... |
@@ -99,14 +99,18 @@ Only bug fixes and documentation updates can be pushed to the official bioconduc |
99 | 99 |
``` |
100 | 100 |
git checkout RELEASE_3_8 |
101 | 101 |
git cherry-pick master #for lastest commit |
102 |
-# or git cherry-pick <commit number> #for specific commit |
|
103 |
-# bump version in DESCRIPTION |
|
104 |
-git add DESCRIPTION |
|
105 |
-git commit -m 'version bump' |
|
102 |
+# or git cherry-pick 1abc234 #for specific commit |
|
103 |
+# or git cherry-pick 1abc234^..5def678 #for an inclusive range |
|
104 |
+# bump release version in DESCRIPTION |
|
105 |
+git commit -am 'version bump' |
|
106 | 106 |
git push origin RELEASE_3_8 |
107 | 107 |
# double check changes, and then... |
108 | 108 |
git push upstream RELEASE_3_8 |
109 | 109 |
git checkout master |
110 |
+# bump dev version in DESCRIPTION |
|
111 |
+git commit -am 'version bump' |
|
112 |
+git push origin master |
|
113 |
+git push upstream master |
|
110 | 114 |
``` |
111 | 115 |
|
112 | 116 |
https://bioconductor.org/developers/how-to/git/bug-fix-in-release-and-devel/ |
... | ... |
@@ -89,7 +89,9 @@ http://bioconductor.org/developers/how-to/git/push-to-github-bioc/ |
89 | 89 |
Following each bioconductor release, a `RELEASE_#_#` branch is created here: |
90 | 90 |
|
91 | 91 |
``` |
92 |
+git fetch upstream |
|
92 | 93 |
git checkout -b RELEASE_3_8 upstream/RELEASE_3_8 |
94 |
+git push origin RELEASE_3_8 |
|
93 | 95 |
``` |
94 | 96 |
|
95 | 97 |
Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
... | ... |
@@ -52,7 +52,7 @@ install.packages("devtools") |
52 | 52 |
install.packages("roxygen2") |
53 | 53 |
library(devtools,roxygen2) |
54 | 54 |
devtools::install_github("AlexanderPico/docthis") |
55 |
-library(docthis) |
|
55 |
+library(docthis) #shift+cmd+D |
|
56 | 56 |
BiocManager::install("BiocStyle") |
57 | 57 |
library(BiocStyle) |
58 | 58 |
BiocManager::install("BiocCheck") |
... | ... |
@@ -89,21 +89,21 @@ http://bioconductor.org/developers/how-to/git/push-to-github-bioc/ |
89 | 89 |
Following each bioconductor release, a `RELEASE_#_#` branch is created here: |
90 | 90 |
|
91 | 91 |
``` |
92 |
-git checkout -b RELEASE_3_7 upstream/RELEASE_3_7 |
|
92 |
+git checkout -b RELEASE_3_8 upstream/RELEASE_3_8 |
|
93 | 93 |
``` |
94 | 94 |
|
95 | 95 |
Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
96 | 96 |
|
97 | 97 |
``` |
98 |
-git checkout RELEASE_3_7 |
|
98 |
+git checkout RELEASE_3_8 |
|
99 | 99 |
git cherry-pick master #for lastest commit |
100 | 100 |
# or git cherry-pick <commit number> #for specific commit |
101 | 101 |
# bump version in DESCRIPTION |
102 | 102 |
git add DESCRIPTION |
103 | 103 |
git commit -m 'version bump' |
104 |
-git push origin RELEASE_3_7 |
|
104 |
+git push origin RELEASE_3_8 |
|
105 | 105 |
# double check changes, and then... |
106 |
-git push upstream RELEASE_3_7 |
|
106 |
+git push upstream RELEASE_3_8 |
|
107 | 107 |
git checkout master |
108 | 108 |
``` |
109 | 109 |
|
... | ... |
@@ -69,8 +69,10 @@ Unit tests are a crucial tool in software development. |
69 | 69 |
In order to run them 'offline' (not on the Bioconductor build system), |
70 | 70 |
take these steps from within a running R session (requires RUnit): |
71 | 71 |
|
72 |
- 1) source(system.file("unitTests", "test_RCy3.R", package="RCy3")) |
|
73 |
- 2) run.tests() |
|
72 |
+``` |
|
73 |
+source(system.file("unitTests", "test_RCy3.R", package="RCy3")) |
|
74 |
+run.tests() |
|
75 |
+``` |
|
74 | 76 |
|
75 | 77 |
They take about 4 minutes to run. |
76 | 78 |
|
fixed a typo in README
... | ... |
@@ -19,11 +19,11 @@ ecosystem. We are beginning with a major refactor of RCy3 that includes: |
19 | 19 |
## How to install |
20 | 20 |
**_Official bioconductor releases_ (recommended)** |
21 | 21 |
``` |
22 |
-source("https://bioconductor.org/biocLite.R") |
|
23 |
-biocLite("RCy3") |
|
22 |
+install.packages("BiocManager") |
|
23 |
+BiocManager::install("RCy3") |
|
24 | 24 |
``` |
25 | 25 |
|
26 |
-_Unstable development code from this repo_ (at your own risk) |
|
26 |
+_Development version from this repo_ (at your own risk) |
|
27 | 27 |
``` |
28 | 28 |
install.packages("devtools") |
29 | 29 |
library(devtools) |
... | ... |
@@ -53,8 +53,10 @@ install.packages("roxygen2") |
53 | 53 |
library(devtools,roxygen2) |
54 | 54 |
devtools::install_github("AlexanderPico/docthis") |
55 | 55 |
library(docthis) |
56 |
-BiocInstaller::biocLite('BiocStyle') |
|
56 |
+BiocManager::install("BiocStyle") |
|
57 | 57 |
library(BiocStyle) |
58 |
+BiocManager::install("BiocCheck") |
|
59 |
+library(BiocCheck) |
|
58 | 60 |
install.packages("RUnit") |
59 | 61 |
library(RUnit) |
60 | 62 |
devtools::document() |
... | ... |
@@ -48,12 +48,15 @@ This is a public, open source project. Come on in! You can contribute at multipl |
48 | 48 |
### Development |
49 | 49 |
``` |
50 | 50 |
install.packages("devtools") |
51 |
+ |
|
51 | 52 |
install.packages("roxygen2") |
52 | 53 |
library(devtools,roxygen2) |
53 | 54 |
devtools::install_github("AlexanderPico/docthis") |
54 | 55 |
library(docthis) |
55 | 56 |
BiocInstaller::biocLite('BiocStyle') |
56 | 57 |
library(BiocStyle) |
58 |
+install.packages("RUnit") |
|
59 |
+library(RUnit) |
|
57 | 60 |
devtools::document() |
58 | 61 |
devtools::check() |
59 | 62 |
BiocCheck::BiocCheck('./') |
... | ... |
@@ -62,7 +65,7 @@ BiocCheck::BiocCheck('./') |
62 | 65 |
### Testing |
63 | 66 |
Unit tests are a crucial tool in software development. |
64 | 67 |
In order to run them 'offline' (not on the Bioconductor build system), |
65 |
-take these steps from within a running R session: |
|
68 |
+take these steps from within a running R session (requires RUnit): |
|
66 | 69 |
|
67 | 70 |
1) source(system.file("unitTests", "test_RCy3.R", package="RCy3")) |
68 | 71 |
2) run.tests() |
... | ... |
@@ -52,6 +52,8 @@ install.packages("roxygen2") |
52 | 52 |
library(devtools,roxygen2) |
53 | 53 |
devtools::install_github("AlexanderPico/docthis") |
54 | 54 |
library(docthis) |
55 |
+BiocInstaller::biocLite('BiocStyle') |
|
56 |
+library(BiocStyle) |
|
55 | 57 |
devtools::document() |
56 | 58 |
devtools::check() |
57 | 59 |
BiocCheck::BiocCheck('./') |
... | ... |
@@ -105,7 +107,7 @@ When adding or updating vignettes, consider the following tips for consistency: |
105 | 107 |
* Copy/paste the header from an existing RCy3 vignette, including the global knitr options |
106 | 108 |
* Number the *VignetteIndexEntry* names w.r.t. other vignettes (this determines their presentation order) |
107 | 109 |
* Avoid spaces in Rmd filenames; causes CHECK errors |
108 |
-* When ready, run **Knit to html_vignette_** and review the generated html |
|
110 |
+* When ready, run **Knit to html_document** and review the generated html (requires BiocStyle) |
|
109 | 111 |
* Note: you don't need to save the html version; it will be generated anew at Bioconductor. |
110 | 112 |
* In the end, you should just have an Rmd version of each vignette in the repo. |
111 | 113 |
|
... | ... |
@@ -86,16 +86,16 @@ git checkout -b RELEASE_3_7 upstream/RELEASE_3_7 |
86 | 86 |
Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
87 | 87 |
|
88 | 88 |
``` |
89 |
-git checkout origin RELEASE_3_7 |
|
89 |
+git checkout RELEASE_3_7 |
|
90 | 90 |
git cherry-pick master #for lastest commit |
91 |
-# or git cherry-pick <commit number> |
|
91 |
+# or git cherry-pick <commit number> #for specific commit |
|
92 | 92 |
# bump version in DESCRIPTION |
93 | 93 |
git add DESCRIPTION |
94 | 94 |
git commit -m 'version bump' |
95 | 95 |
git push origin RELEASE_3_7 |
96 | 96 |
# double check changes, and then... |
97 | 97 |
git push upstream RELEASE_3_7 |
98 |
-git checkout origin master |
|
98 |
+git checkout master |
|
99 | 99 |
``` |
100 | 100 |
|
101 | 101 |
https://bioconductor.org/developers/how-to/git/bug-fix-in-release-and-devel/ |
... | ... |
@@ -86,14 +86,16 @@ git checkout -b RELEASE_3_7 upstream/RELEASE_3_7 |
86 | 86 |
Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
87 | 87 |
|
88 | 88 |
``` |
89 |
-git checkout RELEASE_3_7 |
|
90 |
-git cherry-pick master |
|
89 |
+git checkout origin RELEASE_3_7 |
|
90 |
+git cherry-pick master #for lastest commit |
|
91 |
+# or git cherry-pick <commit number> |
|
91 | 92 |
# bump version in DESCRIPTION |
92 | 93 |
git add DESCRIPTION |
93 | 94 |
git commit -m 'version bump' |
94 |
-git push |
|
95 |
+git push origin RELEASE_3_7 |
|
96 |
+# double check changes, and then... |
|
95 | 97 |
git push upstream RELEASE_3_7 |
96 |
-git checkout master |
|
98 |
+git checkout origin master |
|
97 | 99 |
``` |
98 | 100 |
|
99 | 101 |
https://bioconductor.org/developers/how-to/git/bug-fix-in-release-and-devel/ |
... | ... |
@@ -35,7 +35,7 @@ library(RCy3) |
35 | 35 |
|
36 | 36 |
#### Troubleshooting |
37 | 37 |
1. If you see this error on a Mac: ```make: gfortran-4.8: No such file or directory```, then try reinstalling R via [homebrew](https://brew.sh/): ```brew update && brew reinstall r``` |
38 |
- * warning: this make take ~30 minutes |
|
38 |
+ * warning: this may take ~30 minutes |
|
39 | 39 |
2. If you see this error in RStudio: ```ERROR: dependency âXMLâ is not available for package```, then try this command: ```install.packages("XML")``` and then try installing RCy3 again. |
40 | 40 |
|
41 | 41 |
## How to contribute |
... | ... |
@@ -83,7 +83,18 @@ Following each bioconductor release, a `RELEASE_#_#` branch is created here: |
83 | 83 |
git checkout -b RELEASE_3_7 upstream/RELEASE_3_7 |
84 | 84 |
``` |
85 | 85 |
|
86 |
-Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. |
|
86 |
+Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. After committing and pushing fixes to `master`, then: |
|
87 |
+ |
|
88 |
+``` |
|
89 |
+git checkout RELEASE_3_7 |
|
90 |
+git cherry-pick master |
|
91 |
+# bump version in DESCRIPTION |
|
92 |
+git add DESCRIPTION |
|
93 |
+git commit -m 'version bump' |
|
94 |
+git push |
|
95 |
+git push upstream RELEASE_3_7 |
|
96 |
+git checkout master |
|
97 |
+``` |
|
87 | 98 |
|
88 | 99 |
https://bioconductor.org/developers/how-to/git/bug-fix-in-release-and-devel/ |
89 | 100 |
|
... | ... |
@@ -77,14 +77,24 @@ git push upstream master |
77 | 77 |
``` |
78 | 78 |
http://bioconductor.org/developers/how-to/git/push-to-github-bioc/ |
79 | 79 |
|
80 |
-#### Vignettes |
|
80 |
+Following each bioconductor release, a `RELEASE_#_#` branch is created here: |
|
81 |
+ |
|
82 |
+``` |
|
83 |
+git checkout -b RELEASE_3_7 upstream/RELEASE_3_7 |
|
84 |
+``` |
|
85 |
+ |
|
86 |
+Only bug fixes and documentation updates can be pushed to the official bioconductor release branch. |
|
87 |
+ |
|
88 |
+https://bioconductor.org/developers/how-to/git/bug-fix-in-release-and-devel/ |
|
89 |
+ |
|
90 |
+### Vignettes |
|
81 | 91 |
When adding or updating vignettes, consider the following tips for consistency: |
82 | 92 |
* Copy/paste the header from an existing RCy3 vignette, including the global knitr options |
83 | 93 |
* Number the *VignetteIndexEntry* names w.r.t. other vignettes (this determines their presentation order) |
84 | 94 |
* Avoid spaces in Rmd filenames; causes CHECK errors |
85 | 95 |
* When ready, run **Knit to html_vignette_** and review the generated html |
86 | 96 |
* Note: you don't need to save the html version; it will be generated anew at Bioconductor. |
87 |
-* In the end, you should just have an Rmd versionof each vignette in the repo. |
|
97 |
+* In the end, you should just have an Rmd version of each vignette in the repo. |
|
88 | 98 |
|
89 | 99 |
### Former Repo |
90 | 100 |
The entire commit history has been preserved during this transition, but you can find the repo for RCy3 v1.5.3 and earlier |
Former-commit-id: 0d4f62eaab1ee1118625afe1a144b29a72739d80 [formerly 22443f2c75022c446532e47fcc3590c2e6bbfee0]
Former-commit-id: c2ab0a4f81239176985908ac91fbe7f7c5026b5a
Former-commit-id: 5352a4edf46063fa16dcb6aa8ed04502206f52f7
Former-commit-id: 03579d0deb5a9d653c63d4144a61c67373ef781d
... | ... |
@@ -50,6 +50,8 @@ This is a public, open source project. Come on in! You can contribute at multipl |
50 | 50 |
install.packages("devtools") |
51 | 51 |
install.packages("roxygen2") |
52 | 52 |
library(devtools,roxygen2) |
53 |
+devtools::install_github("AlexanderPico/docthis") |
|
54 |
+library(docthis) |
|
53 | 55 |
devtools::document() |
54 | 56 |
devtools::check() |
55 | 57 |
BiocCheck::BiocCheck('./') |
Former-commit-id: 264701cc9a9fd2d2610147b854f8169618d29a28 [formerly c698687445b73dd619eca7f9eb68ebf46e5f2260]
Former-commit-id: 6f247023636509fc88064ae7a761c24625c471bb
Former-commit-id: b8e33d4e15bf83494cdfb5a82ca473cec7ceba56
Former-commit-id: a856b423fe01e4cd017e7d1a459d35e9deac448d
... | ... |
@@ -86,4 +86,5 @@ When adding or updating vignettes, consider the following tips for consistency: |
86 | 86 |
|
87 | 87 |
### Former Repo |
88 | 88 |
The entire commit history has been preserved during this transition, but you can find the repo for RCy3 v1.5.3 and earlier |
89 |
-at https://github.com/tmuetze/Bioconductor_RCy3_the_new_RCytoscape. |
|
89 |
+at https://github.com/tmuetze/Bioconductor_RCy3_the_new_RCytoscape and you can find the Bioconductor |
|
90 |
+page for v1.8.0, including archives at https://www.bioconductor.org/packages/3.6/bioc/html/RCy3.html. |
Former-commit-id: bb7c2a28613b25a1b81f7befcf4d6d52776041ad [formerly 03da0920ffea270380a6ccf4e03c073016a56e87]
Former-commit-id: 3cec54b8cc1a9eae9914ef7e25a34a97c1c5b7c5
Former-commit-id: ad4ed8f0e50ded8a56400f6aa1c3756978ee0df6
Former-commit-id: 34fcfec72d07fcef5f778538321d4cc82f2e2a25
... | ... |
@@ -79,15 +79,10 @@ http://bioconductor.org/developers/how-to/git/push-to-github-bioc/ |
79 | 79 |
When adding or updating vignettes, consider the following tips for consistency: |
80 | 80 |
* Copy/paste the header from an existing RCy3 vignette, including the global knitr options |
81 | 81 |
* Number the *VignetteIndexEntry* names w.r.t. other vignettes (this determines their presentation order) |
82 |
-* Avoid markdown encoded links; only exposed URLs will translate to the PDF version |
|
83 | 82 |
* Avoid spaces in Rmd filenames; causes CHECK errors |
84 | 83 |
* When ready, run **Knit to html_vignette_** and review the generated html |
85 |
-* For PDF generation: |
|
86 |
- * Uncomment ```highlight=FALSE``` in global knitr options and generate a new html. Unfortunately, the code highlighting looks terrible in PDF. |
|
87 |
- * Pop the html out of the Viewer and into a browser |
|
88 |
- * Choose print, then Save as PDF. Click *Print Background Colors* to retain code backgrounds. Replace spaces with hyphens in filename. |
|
89 |
- * Review the generated PDF and comment out ```highlight=FALSE``` once again |
|
90 |
-* In the end, you should have Rmd and PDf versions of each vignette. |
|
84 |
+* Note: you don't need to save the html version; it will be generated anew at Bioconductor. |
|
85 |
+* In the end, you should just have an Rmd versionof each vignette in the repo. |
|
91 | 86 |
|
92 | 87 |
### Former Repo |
93 | 88 |
The entire commit history has been preserved during this transition, but you can find the repo for RCy3 v1.5.3 and earlier |
Former-commit-id: f2520cfcecb935ea536340722f8ee9acefafa445 [formerly 6340af2abae4aef5d7464c6f2839e6a5a5a28710]
Former-commit-id: d8c1da2ec2095e91ba87869a04cc04303e4e5a51
Former-commit-id: 3b5174aca0b5576cb1a84b37beae712e3fabfee0
Former-commit-id: bcd2e8b6fba00bd96cad8af5f280903534f33761
Former-commit-id: 0475786ca38cf95e31eecd147e503516a38ab750 [formerly 4ec958b3f4b9ed5afad9385c370c836b6ffa17a8]
Former-commit-id: c35e9b09d5d67df3f56295680adb79574fa05d18
Former-commit-id: 8bf6a9ececf2cc4b984f37c53dd8cc0a091d4dfd
Former-commit-id: 5ad63943bcb3043f49177b2cf519df9d35150727
... | ... |
@@ -1,4 +1,6 @@ |
1 | 1 |
# Welcome to RCy3: 2.0 and Beyond |
2 |
+[](https://travis-ci.org/cytoscape/RCy3) |
|
3 |
+ |
|
2 | 4 |
Building upon the phenominal success of RCytoscape and RCy3, Cytoscape is adopting |
3 | 5 |
this project to provide a robust R package for the rapidly evolving Cytoscape |
4 | 6 |
ecosystem. We are beginning with a major refactor of RCy3 that includes: |
Former-commit-id: 54fb5c4a8261f274c6bab4338469c1d47116b6f1 [formerly 8fe3b18a0cdd16b56eb6fe7ba9430b70051f6464]
Former-commit-id: 52f05857f4532d8f33621a50af16dbc11232b7b0
Former-commit-id: e9da199475c8bd4530f34995799f03350b98025c
Former-commit-id: 87b5c4100a058fff40d19639dc099a3649712e95
... | ... |
@@ -75,13 +75,14 @@ http://bioconductor.org/developers/how-to/git/push-to-github-bioc/ |
75 | 75 |
#### Vignettes |
76 | 76 |
When adding or updating vignettes, consider the following tips for consistency: |
77 | 77 |
* Copy/paste the header from an existing RCy3 vignette, including the global knitr options |
78 |
+* Number the *VignetteIndexEntry* names w.r.t. other vignettes (this determines their presentation order) |
|
78 | 79 |
* Avoid markdown encoded links; only exposed URLs will translate to the PDF version |
79 | 80 |
* Avoid spaces in Rmd filenames; causes CHECK errors |
80 | 81 |
* When ready, run **Knit to html_vignette_** and review the generated html |
81 | 82 |
* For PDF generation: |
82 | 83 |
* Uncomment ```highlight=FALSE``` in global knitr options and generate a new html. Unfortunately, the code highlighting looks terrible in PDF. |
83 | 84 |
* Pop the html out of the Viewer and into a browser |
84 |
- * Choose print, then Save as PDF. Click *Print Background Colors* to retain code backgrounds |
|
85 |
+ * Choose print, then Save as PDF. Click *Print Background Colors* to retain code backgrounds. Replace spaces with hyphens in filename. |
|
85 | 86 |
* Review the generated PDF and comment out ```highlight=FALSE``` once again |
86 | 87 |
* In the end, you should have Rmd and PDf versions of each vignette. |
87 | 88 |
|
Former-commit-id: dfc6c57aa51d00459805caf0394a6f192038ce4d [formerly d791719d5d6bdb5467271402f5acede6a613d96e]
Former-commit-id: 1e379c99c7e0c46ede37390917c1b81916b34d50
Former-commit-id: 0a3cd5a0414234a27b97fe1f0d07f52c8dfe3aa8
Former-commit-id: de185dd05ad6ec226f9056c87271b8a2a9477dbb
... | ... |
@@ -25,7 +25,7 @@ _Unstable development code from this repo_ (at your own risk) |
25 | 25 |
``` |
26 | 26 |
install.packages("devtools") |
27 | 27 |
library(devtools) |
28 |
-install_github('cytoscape/RCy3') |
|
28 |
+install_github('cytoscape/RCy3', build_vignettes=TRUE) |
|
29 | 29 |
#If installation fails due to package 'XXX' not found, |
30 | 30 |
# then run install.packages("XXX") and then try install_github('cytoscape/RCy3') again |
31 | 31 |
library(RCy3) |
Former-commit-id: 33cb6bae5661953da6f5931629e747a45f322a54 [formerly 22b1ff8b0c0b82f8c5aa86805c0e835a85a901d7]
Former-commit-id: bbd6d3710d9b904ce4f5283a485a40bf6902a7ae
Former-commit-id: d90b4ae15461a83bdac53307bba2f7cc171e8d78
Former-commit-id: 31809bbc396df9831c5650c66f67043f7d7524fe
... | ... |
@@ -26,6 +26,8 @@ _Unstable development code from this repo_ (at your own risk) |
26 | 26 |
install.packages("devtools") |
27 | 27 |
library(devtools) |
28 | 28 |
install_github('cytoscape/RCy3') |
29 |
+#If installation fails due to package 'XXX' not found, |
|
30 |
+# then run install.packages("XXX") and then try install_github('cytoscape/RCy3') again |
|
29 | 31 |
library(RCy3) |
30 | 32 |
``` |
31 | 33 |
|
Former-commit-id: b6ce4c08e1c5500ac7154ecd43d9ebd07a8e0859 [formerly aedcb7094fa00fbe91fff38ff57a44c630a58563]
Former-commit-id: da94ddae7062e16033ff90e123fcaf5727ee8977
Former-commit-id: 843db543c1c7b07a3dda3f99ebd5f66c52334198
Former-commit-id: d880e806b6e0a4926da6fbcf142b3ed101247cd4
Former-commit-id: ad76bdaa60a8ca01145c43760b8ff0067f20b2b9 [formerly e8cc554603b59926f413f776bcd9132b91002c67]
Former-commit-id: 8d1a556dc8e72a0a48fc0242e283c268f655bc04
Former-commit-id: 34d8362ba5aa421a4483c73ac0cc27d1020511c8
Former-commit-id: 0602dec7858555f79c601cebb618c9dc7a85f5c4
... | ... |
@@ -61,6 +61,13 @@ They take about 4 minutes to run. |
61 | 61 |
### Bioconductor |
62 | 62 |
While this is the primary development repository for the RCy3 project, we also make regular pushes to official bioconductor repository ([devel](http://bioconductor.org/packages/devel/bioc/html/RCy3.html) & [release](http://bioconductor.org/packages/release/bioc/html/RCy3.html)) from which the official releases are generated. This is the correct repo for all coding and bug reporting interests. The tagged releases here correspond to the bioconductor releases via a manual syncing process. The `master` branch here corresponds to the latest code in development and not yet released. |
63 | 63 |
|
64 |
+``` |
|
65 |
+git commit -m "informative commit message" |
|
66 |
+git push origin master |
|
67 |
+git push upstream master |
|
68 |
+``` |
|
69 |
+http://bioconductor.org/developers/how-to/git/push-to-github-bioc/ |
|
70 |
+ |
|
64 | 71 |
#### Vignettes |
65 | 72 |
When adding or updating vignettes, consider the following tips for consistency: |
66 | 73 |
* Copy/paste the header from an existing RCy3 vignette, including the global knitr options |
Former-commit-id: 6ba847e5a1bb12c32906e8db5ec6ec7586eab873 [formerly 00a9a3e2262124c6ab1b4b291ec3eb80fbe9df9d]
Former-commit-id: a841e5586245e21c59f21944e82fdf8a587bb493
Former-commit-id: ca4dbef908ec48cac91fbf4260521622b798482e
Former-commit-id: f9d7f80c2ed44ce3b6b54ed197dd460e707cf62f
... | ... |
@@ -42,10 +42,10 @@ This is a public, open source project. Come on in! You can contribute at multipl |
42 | 42 |
### Development |
43 | 43 |
``` |
44 | 44 |
install.packages("devtools") |
45 |
-library(devtools) |
|
45 |
+install.packages("roxygen2") |
|
46 |
+library(devtools,roxygen2) |
|
46 | 47 |
devtools::document() |
47 | 48 |
devtools::check() |
48 |
-# may require 'brew install libxml2' |
|
49 | 49 |
``` |
50 | 50 |
|
51 | 51 |
### Testing |
... | ... |
@@ -65,6 +65,7 @@ While this is the primary development repository for the RCy3 project, we also m |
65 | 65 |
When adding or updating vignettes, consider the following tips for consistency: |
66 | 66 |
* Copy/paste the header from an existing RCy3 vignette, including the global knitr options |
67 | 67 |
* Avoid markdown encoded links; only exposed URLs will translate to the PDF version |
68 |
+* Avoid spaces in Rmd filenames; causes CHECK errors |
|
68 | 69 |
* When ready, run **Knit to html_vignette_** and review the generated html |
69 | 70 |
* For PDF generation: |
70 | 71 |
* Uncomment ```highlight=FALSE``` in global knitr options and generate a new html. Unfortunately, the code highlighting looks terrible in PDF. |
Former-commit-id: 739f25b7c75b2eef6b89d8b3a709dfca725210c3 [formerly 98a53337b1893cb4fc88a1e7de5fe84528750d18]
Former-commit-id: 7319a242537ff9c6d5077ccf1b3e4e639b901fb2
Former-commit-id: ecc9b16b51e0e6e97ca04e5dc5412bb0ce784c1d
Former-commit-id: c8d84343023948ed84291f3fc60fff09629532b8
... | ... |
@@ -39,7 +39,16 @@ This is a public, open source project. Come on in! You can contribute at multipl |
39 | 39 |
* Fork and make pull requests |
40 | 40 |
* Contact current Cytoscape developers and inquire about joining the team |
41 | 41 |
|
42 |
-## Testing |
|
42 |
+### Development |
|
43 |
+``` |
|
44 |
+install.packages("devtools") |
|
45 |
+library(devtools) |
|
46 |
+devtools::document() |
|
47 |
+devtools::check() |
|
48 |
+# may require 'brew install libxml2' |
|
49 |
+``` |
|
50 |
+ |
|
51 |
+### Testing |
|
43 | 52 |
Unit tests are a crucial tool in software development. |
44 | 53 |
In order to run them 'offline' (not on the Bioconductor build system), |
45 | 54 |
take these steps from within a running R session: |
... | ... |
@@ -49,9 +58,21 @@ take these steps from within a running R session: |
49 | 58 |
|
50 | 59 |
They take about 4 minutes to run. |
51 | 60 |
|
52 |
-## Bioconductor |
|
61 |
+### Bioconductor |
|
53 | 62 |
While this is the primary development repository for the RCy3 project, we also make regular pushes to official bioconductor repository ([devel](http://bioconductor.org/packages/devel/bioc/html/RCy3.html) & [release](http://bioconductor.org/packages/release/bioc/html/RCy3.html)) from which the official releases are generated. This is the correct repo for all coding and bug reporting interests. The tagged releases here correspond to the bioconductor releases via a manual syncing process. The `master` branch here corresponds to the latest code in development and not yet released. |
54 | 63 |
|
55 |
-## Former Repo |
|
64 |
+#### Vignettes |
|
65 |
+When adding or updating vignettes, consider the following tips for consistency: |
|
66 |
+* Copy/paste the header from an existing RCy3 vignette, including the global knitr options |
|
67 |
+* Avoid markdown encoded links; only exposed URLs will translate to the PDF version |
|
68 |
+* When ready, run **Knit to html_vignette_** and review the generated html |
|
69 |
+* For PDF generation: |
|
70 |
+ * Uncomment ```highlight=FALSE``` in global knitr options and generate a new html. Unfortunately, the code highlighting looks terrible in PDF. |
|
71 |
+ * Pop the html out of the Viewer and into a browser |
|
72 |
+ * Choose print, then Save as PDF. Click *Print Background Colors* to retain code backgrounds |
|
73 |
+ * Review the generated PDF and comment out ```highlight=FALSE``` once again |
|
74 |
+* In the end, you should have Rmd and PDf versions of each vignette. |
|
75 |
+ |
|
76 |
+### Former Repo |
|
56 | 77 |
The entire commit history has been preserved during this transition, but you can find the repo for RCy3 v1.5.3 and earlier |
57 | 78 |
at https://github.com/tmuetze/Bioconductor_RCy3_the_new_RCytoscape. |
Former-commit-id: 0314e87f931a5281e86123d6569c53ef49b919f9 [formerly 78917777a819992cca2c28786a59c751abdc9f3f]
Former-commit-id: 45d32a700419a5701bdca52bb6e6e799267ab7a9
Former-commit-id: 11cbdefd2484cabb5ce9f2b91ee096b943251494
Former-commit-id: 4e5d337391f0f4a19d5710745295aaaab557e627
... | ... |
@@ -29,7 +29,7 @@ library(RCy3) |
29 | 29 |
|
30 | 30 |
#### Troubleshooting |
31 | 31 |
1. If you see this error on a Mac: ```make: gfortran-4.8: No such file or directory```, then try reinstalling R via [homebrew](https://brew.sh/): ```brew update && brew reinstall r``` |
32 |
- * warning: this make take ~30 minutes |
|
32 |
+ * warning: this make take ~30 minutes |
|
33 | 33 |
2. If you see this error in RStudio: ```ERROR: dependency âXMLâ is not available for package```, then try this command: ```install.packages("XML")``` and then try installing RCy3 again. |
34 | 34 |
|
35 | 35 |
## How to contribute |
Former-commit-id: 02d153811854ef2bf7559c7ed796ff9e1a0a5c80 [formerly c1593a6b9087f8b5c35aa135a7bd994234b77629]
Former-commit-id: 654bd4288c75f3915ffb5939866fd4b6e921ce23
Former-commit-id: 53186003311b76a395cf18003dba3d6561bb7fc9
Former-commit-id: a88a2f7634df578c98c9d1d1937e49dd44d1c4ad
... | ... |
@@ -28,9 +28,9 @@ library(RCy3) |
28 | 28 |
``` |
29 | 29 |
|
30 | 30 |
#### Troubleshooting |
31 |
-1. If you see this error on a Mac: ```make: gfortran-4.8: No such file or directory``` |
|
32 |
-then try reinstalling R via [homebrew](https://brew.sh/): ```brew update && brew reinstall r``` |
|
31 |
+1. If you see this error on a Mac: ```make: gfortran-4.8: No such file or directory```, then try reinstalling R via [homebrew](https://brew.sh/): ```brew update && brew reinstall r``` |
|
33 | 32 |
* warning: this make take ~30 minutes |
33 |
+2. If you see this error in RStudio: ```ERROR: dependency âXMLâ is not available for package```, then try this command: ```install.packages("XML")``` and then try installing RCy3 again. |
|
34 | 34 |
|
35 | 35 |
## How to contribute |
36 | 36 |
This is a public, open source project. Come on in! You can contribute at multiple levels: |
Former-commit-id: 05cb5239809f727c681d4eb4387f736c1a8fb874 [formerly 21866dbe8ebd3629704d03e109f8d9a3c249e174]
Former-commit-id: 4ad9499d439adc1f25d3866202b2a3ccdb61f8da
Former-commit-id: 77fa04c81ef73754a3bb5db4772509f0e1330ae3
Former-commit-id: 339fd0c7b334f430e518c5e1a27f71f9838f489d
... | ... |
@@ -1,13 +1,13 @@ |
1 | 1 |
# Welcome to RCy3: 2.0 and Beyond |
2 |
-Building upon the phenominal success of RCytoscape and RCy3, Cytoscape is adopting the project (and primary responsibility) |
|
3 |
-to provide a robust R package for the rapidly evolving Cytoscape ecosystem. We are beginning with a major refactor of RCy3 |
|
4 |
-that includes: |
|
2 |
+Building upon the phenominal success of RCytoscape and RCy3, Cytoscape is adopting |
|
3 |
+this project to provide a robust R package for the rapidly evolving Cytoscape |
|
4 |
+ecosystem. We are beginning with a major refactor of RCy3 that includes: |
|
5 | 5 |
|
6 | 6 |
* independence from the graphNEL object model |
7 |
-* optional object-based arguments |
|
8 | 7 |
* harmonized function and argument names |
9 | 8 |
* support for Cytoscape commands |
10 | 9 |
* better support for Cytoscape apps |
10 |
+* see [NEWS](NEWS) for the complete release notes |
|
11 | 11 |
* coordinated development with CyREST and the Cytoscape service model |
12 | 12 |
* [New API](https://github.com/cytoscape/cyREST/issues?utf8=â&q=milestone%3A*+label%3A%22new+API%22+is%3A*) |
13 | 13 |
* coordinated development with other scripting libraries, e.g., |
... | ... |
@@ -27,6 +27,11 @@ install_github('cytoscape/RCy3') |
27 | 27 |
library(RCy3) |
28 | 28 |
``` |
29 | 29 |
|
30 |
+#### Troubleshooting |
|
31 |
+1. If you see this error on a Mac: ```make: gfortran-4.8: No such file or directory``` |
|
32 |
+then try reinstalling R via [homebrew](https://brew.sh/): ```brew update && brew reinstall r``` |
|
33 |
+ * warning: this make take ~30 minutes |
|
34 |
+ |
|
30 | 35 |
## How to contribute |
31 | 36 |
This is a public, open source project. Come on in! You can contribute at multiple levels: |
32 | 37 |
|
... | ... |
@@ -40,7 +45,7 @@ In order to run them 'offline' (not on the Bioconductor build system), |
40 | 45 |
take these steps from within a running R session: |
41 | 46 |
|
42 | 47 |
1) source(system.file("unitTests", "test_RCy3.R", package="RCy3")) |
43 |
- 2) run.tests () |
|
48 |
+ 2) run.tests() |
|
44 | 49 |
|
45 | 50 |
They take about 4 minutes to run. |
46 | 51 |
|
Former-commit-id: 8c9c748bdc068d7bb19ad51ffe27a318f4429962 [formerly 275990294943eb069c1615341947ffb686625282]
Former-commit-id: 53147a62ee031797ab8370a9a8aecf0236493757
Former-commit-id: 4040402b463fc1723ea12fbc3815eedef9fab97a
Former-commit-id: 8acde475286facd3369583350120e511c0b0cd00
... | ... |
@@ -45,7 +45,7 @@ take these steps from within a running R session: |
45 |