From 09d5d91afb126f52fcc209ac9c372f843f6ed458 Mon Sep 17 00:00:00 2001 From: "George G. Vega Yon" Date: Tue, 29 Aug 2023 17:15:15 -0600 Subject: [PATCH] Fixing citation and C++ --- inst/CITATION | 6 +++--- src/Makevars.in | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/inst/CITATION b/inst/CITATION index b05d82b9..768ed341 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -1,9 +1,8 @@ year <- sub("-.*", "", meta$Date) note <- sprintf("R package version %s", meta$Version) -citHeader("To cite netdiffuseR in publications use the following paper:") - -citEntry( +bibentry( + header = "To cite netdiffuseR in publications use the following paper:", entry = "Article", title = "Diffusion/Contagion Processes on Social Networks", author = c( @@ -20,6 +19,7 @@ citEntry( issn = "1367-4803", pages = "235-248", note = "{PMID: 32090655}", + bibtype = "article", textVersion = "Valente TW, Vega Yon GG. Diffusion/Contagion Processes on Social Networks. Health Education & Behavior. 2020;47(2):235-248. doi:10.1177/1090198120901497" ) diff --git a/src/Makevars.in b/src/Makevars.in index a6cccdc6..02f72d97 100644 --- a/src/Makevars.in +++ b/src/Makevars.in @@ -1,6 +1,5 @@ PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) @OPENMP_CXXFLAGS@ # 1.2.4 Using C++11 code -CXX_STD = CXX11 # This is necesary since ARMADILLO now supports OpenMP PKG_CXXFLAGS=@OPENMP_CXXFLAGS@ -DARMA_64BIT_WORD -DSTRICT_R_HEADERS