From 12d04bdfad44713174a1b44a78791922bc025d1b Mon Sep 17 00:00:00 2001 From: Feng Li Date: Tue, 29 Aug 2023 13:23:37 +0800 Subject: [PATCH] Disble CRAN note --- DESCRIPTION | 2 +- NEWS.md | 2 +- R/fitness_ts.R | 2 ++ R/generate_ts.R | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 7920a04..1524d17 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: gratis Type: Package Title: Generating Time Series with Diverse and Controllable Characteristics -Version: 1.0.4 +Version: 1.0.5 Authors@R: c( person("Yanfei", "Kang", role = c("aut"), email = "yanfeikang@buaa.edu.cn", comment = c(ORCID = "0000-0001-8769-6650")), person("Feng", "Li", role = c("aut", "cre"), email = "feng.li@cufe.edu.cn", comment = c(ORCID = "0000-0002-4248-9778")), diff --git a/NEWS.md b/NEWS.md index aa87151..b397e7c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# gratis 1.0.4 +# gratis 1.0.5 * Fixed the 'docType' issue. diff --git a/R/fitness_ts.R b/R/fitness_ts.R index 6ad9d72..b09e0ff 100644 --- a/R/fitness_ts.R +++ b/R/fitness_ts.R @@ -269,3 +269,5 @@ fitness_ts1 <- function(pars, x0, seasonal, n = 60, freq = 12, nComp, h = 18) { )) } } + +utils::globalVariables(c(".", "x", "Season2")) diff --git a/R/generate_ts.R b/R/generate_ts.R index fa9a13d..5f828a4 100644 --- a/R/generate_ts.R +++ b/R/generate_ts.R @@ -166,3 +166,4 @@ msts_weights <- function(n.periods) { weights <- gamma / sum(gamma) return(weights) } +utils::globalVariables(c(".", "x", "Season2"))