https://github.com/cran/rstpm2
Revision 4f6cced2730ffce02a21c60576beee964f690a74 authored by Mark Clements on 29 May 2018, 12:45:06 UTC, committed by cran-robot on 29 May 2018, 12:45:06 UTC
1 parent 8d14fde
Tip revision: 4f6cced2730ffce02a21c60576beee964f690a74 authored by Mark Clements on 29 May 2018, 12:45:06 UTC
version 1.4.2
version 1.4.2
Tip revision: 4f6cced
package_init.c
#include <R.h>
#include <Rinternals.h>
#include <R_ext/RS.h>
#include <stdlib.h> // for NULL
#include <R_ext/Rdynload.h>
/* FIXME:
Check these declarations against the C/Fortran source code.
*/
/* .Call calls */
extern SEXP model_output(SEXP);
extern SEXP test_cox_tvc2(SEXP);
extern SEXP test_cox_tvc2_grad(SEXP);
extern SEXP fitCureModel(SEXP,SEXP,SEXP,SEXP,SEXP,SEXP);
extern SEXP aft_model_output(SEXP);
/* .Fortran calls -- thanks for Gordon Smyth */
extern void F77_NAME(gausq2)(void *, void *, void *, void *, void *);
static const R_CallMethodDef CallEntries[] = {
{"model_output", (DL_FUNC) &model_output, 1},
{"test_cox_tvc2", (DL_FUNC) &test_cox_tvc2, 1},
{"test_cox_tvc2_grad", (DL_FUNC) &test_cox_tvc2_grad, 1},
{"fitCureModel", (DL_FUNC) &fitCureModel, 6},
{"aft_model_output", (DL_FUNC) &aft_model_output, 1},
{NULL, NULL, 0}
};
static const R_FortranMethodDef FortranEntries[] = {
{"gausq2", (DL_FUNC) &F77_NAME(gausq2), 5},
{NULL, NULL, 0}
};
void R_init_rstpm2(DllInfo *dll)
{
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
R_registerRoutines(dll, NULL, NULL, FortranEntries, NULL);
R_useDynamicSymbols(dll, FALSE);
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...