Skip to content

Commit

Permalink
usedpackage_native_routine_registration_skeleton(".") to fix R CMD ch…
Browse files Browse the repository at this point in the history
…eck note

note:
File ‘VPdtw/libs/VPdtw.so’:
    Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

  It is good practice to register native routines and to disable symbol
  search.
  • Loading branch information
ethanbass committed May 7, 2022
1 parent b5c053b commit 0d9d819
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/VPdtw_init.c
@@ -0,0 +1 @@
#include <stdlib.h> // for NULL#include <R_ext/Rdynload.h>/* .C calls */extern void dilation(void *, void *, void *, void *);extern void signalMatchWrapABand(void *, void *, void *, void *, void *, void *, void *);static const R_CMethodDef CEntries[] = { {"dilation", (DL_FUNC) &dilation, 4}, {"signalMatchWrapABand", (DL_FUNC) &signalMatchWrapABand, 7}, {NULL, NULL, 0}};void R_init_VPdtw(DllInfo *dll){ R_registerRoutines(dll, CEntries, NULL, NULL, NULL); R_useDynamicSymbols(dll, FALSE);}
Expand Down

0 comments on commit 0d9d819

Please sign in to comment.