Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importFrom methods is. Resolves gp NOTE #27

Merged
merged 1 commit into from
Feb 12, 2021

Conversation

annakrystalli
Copy link
Contributor

Fixes NOTE identified by goodpractice::gp (see ropensci/software-review#420 (comment))

methods dependency: It looks like methods is a special case. Having a look at this more detailed documentation on namespacing and in particular the S4 section it looks like the workaround is to import the methods functions you need in the function roxugen2 documentation.

@@ -143,6 +143,7 @@ slope_matrices = function(m_xyz_split, fun = slope_matrix_weighted, ...) {
#' datasets. Default: `"bilinear"`.
#' @param fun The slope function to calculate per route,
#' `slope_matrix_weighted` by default.
#' @importFrom methods is
Copy link
Member

Choose a reason for hiding this comment

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

Aha, makes sense! Many thanks for a great fix 🎉 will aim to look at the other issues next week.

@temospena temospena merged commit cd3673d into ropensci:master Feb 12, 2021
@temospena
Copy link
Collaborator

many thanks!!

@Robinlovelace Robinlovelace mentioned this pull request Mar 18, 2021
31 tasks
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.

3 participants