pomp
Inference for partially observed Markov processes
Toggle main menu visibility
Main Page
Data Structures
Data Structures
Data Structure Index
Data Fields
All
Variables
Files
File List
Globals
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
b
d
e
f
g
i
l
m
n
o
p
r
s
t
w
Variables
_
a
c
f
m
n
o
p
r
s
Typedefs
a
b
g
l
m
n
p
s
t
u
Enumerations
Enumerator
Macros
a
c
e
f
k
m
n
r
s
t
u
v
w
x
y
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
backports.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
#ifndef _POMP_BACKPORTS_H_
4
#define _POMP_BACKPORTS_H_
5
6
#include <Rversion.h>
7
8
// Some backports needed for older versions of R.
9
// Taken from
10
// https://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Some-backports
11
// These are not necessarily all used in the package code.
12
13
#if R_VERSION < R_Version(4, 5, 0)
14
15
# define isDataFrame(x) Rf_isFrame(x)
16
# define R_ClosureFormals(x) FORMALS(x)
17
# define R_ClosureEnv(x) CLOENV(x)
18
# define R_ParentEnv(x) ENCLOS(x)
19
20
#endif
21
22
#endif
src
backports.h
Generated by
1.13.2