3
3
<!-- badges: start -->
4
4
[ ![ R build status] ( https://github.com/r-lib/devtools/workflows/R-CMD-check/badge.svg )] ( https://github.com/r-lib/devtools/actions )
5
5
[ ![ Coverage Status] ( https://codecov.io/github/r-lib/devtools/coverage.svg?branch=master )] ( https://codecov.io/github/r-lib/devtools?branch=master )
6
- [ ![ CRAN_Status_Badge] ( http ://www.r-pkg.org/badges/version/devtools)] ( https://cran.r-project.org/package=devtools )
6
+ [ ![ CRAN_Status_Badge] ( https ://www.r-pkg.org/badges/version/devtools)] ( https://cran.r-project.org/package=devtools )
7
7
<!-- badges: end -->
8
8
9
9
The aim of devtools is to make package development easier by providing R
10
10
functions that simplify and expedite common tasks. [ R
11
- Packages] ( http ://r-pkgs.had.co.nz /) is a book based around this workflow.
11
+ Packages] ( https ://r-pkgs.org /) is a book based around this workflow.
12
12
13
13
## Installation
14
14
@@ -74,8 +74,8 @@ look in the current working directory - this is a recommended practice.
74
74
75
75
* ` check() ` updates the documentation, then builds and checks the package locally.
76
76
` check_win() ` checks a package using
77
- [ win-builder] ( http ://win-builder.r-project.org/) , and ` check_rhub() ` checks a package using
78
- [ r-hub] ( http ://log.r-hub.io/) . This allows you to easily check
77
+ [ win-builder] ( https ://win-builder.r-project.org/) , and ` check_rhub() ` checks a package using
78
+ [ r-hub] ( https ://log.r-hub.io/) . This allows you to easily check
79
79
your package on all systems CRAN uses before submission.
80
80
81
81
* ` release() ` makes sure everything is ok with your package (including asking
@@ -86,32 +86,32 @@ look in the current working directory - this is a recommended practice.
86
86
R package development can be intimidating, however there are now a number of
87
87
valuable resources to help!
88
88
89
- <a href =" http ://r-pkgs.org" ><img src =" http://r-pkgs.org/images/cover.png " height =" 252 " align = " right " /></a >
89
+ <a href =" https ://r-pkgs.org" ><img src =" http://r-pkgs.org/images/cover.png " height =" 252 " align = " right " /></a >
90
90
91
91
1 . R Packages is a book that gives a comprehensive treatment of all common parts
92
92
of package development and uses devtools throughout.
93
- * The first edition is available at < http ://r-pkgs.had.co.nz > , but note that
93
+ * The first edition is available at < https ://r-pkgs.org/ > , but note that
94
94
it has grown somewhat out of sync with the current version of devtools.
95
95
* A second edition is under development and is evolving to reflect the
96
- current state of devtools. It is available at < http ://r-pkgs.org> .
97
- * The [ Whole Game] ( http ://r-pkgs.org/whole-game.html) and
98
- [ Package structure] ( http ://r-pkgs.org/package-structure-state.html) chapters
96
+ current state of devtools. It is available at < https ://r-pkgs.org> .
97
+ * The [ Whole Game] ( https ://r-pkgs.org/whole-game.html) and
98
+ [ Package structure] ( https ://r-pkgs.org/package-structure-state.html) chapters
99
99
make great places to start.
100
100
101
101
2 . [ RStudio community - package
102
- development] ( https://community.rstudio.com/c/package-development )
102
+ development] ( https://community.rstudio.com/c/package-development/11 )
103
103
is a great place to ask specific questions related to package development.
104
104
105
- 3 . [ rOpenSci packages] ( https://ropensci.github.io/dev_guide / ) has
105
+ 3 . [ rOpenSci packages] ( https://devguide. ropensci.org / ) has
106
106
extensive documentation on best practices for R packages looking to be
107
107
contributed to rOpenSci, but also very useful general recommendations
108
108
for package authors.
109
109
110
110
4 . There are a number of fantastic blog posts on writing your first package, including
111
111
- [ Writing an R package from scratch - Hilary Parker] ( https://hilaryparker.com/2014/04/29/writing-an-r-package-from-scratch/ )
112
- - [ How to develop good R packages - Maëlle Salmon] ( http ://www. masalmon.eu/2017/12/11/goodrpackages/)
113
- - [ Making your first R package - Fong Chun Chan] ( http ://tinyheero.github.io/jekyll/update/2015/07/26/making-your-first-R-package.html)
114
- - [ Writing an R package from scratch - Tomas Westlake] ( https://r-mageddon.netlify.com /post/writing-an-r-package-from-scratch/ )
112
+ - [ How to develop good R packages - Maëlle Salmon] ( https ://masalmon.eu/2017/12/11/goodrpackages/)
113
+ - [ Making your first R package - Fong Chun Chan] ( https ://tinyheero.github.io/jekyll/update/2015/07/26/making-your-first-R-package.html)
114
+ - [ Writing an R package from scratch - Tomas Westlake] ( https://r-mageddon.netlify.app /post/writing-an-r-package-from-scratch/ )
115
115
116
116
5 . [ Writing R
117
117
Extensions] ( https://cran.r-project.org/doc/manuals/r-release/R-exts.html ) is
@@ -123,14 +123,14 @@ valuable resources to help!
123
123
devtools started off as a lean-and-mean package to facilitate local package
124
124
development, but over the years it accumulated more and more functionality.
125
125
devtools has undergone a [ conscious
126
- uncoupling] ( https://web.archive.org/web/20140326060230/http ://www.goop.com/journal/be/conscious-uncoupling )
126
+ uncoupling] ( https://web.archive.org/web/20140326060230/https ://www.goop.com/journal/be/conscious-uncoupling )
127
127
to split out functionality into smaller, more tightly focussed packages. This
128
128
includes:
129
129
130
130
* [ testthat] ( https://github.com/r-lib/testthat ) : Writing and running tests
131
131
(i.e. ` test() ` ).
132
132
133
- * [ roxygen2] ( https://github.com/klutometis/roxygen ) : Function and package documentation
133
+ * [ roxygen2] ( https://github.com/r-lib/roxygen2 ) : Function and package documentation
134
134
(i.e. ` document() ` ).
135
135
136
136
* [ remotes] ( https://github.com/r-lib/remotes ) : Installing packages (i.e.
0 commit comments