Skip to content

Commit

Permalink
prepare 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tjebo committed Mar 21, 2021
1 parent 5aad1ac commit ec9ab7e
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 19 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: eye
Title: Analysis of Eye Data
Version: 1.1.9000
Version: 1.2.0
Authors@R: c(
person("Tjebo", "Heeren",
role = c("aut", "cre"),
Expand Down
20 changes: 20 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## 1.2.0
Summary of changes:
- `eyes()` - now returns lists (of class "eyes") for easier access of count data
- `set_eye_strings()` - set string codes globally! This makes it easier for people using different languages to use eye.
- recodeye: renamed "eyecodes" argument to "eyestrings"
- Change of terminology to "subjects/id" rather than "patients"
- simplified code

Details:
- `eyes()`: "details" argument creates object of class "eyes_details", allowing access to in depth count statistics and subject ids
- This includes new print methods for class "eyes" and "eyes_details"
- change id and eye arguments to "id_col" and "eye_col" - previous code should not break because of partial argument name matching. However, the new names make it clearer as to what those arguments are for.
- calling `set_eye_strings` will super-assign the new codes to the internal
list object eye_codes
- getElem_eyecol now gives precedence to columns that are called "eye" or "eyes" (#30)
Simplifications:
- simplified pivoting in myop using the pivot_longer regex feature
- removed ..._chr arguments from getElem_... functions (redundant)
- getElem... now only for vectors (because they were anyways only used for vectors)

## 1.1.0
summary of changes:
- new features for function `eyestr`
Expand Down
33 changes: 16 additions & 17 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
## Submission eye version 1.2.0
summary of changes:
- added option to change strings used for coding for variables (`set_eye_codes`)
- calling set_eye_codes will super-assign the new codes to the internal
list object eye_codes
Summary of changes:
- `eyes()` - now returns lists (of class "eyes") for easier access of count data
- `set_eye_strings()` - set string codes globally! This makes it easier for people using different languages to use eye.
- recodeye: renamed "eyecodes" argument to "eyestrings"
- new features for function `eyes`
returning list (of class "eyes") for easier access of count data
"details" argument creates object of class "eyes_details", allowing access to in depth count statistics and subject ids
- change id and eye arguments to "id_col" and "eye_col" - previous code should
not break because of partial argument name matching. However, the new names
make it clearer as to what those arguments are for.
- Change of terminology to "subjects/id" rather than "patients"
- print methods for class "eyes" and "eyes_details"
- documentation corrected and expanded in `eyes`
- update description file with updated versions of dependencies
- simplified pivoting in myop using the pivot_longer regex feature
- removed ..._chr arguments from getElem_... functions (redundant)
- simplified getElem... functions because they were anyways only used for vectors
- getElem_eyecol now gives precedence to columns that are called "eye" or "eyes" (fixed #30)
- simplified code

Details:
- `eyes()`: "details" argument creates object of class "eyes_details", allowing access to in depth count statistics and subject ids
- This includes new print methods for class "eyes" and "eyes_details"
- change id and eye arguments to "id_col" and "eye_col" - previous code should not break because of partial argument name matching. However, the new names make it clearer as to what those arguments are for.
- calling `set_eye_strings` will super-assign the new codes to the internal
list object eye_codes
- getElem_eyecol now gives precedence to columns that are called "eye" or "eyes" (#30)
- fixed errors in documentation
- update citation file
- update description file
Simplifications:
- simplified pivoting in myop using the pivot_longer regex feature
- removed ..._chr arguments from getElem_... functions (redundant)
- getElem... now only for vectors (because they were anyways only used for vectors)

## CHECK ENVIRONMENTS
* local OS X install, R 4.0.3
Expand Down
2 changes: 1 addition & 1 deletion inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ citEntry(
author = "Tjebo F.C. Heeren",
year = 2021,
address = "London, UK",
note = "version 1.1.0",
note = "version 1.2.0",
url = "https://github.com/tjebo/eye",
textVersion = "T.F.C. Heeren. The eye package for R: A tool for ophthalmic data analysis, London, UK, 2021."
)

0 comments on commit ec9ab7e

Please sign in to comment.