Skip to content

Commit efd3538

Browse files
committed
Fix: add Rcpp importFrom to resolve NOTE
1 parent 9545fa1 commit efd3538

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export(sNMB)
1313
export(tDNB)
1414
import(future)
1515
import(magrittr)
16+
importFrom(Rcpp,sourceCpp)
1617
importFrom(methods,is)
1718
importFrom(stats,aggregate)
1819
importFrom(stats,cor)

R/zzz.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#' @importFrom Rcpp sourceCpp
2+
#' @useDynLib BioTransition, .registration = TRUE
3+
NULL
4+
15
# Global variables declaration for NSE (non-standard evaluation)
26
# This silences R CMD check NOTEs about undefined global variables
37
utils::globalVariables(c(

0 commit comments

Comments
 (0)