Skip to content
Snippets Groups Projects
Commit 20ba4157 authored by pbac's avatar pbac
Browse files

Submitted 1.0.1

parent 2ff9158f
Branches
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# v1.0.1 # v1.0.1
We have changed a few minor things: 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 - Small bug fixes
#---------------------------------------------------------------- #----------------------------------------------------------------
......
...@@ -15,7 +15,7 @@ citEntry( ...@@ -15,7 +15,7 @@ citEntry(
entry = "Manual", entry = "Manual",
title = "{{onlineforecast}: Forecast Modelling for Online Applications}", title = "{{onlineforecast}: Forecast Modelling for Online Applications}",
author = "Peder Bacher and Hjörleifur G. Bergsteinsson", author = "Peder Bacher and Hjörleifur G. Bergsteinsson",
year = "2021", year = "2022",
note = "R package version 1.0.1", note = "R package version 1.0.1",
url = "https://onlineforecasting.org", url = "https://onlineforecasting.org",
textVersion = "" textVersion = ""
......
...@@ -60,7 +60,6 @@ run_examples() ...@@ -60,7 +60,6 @@ run_examples()
# The version (move the value from DESCRIPTION to other places, so only update it in DESCRIPTION) # The version (move the value from DESCRIPTION to other places, so only update it in DESCRIPTION)
txt <- scan("DESCRIPTION", character()) txt <- scan("DESCRIPTION", character())
(ver <- txt[which(txt == "Version:") + 1]) (ver <- txt[which(txt == "Version:") + 1])
# Update CITATION (change the year manually) # Update CITATION (change the year manually)
txt2 <- scan("inst/CITATION", character(), sep="#", quote="") txt2 <- scan("inst/CITATION", character(), sep="#", quote="")
txt2[grep("R package version",txt2)] <- paste0(' note = "R package version ',ver,'",') txt2[grep("R package version",txt2)] <- paste0(' note = "R package version ',ver,'",')
...@@ -104,18 +103,22 @@ unlink("onlineforecast.Rcheck/", recursive=TRUE) ...@@ -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 # Install rtools
# Run in R: # Run in R:
#writeLines('PATH="${RTOOLS40_HOME}\\usr\\bin;${PATH}"', con = "~/.Renviron") #writeLines('PATH="${RTOOLS40_HOME}\\usr\\bin;${PATH}"', con = "~/.Renviron")
# Restart R and check if rtools are found: # Restart R and check if rtools are found:
#Sys.which("make") #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) # Run another version of R (a linux in podman)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment