@@ -94,7 +94,7 @@ detail_306 <- function(x) {
9494 d <- subset_(x , S7 :: prop(x , " Details" ), TRUE )
9595 n <- unname(purrr :: map_chr(d , 1L )[3 : length(d )])
9696
97- if (setequal (n , c(" 38" , " TV" , " PE" , " RM" ))) {
97+ if (identical (n , c(" 38" , " TV" , " PE" , " RM" ))) {
9898 return (
9999 Detail306(
100100 BPR = d [[" BPR" ]],
@@ -106,7 +106,7 @@ detail_306 <- function(x) {
106106 )
107107 )
108108 }
109- if (setequal (n , c(" PE" , " RM" , " IC" ))) {
109+ if (identical (n , c(" PE" , " RM" , " IC" ))) {
110110 return (
111111 Detail306(
112112 BPR = d [[" BPR" ]],
@@ -125,7 +125,7 @@ detail_218 <- function(x) {
125125 d <- subset_(x , S7 :: prop(x , " Details" ), TRUE )
126126 n <- names(purrr :: map_chr(d , 1L )[4 : length(d )])
127127
128- if (setequal (n , c(" N1" , " N1" ))) {
128+ if (identical (n , c(" N1" , " N1" ))) {
129129 return (
130130 Detail218(
131131 BPR = d [[" BPR" ]],
@@ -137,7 +137,7 @@ detail_218 <- function(x) {
137137 )
138138 }
139139
140- if (setequal (n , c(" N1" , " N3" , " N4" , " N1" ))) {
140+ if (identical (n , c(" N1" , " N3" , " N4" , " N1" ))) {
141141 return (
142142 Detail218(
143143 BPR = d [[" BPR" ]],
@@ -149,7 +149,7 @@ detail_218 <- function(x) {
149149 )
150150 }
151151
152- if (setequal (n , c(" N1" , " N1" , " N3" , " N4" ))) {
152+ if (identical (n , c(" N1" , " N1" , " N3" , " N4" ))) {
153153 return (
154154 Detail218(
155155 BPR = d [[" BPR" ]],
@@ -161,7 +161,7 @@ detail_218 <- function(x) {
161161 )
162162 }
163163
164- if (setequal (n , c(" N1" , " N3" , " N4" , " N1" , " N3" , " N4" ))) {
164+ if (identical (n , c(" N1" , " N3" , " N4" , " N1" , " N3" , " N4" ))) {
165165 return (
166166 Detail218(
167167 BPR = d [[" BPR" ]],
0 commit comments