diff --git a/cran-comments.md b/cran-comments.md index 913b2324288362f7541e833ef794edc0683b172e..e1f26bfe458bcfbf134b4576f065cc494b368785 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -2,7 +2,7 @@ # v1.0.1 We have changed a few minor things: -- Added better checks and error messages for input data +- Added better checks and error messages for data - Small bug fixes #---------------------------------------------------------------- diff --git a/inst/CITATION b/inst/CITATION index df780c262033dbba3ca00f55949ff847b28b5696..7299dadc004515295faf44c5b75f2efd14634512 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -15,7 +15,7 @@ citEntry( entry = "Manual", title = "{{onlineforecast}: Forecast Modelling for Online Applications}", author = "Peder Bacher and Hjörleifur G. Bergsteinsson", - year = "2021", + year = "2022", note = "R package version 1.0.1", url = "https://onlineforecasting.org", textVersion = "" diff --git a/make.R b/make.R index 2a7e3c551de192b1af6a0a280377d6af312e86bb..ea40b4e942e0316ea4b02b13a49dc196c4e705f6 100644 --- a/make.R +++ b/make.R @@ -60,7 +60,6 @@ run_examples() # The version (move the value from DESCRIPTION to other places, so only update it in DESCRIPTION) txt <- scan("DESCRIPTION", character()) (ver <- txt[which(txt == "Version:") + 1]) - # Update CITATION (change the year manually) txt2 <- scan("inst/CITATION", character(), sep="#", quote="") txt2[grep("R package version",txt2)] <- paste0(' note = "R package version ',ver,'",') @@ -104,18 +103,22 @@ unlink("onlineforecast.Rcheck/", recursive=TRUE) #----------------- -# WINDOWS: +# Use Rcpp and RcppArmadillo (2022-05): Some problem (segmentation fault) occured, something (Rostream...) was added to the 'src/RcppExports.cpp' file, however in some weird way it disappeared again! +# +# Update if new functions are added to the src folder +#Rcpp::compileAttributes() + +# New package from scratch, see what is generated and correct that in the current package +#library(RcppArmadillo) +#RcppArmadillo.package.skeleton("onlineforecast", path = "~/tmp/") + +# on WINDOWS: # Install rtools # Run in R: #writeLines('PATH="${RTOOLS40_HOME}\\usr\\bin;${PATH}"', con = "~/.Renviron") # Restart R and check if rtools are found: #Sys.which("make") -# Must have Makevars and Makevars.win in "src" -# Make the two files, find them and copy into "src" -#library("RcppArmadillo") -#RcppArmadillo.package.skeleton("tmp-pkg") - #----------------- # Run another version of R (a linux in podman)