Skip to content

Commit ae10ae1

Browse files
committed
removed lest_this()
1 parent b3ec48b commit ae10ae1

File tree

4 files changed

+10
-27
lines changed

4 files changed

+10
-27
lines changed

NEWS.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
# testthis 1.0.3.9000
1+
# testthis 1.0.4
2+
3+
* Import `parse_ns_file()` from pkgload instead of devtools
4+
* #* @testfile tag paths can now contain the script file extension `.R`
5+
* removed deprecated `lest_this()` function
6+
* various small bugfixes and improvements
27

3-
* Updated for compatbility with devtools > 1.13.5
48

59

610
# testthis 1.0.3

R/test_this.R

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,3 @@ test_this <- function(...){
3333

3434
invisible()
3535
}
36-
37-
38-
39-
40-
#' \code{lest_this()} Deprecated. Please us `test_this()` instead.
41-
#' @export
42-
#' @rdname test_this
43-
lest_this <- function(...){
44-
.Deprecated(
45-
msg = paste(
46-
"'test_this()' now reloads package by default. 'lest_this()' is no",
47-
"longer required and will be dropped in future versions."
48-
))
49-
test_this(...)
50-
}

cran-comments.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Test environments
2-
* local ubuntu 17.10 install, R 3.4.2
2+
* local ubuntu 17.10 install, R 3.4.3
33
* win-builder (devel and release)
44

55
## R CMD check results
@@ -12,7 +12,8 @@ None
1212

1313
## Notes
1414

15-
* vignette should now comply with CRAN guidelines
16-
* some minor improvements to the package (see NEWS.md)
15+
maintenance release with compat to new devtools version and various minor
16+
bugfixes and improvements
17+
1718

1819
---

inst/rstudio/addins.dcf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ Description: Calls testthat::test_file on the associated test file of the
44
Binding: test_this
55
Interactive: TRUE
66

7-
Name: Load and test
8-
Description: Calls `devtools::load_all()` followed by `testthat::test_file` on
9-
the associated test file of the currently open file (usually
10-
"tests/test_that/test_CURRENT_FILE_NAME.R")
11-
Binding: lest_this
12-
Interactive: TRUE
13-
147
Name: Open testfile
158
Description: Jump back and forth between the currently open file and its
169
associated test file (usually "tests/test_that/test_CURRENT_FILE_NAME.R").

0 commit comments

Comments
 (0)