Skip to content

Commit 77d80ac

Browse files
committed
Remove redirects in links
1 parent 803ca24 commit 77d80ac

File tree

6 files changed

+28
-27
lines changed

6 files changed

+28
-27
lines changed

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# devtools 2.3.2
2+
3+
* Fix for compatibility with withr 2.3.0
4+
15
# devtools 2.3.1
26

37
* `run_examples()` arguments `run` and `test` are deprecated in favor of the (hopefully) more clear `run_dontrun` and `run_donttest` (pkgload/#107).

R/lint.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#' Lint all source files in a package.
22
#'
33
#' The default linters correspond to the style guide at
4-
#' <http://r-pkgs.had.co.nz/r.html#style>, however it is possible to
4+
#' <https://style.tidyverse.org/>, however it is possible to
55
#' override any or all of them using the `linters` parameter.
66
#' @template devtools
77
#' @param cache store the lint results so repeated lints of the same content

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ trim_ws <- function(x, which = c("both", "left", "right")) {
148148
warn_unless_current_dir <- function(pkg, envir = parent.frame()) {
149149
if (pkg != ".") {
150150
warning("`pkg` is not `.`, which is now unsupported.\n Please use `usethis::proj_set()` to set the project directory.", immediate. = TRUE)
151-
local_proj(pkg, .local_envir = envir)
151+
usethis::local_project(pkg, quiet = TRUE, .local_envir = envir)
152152
}
153153
}
154154

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<!-- badges: start -->
44
[![R build status](https://github.com/r-lib/devtools/workflows/R-CMD-check/badge.svg)](https://github.com/r-lib/devtools/actions)
55
[![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)
77
<!-- badges: end -->
88

99
The aim of devtools is to make package development easier by providing R
1010
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.
1212

1313
## Installation
1414

@@ -74,8 +74,8 @@ look in the current working directory - this is a recommended practice.
7474

7575
* `check()` updates the documentation, then builds and checks the package locally.
7676
`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
7979
your package on all systems CRAN uses before submission.
8080

8181
* `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.
8686
R package development can be intimidating, however there are now a number of
8787
valuable resources to help!
8888

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>
9090

9191
1. R Packages is a book that gives a comprehensive treatment of all common parts
9292
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
9494
it has grown somewhat out of sync with the current version of devtools.
9595
* 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
9999
make great places to start.
100100

101101
2. [RStudio community - package
102-
development](https://community.rstudio.com/c/package-development)
102+
development](https://community.rstudio.com/c/package-development/11)
103103
is a great place to ask specific questions related to package development.
104104

105-
3. [rOpenSci packages](https://ropensci.github.io/dev_guide/) has
105+
3. [rOpenSci packages](https://devguide.ropensci.org/) has
106106
extensive documentation on best practices for R packages looking to be
107107
contributed to rOpenSci, but also very useful general recommendations
108108
for package authors.
109109

110110
4. There are a number of fantastic blog posts on writing your first package, including
111111
- [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/)
115115

116116
5. [Writing R
117117
Extensions](https://cran.r-project.org/doc/manuals/r-release/R-exts.html) is
@@ -123,14 +123,14 @@ valuable resources to help!
123123
devtools started off as a lean-and-mean package to facilitate local package
124124
development, but over the years it accumulated more and more functionality.
125125
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)
127127
to split out functionality into smaller, more tightly focussed packages. This
128128
includes:
129129

130130
* [testthat](https://github.com/r-lib/testthat): Writing and running tests
131131
(i.e. `test()`).
132132

133-
* [roxygen2](https://github.com/klutometis/roxygen): Function and package documentation
133+
* [roxygen2](https://github.com/r-lib/roxygen2): Function and package documentation
134134
(i.e. `document()`).
135135

136136
* [remotes](https://github.com/r-lib/remotes): Installing packages (i.e.

man/check.Rd

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/lint.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)