-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from runehaubo/cran-submit-apr18
Cran submit apr18
- Loading branch information
Showing
14 changed files
with
131 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Package: ordinal | ||
Type: Package | ||
Title: Regression Models for Ordinal Data | ||
Version: 2015.6-28.9000 | ||
Date: 2015-06-28 | ||
Version: 2018.4-19 | ||
Date: 2018-04-19 | ||
Authors@R: person(given="Rune Haubo Bojesen", family="Christensen", | ||
email="[email protected]", role=c("aut", "cre")) | ||
LazyData: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
useDynLib(ordinal, .registration = TRUE) | ||
useDynLib("ordinal", .registration = TRUE) | ||
|
||
importFrom(graphics, | ||
plot, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
#include <R.h> | ||
#include <Rinternals.h> | ||
#include <stdlib.h> // for NULL | ||
#include <R_ext/Rdynload.h> | ||
|
||
/* .C calls */ | ||
extern void dAO_C(void *, void *, void *, void *); | ||
extern void dgumbel_C(void *, void *, void *, void *, void *); | ||
extern void dgumbel2_C(void *, void *, void *, void *, void *); | ||
extern void dlgamma_C(void *, void *, void *, void *); | ||
extern void gAO_C(void *, void *, void *); | ||
extern void gcauchy_C(void *, void *); | ||
extern void getNAGQ(void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *); | ||
extern void getNGHQ_C(void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *); | ||
extern void ggumbel_C(void *, void *); | ||
extern void ggumbel2_C(void *, void *); | ||
extern void glgamma_C(void *, void *, void *); | ||
extern void glogis_C(void *, void *); | ||
extern void gnorm_C(void *, void *); | ||
extern void grad_C(void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *); | ||
extern void gradC(void *, void *, void *, void *, void *, void *, void *, void *); | ||
extern void grFacSum_C(void *, void *, void *, void *, void *); | ||
extern void hess(void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *); | ||
extern void hessC(void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *); | ||
extern void nll(void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *); | ||
extern void NRalg(void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *); | ||
extern void NRalgv3(void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *); | ||
extern void pAO_C(void *, void *, void *, void *); | ||
extern void pgumbel_C(void *, void *, void *, void *, void *); | ||
extern void pgumbel2_C(void *, void *, void *, void *, void *); | ||
extern void plgamma_C(void *, void *, void *, void *); | ||
|
||
/* .Call calls */ | ||
extern SEXP get_fitted(SEXP, SEXP, SEXP, SEXP); | ||
|
||
static const R_CMethodDef CEntries[] = { | ||
{"dAO_C", (DL_FUNC) &dAO_C, 4}, | ||
{"dgumbel_C", (DL_FUNC) &dgumbel_C, 5}, | ||
{"dgumbel2_C", (DL_FUNC) &dgumbel2_C, 5}, | ||
{"dlgamma_C", (DL_FUNC) &dlgamma_C, 4}, | ||
{"gAO_C", (DL_FUNC) &gAO_C, 3}, | ||
{"gcauchy_C", (DL_FUNC) &gcauchy_C, 2}, | ||
{"getNAGQ", (DL_FUNC) &getNAGQ, 19}, | ||
{"getNGHQ_C", (DL_FUNC) &getNGHQ_C, 17}, | ||
{"ggumbel_C", (DL_FUNC) &ggumbel_C, 2}, | ||
{"ggumbel2_C", (DL_FUNC) &ggumbel2_C, 2}, | ||
{"glgamma_C", (DL_FUNC) &glgamma_C, 3}, | ||
{"glogis_C", (DL_FUNC) &glogis_C, 2}, | ||
{"gnorm_C", (DL_FUNC) &gnorm_C, 2}, | ||
{"grad_C", (DL_FUNC) &grad_C, 16}, | ||
{"gradC", (DL_FUNC) &gradC, 8}, | ||
{"grFacSum_C", (DL_FUNC) &grFacSum_C, 5}, | ||
{"hess", (DL_FUNC) &hess, 13}, | ||
{"hessC", (DL_FUNC) &hessC, 11}, | ||
{"nll", (DL_FUNC) &nll, 17}, | ||
{"NRalg", (DL_FUNC) &NRalg, 29}, | ||
{"NRalgv3", (DL_FUNC) &NRalgv3, 24}, | ||
{"pAO_C", (DL_FUNC) &pAO_C, 4}, | ||
{"pgumbel_C", (DL_FUNC) &pgumbel_C, 5}, | ||
{"pgumbel2_C", (DL_FUNC) &pgumbel2_C, 5}, | ||
{"plgamma_C", (DL_FUNC) &plgamma_C, 4}, | ||
{NULL, NULL, 0} | ||
}; | ||
|
||
static const R_CallMethodDef CallEntries[] = { | ||
{"get_fitted", (DL_FUNC) &get_fitted, 4}, | ||
{NULL, NULL, 0} | ||
}; | ||
|
||
void R_init_ordinal(DllInfo *dll) | ||
{ | ||
R_registerRoutines(dll, CEntries, CallEntries, NULL, NULL); | ||
R_useDynamicSymbols(dll, FALSE); | ||
} |
Oops, something went wrong.