Skip to content

Commit 99c8c90

Browse files
committed
eliminate unnecessary integer cast
1 parent 6a1f85e commit 99c8c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-pkg.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test_that( "linking from a package works", {
1414
intern = TRUE, ignore.stderr = TRUE)
1515
require(RcppParallelTest, lib.loc = templib, quietly = TRUE)
1616

17-
v <- as.integer(c(1:1000))
17+
v <- c(1:1000)
1818

1919
expect_equal(
2020
sum(v),

0 commit comments

Comments
 (0)