Skip to content

Commit

Permalink
solve CRAN complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Jan 13, 2023
1 parent b155411 commit af69f65
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ src/Makevars
config.log
config.status
autom4te.cache/*
configure~
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: poismf
Type: Package
Title: Factorization of Sparse Counts Matrices Through Poisson Likelihood
Version: 0.4.0-2
Version: 0.4.0-3
Authors@R: c(
person(given="David", family="Cortes", role=c("aut", "cre", "cph"),
email="[email protected]"),
Expand Down
9 changes: 3 additions & 6 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -3186,12 +3186,9 @@ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
CC=`"${R_HOME}/bin/R" CMD config CC`
CFLAGS=`"${R_HOME}/bin/R" CMD config CFLAGS`
CPPFLAGS=`"${R_HOME}/bin/R" CMD config CPPFLAGS`
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-math-errno"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Expand Down
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ fi
AC_SUBST(OMP_PLUS_ATOMIC_L)
AC_SUBST(OMP_PLUS_ATOMIC)

AC_LANG(C)
CC=`"${R_HOME}/bin/R" CMD config CC`
CFLAGS=`"${R_HOME}/bin/R" CMD config CFLAGS`
CPPFLAGS=`"${R_HOME}/bin/R" CMD config CPPFLAGS`
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-math-errno"
AC_COMPILE_IFELSE(
Expand Down

0 comments on commit af69f65

Please sign in to comment.