We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Rf_isObject()
OBJECT()
1 parent 34d6d92 commit ce2375aCopy full SHA for ce2375a
NEWS.md
@@ -1,5 +1,7 @@
1
# slider (development version)
2
3
+* Removed usage of non-API `OBJECT()`.
4
+
5
# slider 0.3.2
6
7
* Removed usage of non-API `STRING_PTR()` (#209).
src/params.c
@@ -47,7 +47,7 @@ static SEXP check_scalar_lgl(SEXP x, SEXP x_arg) {
47
// -----------------------------------------------------------------------------
48
49
static bool is_unbounded(SEXP x) {
50
- return !OBJECT(x) && TYPEOF(x) == REALSXP && REAL(x)[0] == R_PosInf;
+ return !Rf_isObject(x) && TYPEOF(x) == REALSXP && REAL(x)[0] == R_PosInf;
51
}
52
53
0 commit comments