Skip to content

Commit

Permalink
refining #3 a little, new minor release
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Jan 2, 2017
1 parent 724a425 commit 10770b6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2017-01-02 Dirk Eddelbuettel <edd@debian.org>

* R/RcppDataFrame.R: (RcppDataFrame): Print but return invisibly

2017-01-02 Xikun Han <1159225156@qq.com>

* R/RcppDataFrame.R: (RcppDataFrame): Avoid double printing of return

2016-12-02 Dirk Eddelbuettel <edd@debian.org>

* src/DateExample.cpp (DateExample): Examples take more advantage
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: RcppExamples
Title: Examples using 'Rcpp' to Interface R and C++
Version: 0.1.8
Date: 2016-11-24
Version: 0.1.8.1
Date: 2017-01-02
Author: Dirk Eddelbuettel and Romain Francois
Maintainer: Dirk Eddelbuettel <edd@debian.org>
Description: Examples for Seamless R and C++ integration
Expand Down
6 changes: 3 additions & 3 deletions R/RcppDataFrame.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## RcppDataFrame.R: DataFrame example
##
## Copyright (C) 2011 - 2016 Dirk Eddelbuettel and Romain Francois
## Copyright (C) 2011 - 2017 Dirk Eddelbuettel and Romain Francois
##
## This file is part of RcppExamples.
##
Expand Down Expand Up @@ -32,7 +32,7 @@ RcppDataFrame <- function() {
val <- DataFrameExample(D)

cat("\nAfter call, original and new data frames:\n")
# print(val)
print(val)

val
invisible(val)
}
3 changes: 3 additions & 0 deletions inst/NEWS.Rd
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
\name{NEWS}
\title{News for Package \pkg{RcppExamples}}
\newcommand{\ghpr}{\href{https://github.com/eddelbuettel/rcppexamples/pull/#1}{##1}}
\newcommand{\ghit}{\href{https://github.com/eddelbuettel/rcppexamples/issues/#1}{##1}}

\section{Changes in RcppExamples version 0.1.9 (201x-yy-zz)}{
\itemize{
\item Extended DateExample to use more new Rcpp features
\item Do not print DataFrame result twice (Xikun Han in \ghpr{#3})
}
}

Expand Down

0 comments on commit 10770b6

Please sign in to comment.