Skip to content

Conversation

@nmdefries
Copy link
Contributor

Description

Import Rcpp more explicitly following this suggestion. Seems like we were implicitly using Rcpp as loaded by lubridate, but after update 1.7.10 -> 1.8.0, lubridate no longer uses Rcpp and our package begins raising weird errors and hanging when trying to run C++ code.

Changelog

  • Add specific Rcpp import to the code calling the C++ function so that Rcpp gets imported in NAMESPACE.

since it is no longer loaded by lubridate after update (1.7.10 ->
1.8.0)
@nmdefries nmdefries requested a review from capnrefsmmat October 7, 2021 22:34
Copy link
Contributor

@capnrefsmmat capnrefsmmat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird

@krivard krivard merged commit 0de0074 into main Oct 7, 2021
@krivard krivard deleted the fix-hanging-unit-tests branch October 7, 2021 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants