imports RcppParallel and excludes one function that is already in the namespace by importing Rcpp (#1779)

This commit is contained in:
Sam Snarr 2021-01-14 17:38:36 -05:00 committed by GitHub
parent 2d8e6c7fd1
commit 3adcf9312d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View file

@ -25,6 +25,7 @@ Imports:
ggplot2, ggplot2,
grid, grid,
methods, methods,
RcppParallel (>= 5.0.1),
rstan (>= 2.18.1), rstan (>= 2.18.1),
rstantools (>= 2.0.0), rstantools (>= 2.0.0),
scales, scales,
@ -43,6 +44,7 @@ License: MIT + file LICENSE
LinkingTo: LinkingTo:
BH (>= 1.66.0), BH (>= 1.66.0),
Rcpp (>= 0.12.0), Rcpp (>= 0.12.0),
RcppParallel (>= 5.0.1),
RcppEigen (>= 0.3.3.3.0), RcppEigen (>= 0.3.3.3.0),
rstan (>= 2.18.1), rstan (>= 2.18.1),
StanHeaders (>= 2.18.0) StanHeaders (>= 2.18.0)

View file

@ -17,6 +17,7 @@ export(predictive_samples)
export(prophet) export(prophet)
export(prophet_plot_components) export(prophet_plot_components)
import(Rcpp) import(Rcpp)
import(RcppParallel, except = LdFlags)
import(rlang) import(rlang)
importFrom(dplyr,"%>%") importFrom(dplyr,"%>%")
useDynLib(prophet, .registration = TRUE) useDynLib(prophet, .registration = TRUE)

View file

@ -79,6 +79,7 @@ globalVariables(c(
#' @export #' @export
#' @importFrom dplyr "%>%" #' @importFrom dplyr "%>%"
#' @import Rcpp #' @import Rcpp
#' @rawNamespace import(RcppParallel, except = LdFlags)
#' @import rlang #' @import rlang
#' @useDynLib prophet, .registration = TRUE #' @useDynLib prophet, .registration = TRUE
prophet <- function(df = NULL, prophet <- function(df = NULL,