Skip to content

Commit

Permalink
CRAN submission feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey committed Aug 26, 2024
1 parent fb8f45a commit 65b9290
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
22 changes: 15 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
Package: dotty
Type: Package
Title: The Destructuring Dot Operator
Title: The Unpacking Dot Operator
Version: 0.1.0
Author: Kevin Ushey
Maintainer: Kevin Ushey <[email protected]>
Description: Enables destructuring assignments in R, through the use of a
special `.` object.
Authors@R: c(
person(
"Kevin", "Ushey",
email = "[email protected]",
role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2880-7407")
)
)
Description: Provides a `.` object which can be used for unpacking
assignments. For example, `.[nr, nc] <- dim(mtcars)` could be used to
pull the number of rows and number of columns from `dim(mtcars)` into
individual variables `nr` and `nc` in a single step.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.2
Suggests:
codetools,
testthat (>= 3.0.0)
codetools,
testthat (>= 3.0.0)
Config/testthat/edition: 3
URL: https://kevinushey.github.io/dotty/
8 changes: 5 additions & 3 deletions tests/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
# * https://r-pkgs.org/tests.html
# * https://testthat.r-lib.org/reference/test_package.html#special-files

library(testthat)
library(dotty)
if (requireNamespace("testthat", quietly = TRUE)) {
library(testthat)
library(dotty)

test_check("dotty")
test_check("dotty")
}

0 comments on commit 65b9290

Please sign in to comment.