File tree 1 file changed +21
-1
lines changed
1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ if(server_check & ON_GIT){
71
71
# } else{
72
72
# login_check <- TRUE
73
73
# }
74
-
75
74
}
76
75
77
76
# ----- formal checks ----
@@ -222,6 +221,27 @@ test_that("required arguments missing for cds_* functions", {
222
221
simplify = FALSE )))
223
222
})
224
223
224
+ test_that(" rename output routine" , {
225
+ skip_on_cran()
226
+ skip_if(login_check )
227
+
228
+ request <- list (
229
+ dataset_short_name = " reanalysis-era5-single-levels-monthly-means" ,
230
+ product_type = " monthly_averaged_reanalysis" ,
231
+ variable = c(" 2m_temperature" ),
232
+ year = c(" 2020" ," 2018" ),
233
+ month = c(" 01" , " 02" ),
234
+ time = " 00:00" ,
235
+ data_format = " netcdf" ,
236
+ grid = c(" 1" , " 1" ),
237
+ download_format = " unarchived"
238
+ )
239
+
240
+ expect_output(
241
+ wf_request(request )
242
+ )
243
+ })
244
+
225
245
test_that(" batch request tests" , {
226
246
skip_on_cran()
227
247
skip_if(login_check )
You can’t perform that action at this time.
0 commit comments