File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ static void PreserveObjects(void) {
116
116
Rf_classgets (nano_unresolved , Rf_mkString ("unresolvedValue" ));
117
117
}
118
118
119
+ // # nocov start
119
120
static void ReleaseObjects (void ) {
120
121
R_ReleaseObject (nano_unresolved );
121
122
R_ReleaseObject (nano_success );
@@ -129,6 +130,7 @@ static void ReleaseObjects(void) {
129
130
R_ReleaseObject (nano_aioFuncs );
130
131
R_ReleaseObject (nano_aioFormals );
131
132
}
133
+ // # nocov end
132
134
133
135
static const R_CallMethodDef callMethods [] = {
134
136
{"rnng_aio_call" , (DL_FUNC ) & rnng_aio_call , 1 },
@@ -219,6 +221,8 @@ void attribute_visible R_init_nanonext(DllInfo* dll) {
219
221
R_forceSymbols (dll , TRUE);
220
222
}
221
223
224
+ // # nocov start
222
225
void attribute_visible R_unload_nanonext (DllInfo * info ) {
223
226
ReleaseObjects ();
224
227
}
228
+ // # nocov end
Original file line number Diff line number Diff line change @@ -522,6 +522,7 @@ nanotest(is.environment(set_promise_context(new.env(), new.env())))
522
522
523
523
nanotest(base64enc(" test" ) == " dGVzdA==" )
524
524
nanotest(base64dec(base64enc(" test" )) == " test" )
525
+ nanotest(is.character(base64enc(c(" vector" , " test" ))))
525
526
nanotest(is.raw(base64enc(data.frame (), convert = FALSE )))
526
527
nanotest(is.raw(base64dec(base64enc(as.raw(c(1L , 2L )), convert = FALSE ), convert = FALSE )))
527
528
nanotest(is.integer(base64dec(base64enc(c(1L , 2L )), convert = NA )))
You can’t perform that action at this time.
0 commit comments