Skip to content

Commit

Permalink
do not include Rinternals.h
Browse files Browse the repository at this point in the history
  • Loading branch information
kingaa committed May 22, 2024
1 parent 5ca52ea commit 563af2c
Show file tree
Hide file tree
Showing 23 changed files with 30 additions and 29 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: pomp
Type: Package
Title: Statistical Inference for Partially Observed Markov Processes
Version: 5.8.2.1
Date: 2024-05-14
Version: 5.8.3.0
Date: 2024-05-22
Authors@R: c(person(given=c("Aaron","A."),family="King",role=c("aut","cre"),email="kingaa@umich.edu",comment=c(ORCID="0000-0001-6159-3207")),
person(given=c("Edward","L."),family="Ionides",role="aut",comment=c(ORCID="0000-0002-4190-0174")) ,
person(given="Carles",family="Bretó",role="aut",comment=c(ORCID="0000-0003-4695-4902")),
Expand Down
4 changes: 4 additions & 0 deletions inst/NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
_N_e_w_s _f_o_r _p_a_c_k_a_g_e '_p_o_m_p'

_C_h_a_n_g_e_s _i_n '_p_o_m_p' _v_e_r_s_i_o_n _5._8._3:

• Internally, ‘pomp’ codes no longer include ‘Rinternal.h’.

_C_h_a_n_g_e_s _i_n '_p_o_m_p' _v_e_r_s_i_o_n _5._8._2:

• A bug in covariate-table extrapolation for the case
Expand Down
5 changes: 5 additions & 0 deletions inst/NEWS.Rd
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
\name{NEWS}
\title{News for package `pomp'}
\section{Changes in \pkg{pomp} version 5.8.3}{
\itemize{
\item Internally, \pkg{pomp} codes no longer include \file{Rinternal.h}.
}
}
\section{Changes in \pkg{pomp} version 5.8.2}{
\itemize{
\item A bug in covariate-table extrapolation for the case \code{order="constant"} has been fixed.
Expand Down
8 changes: 0 additions & 8 deletions inst/include/pomp.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
// Header for the C API for pomp.
// Documentation: https://kingaa.github.io/pomp/C_API.html

//! \mainpage C source codes for **pomp**
//!
//! These codes are part of **pomp**, an **R** package for partially observed Markov processes, described in a [2016 *Journal of Statistical Software* paper](https://doi.org/10.18637/jss.v069.i12).
//!
//! See the [package homepage](https://kingaa.github.io/pomp/) and the [manual](https://kingaa.github.io/manuals/pomp/) for more information.
//!
//! The **pomp** C API is [documented here](https://kingaa.github.io/pomp/C_API.html).
//!

#ifndef _POMP_H_
#define _POMP_H_
Expand Down
2 changes: 1 addition & 1 deletion inst/include/pomp_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "pomp.h"

Expand Down
2 changes: 1 addition & 1 deletion rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ tests: .tests
install: .install

inst/include/%.h: src/%.h
$(CP) $^ $@
perl -ne 'print if not /^\/\/\!/' $^ > $@

%.tex: %.Rnw
$(REXE) -e "library(knitr); knit(\"$*.Rnw\")"
Expand Down
2 changes: 1 addition & 1 deletion src/dinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/dmeasure.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/dprior.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/dprocess.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/emeasure.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/euler.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "pomp_defines.h"
#include "decls.h"
Expand Down
2 changes: 1 addition & 1 deletion src/partrans.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/pomp_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "pomp.h"

Expand Down
2 changes: 1 addition & 1 deletion src/pomp_fun.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <R.h>
#include <Rdefines.h>
#include <Rinternals.h>

#include <R_ext/Rdynload.h>

#include "internal.h"
Expand Down
2 changes: 1 addition & 1 deletion src/rinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/rmeasure.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/rprior.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/rprocess.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/skeleton.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/ssa.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion src/vmeasure.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
#include <Rinternals.h>


#include "internal.h"

Expand Down

0 comments on commit 563af2c

Please sign in to comment.