Browse code

internal bugfix for "length > 1 in coercion to logical"

FelixErnst authored on 27/07/2021 19:21:18
Showing3 changed files

... ...
@@ -1,8 +1,8 @@
1 1
 Package: RNAmodR
2 2
 Type: Package
3 3
 Title: Detection of post-transcriptional modifications in high throughput sequencing data
4
-Version: 1.7.0
5
-Date: 2021-04-23
4
+Version: 1.7.1
5
+Date: 2021-07-27
6 6
 Authors@R: c(person("Felix G.M.", 
7 7
                     "Ernst", 
8 8
                     email = "felix.gm.ernst@outlook.com", 
... ...
@@ -20,3 +20,6 @@ Changes in version 1.5.3 (2021-01-12)
20 20
 
21 21
 Changes in version 1.5.4 (2021-01-23)
22 22
 + add plot type "points" to plotCompare functions
23
+
24
+Changes in version 1.7.1 (2021-07-27)
25
++ internal bugfix
... ...
@@ -249,7 +249,7 @@ setClass("Modifier",
249 249
          "required", call. = FALSE)
250 250
   }
251 251
   elementTypes <- elementTypes[match(elementTypes,dataType(x))]
252
-  if(is.na(elementTypes) || any(elementTypes != dataType(x))){
252
+  if(any(is.na(elementTypes)) || any(elementTypes != dataType(x))){
253 253
     stop("Type of SequenceData elements does not match the requirements of ",
254 254
          class(x),". '",paste(dataType(x), collapse = "','"),"' are ",
255 255
          "required", call. = FALSE)