Skip to content

Commit

Permalink
Prepare new release
Browse files Browse the repository at this point in the history
  • Loading branch information
ngmarchant committed Sep 16, 2023
1 parent 7188051 commit 7757279
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 24 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: clevr
Type: Package
Title: Clustering and Link Prediction Evaluation in R
Version: 0.1.1
Date: 2020-11-29
Version: 0.1.2
Date: 2023-09-16
Authors@R: c(
person(given = "Neil",
family = "Marchant",
Expand All @@ -29,7 +29,7 @@ Imports: Rcpp (>= 1.0.5),
stats,
Matrix
LinkingTo: Rcpp, BH (>= 1.69.0)
RoxygenNote: 7.1.1
RoxygenNote: 7.2.3
Roxygen: list(markdown = TRUE)
Suggests: testthat
URL: https://github.com/cleanzr/clevr
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import(Rcpp)
importFrom(Matrix,colSums)
importFrom(Matrix,crossprod)
importFrom(Matrix,rowSums)
importFrom(Matrix,tcrossprod)
importFrom(Matrix,which)
importFrom(Rcpp,evalCpp)
importFrom(stats,na.action)
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# clevr 0.1.2
* Address compatibility issue with Matrix 1.6-2 release

# clevr 0.1.1
* Fix behavior when pairs are represented using different types
* Improve documentation by adding examples
Expand Down
23 changes: 3 additions & 20 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,10 @@
## Resubmission
This is a resubmission.

There were two comments to address:

> If there are references describing the methods in your package, please
add these in the description field of your DESCRIPTION file

The methods implemented in the package are not tied to a particular research
paper, hence there is no obvious reference to cite.

> We do not need "+ file LICENSE" and the file as these are part of R.
"| file LICENSE" has been removed from the DESCRIPTION file, and the LICENSE
file has been removed from the package source.

## Comments

First release on CRAN.
Minor release to address incompatibility with upcoming release of Matrix package.

## Test environments
* Windows 10, R 4.0.3
* Fedora 33, R 4.0.3
* winbuilder (devel)
* Fedora 38, R 4.3.1
* winbuilder, R 4.3.1

## R CMD check results

Expand Down
5 changes: 5 additions & 0 deletions src/RcppExports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

using namespace Rcpp;

#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif

// pairs_to_membership_cpp
IntegerVector pairs_to_membership_cpp(const IntegerMatrix& pairs, int num_records);
RcppExport SEXP _clevr_pairs_to_membership_cpp(SEXP pairsSEXP, SEXP num_recordsSEXP) {
Expand Down

0 comments on commit 7757279

Please sign in to comment.