Skip to content

Commit

Permalink
fixed cran warnings and notes
Browse files Browse the repository at this point in the history
  • Loading branch information
earowang committed Jul 30, 2024
1 parent df1845f commit 647de7e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 6.0.3
Date: 2024-07-30 11:20:38 UTC
SHA: 3f444cf6d6aca23a3a7f2d482df2e33bb078dc55
Date: 2024-07-30 12:01:17 UTC
SHA: df1845f1bb2ce5586f7b9ef15c475eb9c6253956
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import(forecast)
import(grDevices)
import(methods)
import(parallel)
importFrom(SparseM,as.matrix.csr)
importFrom(graphics,lines)
importFrom(graphics,par)
importFrom(graphics,plot)
Expand Down
2 changes: 1 addition & 1 deletion R/gts.R
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ CreateGmat <- function(bnames, characters) {
gmatrix <- gmatrix[!duplicated(gmatrix), , drop = FALSE]
# Remove bottom names if it has
check <- try(which(gmatrix == bnames, arr.ind = TRUE)[1L, 1L], silent = TRUE)
if (class(check) != "try-error") {
if (!inherits(check, "try-error")) {
gmatrix <- gmatrix[-check, ]
}
return(gmatrix)
Expand Down
2 changes: 1 addition & 1 deletion R/imports.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#' @import methods
#' @importFrom stats window as.ts fitted frequency is.ts na.omit residuals time ts tsp tsp<-
#' @import Matrix
#' @importFrom(SparseM,as.matrix.csr)
#' @importFrom SparseM as.matrix.csr
#' @import forecast
#' @import parallel
#' @useDynLib hts
Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Comments

This is a submission to fix CRAN errors.
This is a resubmission to fix CRAN errors.

## R CMD check results

Expand Down

0 comments on commit 647de7e

Please sign in to comment.