Skip to content

Commit

Permalink
Silence R CMD check note
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 26, 2024
1 parent a817f42 commit ad380e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/elmer-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

the <- new_environment()

silence_r_cmd_check_note <- function() {
later::later()
}

## usethis namespace: start
#' @import rlang
#' @import httr2
Expand Down

2 comments on commit ad380e6

@jcheng5
Copy link
Collaborator

Choose a reason for hiding this comment

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

That’s weird… we already call later::later_fd??

@hadley
Copy link
Member Author

@hadley hadley commented on ad380e6 Nov 27, 2024

Choose a reason for hiding this comment

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

Hmmmm maybe becasuse that's only defined on load inside an async generator. I bet the R CMD check code just can't find it.

Please sign in to comment.