Skip to content

Commit

Permalink
4th ver
Browse files Browse the repository at this point in the history
  • Loading branch information
kumeS committed Sep 26, 2024
1 parent 0c0831a commit 33e912a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ cran-comments.md
^paper$
README.html
^API$
Build_v01.R
30 changes: 30 additions & 0 deletions Build_v01.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#Example of execution before CRAN submission (Mac / seasonalityPlot)
#Erase the variables NAMESPACE and man in the environment
#getwd();dir()
rm(list=ls())
system("rm -rf ./seasonalityPlot/NAMESPACE; rm -rf ./seasonalityPlot/man/*")

#roxygenise execution and display
roxygen2::roxygenise("./seasonalityPlot")
system("cat ./seasonalityPlot/NAMESPACE")

#Remove package and restart R
remove.packages("seasonalityPlot", lib=.libPaths())
.rs.restartR()

#Documentation
devtools::document("seasonalityPlot")
#reinstall
system("R CMD INSTALL seasonalityPlot")

#load
library(seasonalityPlot)
seasonPlot(Symbols = "^IXIC", useAdjusted = TRUE)
CryptoRSIheatmap(coin_num = 5, n = 21)

#dev check
devtools::check("seasonalityPlot", cran=TRUE)

#CRAN submit
devtools::submit_cran("./seasonalityPlot")

0 comments on commit 33e912a

Please sign in to comment.