Skip to content

Commit

Permalink
use cpp11 and cpp11 only
Browse files Browse the repository at this point in the history
  • Loading branch information
pachadotdev committed Jan 30, 2023
1 parent 435f97d commit e60c573
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ windows
^\.gitpod\.yml$
^\.gitpod\.Dockerfile$
^CMakeLists\.txt$
^vscode-install\.r$
12 changes: 6 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: RPostgres
Title: Rcpp Interface to PostgreSQL
Version: 1.4.5.9002
Version: 1.4.5.9003
Date: 2023-01-24
Authors@R: c(
person("Hadley", "Wickham", role = "aut"),
Expand Down Expand Up @@ -36,9 +36,8 @@ Suggests:
rmarkdown,
testthat (>= 3.0.0)
LinkingTo:
plogr (>= 0.2.0),
Rcpp,
cpp11
cpp11,
plogr (>= 0.2.0)
VignetteBuilder:
knitr
Config/autostyle/scope: line_breaks
Expand All @@ -48,8 +47,9 @@ Encoding: UTF-8
LazyLoad: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
SystemRequirements: libpq >= 9.0: libpq-dev (deb) or postgresql-devel
(rpm), C++17
SystemRequirements:
libpq >= 9.0: libpq-dev (deb) or postgresql-devel (rpm),
C++11
Collate:
'PqDriver.R'
'PqConnection.R'
Expand Down
2 changes: 2 additions & 0 deletions src/Makevars.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ PKG_CFLAGS=$(C_VISIBILITY)
PKG_CXXFLAGS=$(CXX_VISIBILITY)

PKG_LIBS=@libs@

CXX_STD = CXX11
4 changes: 4 additions & 0 deletions vscode-install.r
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (!require(covr)) install.packages("covr")
if (!require(DBItest)) install.packages("DBItest")
devtools::install(upgrade = "never")
devtools::check()

0 comments on commit e60c573

Please sign in to comment.