-
Notifications
You must be signed in to change notification settings - Fork 2
/
dev_history.R
95 lines (68 loc) · 2.24 KB
/
dev_history.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
## 2022-06-29 ====
# added some syslibs
# added R 4.2.1, dropped R 4.1.2
mdseasy::easy_version(
"patch"
, check_renv = FALSE
, check_gitlab_ci = FALSE
, push = TRUE
)
mdseasy::easy_version(
"dev"
, check_renv = FALSE
, check_gitlab_ci = FALSE
, push = FALSE
)
## 2022-05-04 ====
# NOTE:
# the update of the whitebox zipfile must be done regulary.
# I suggest each time we add a new R version to the DESCRIPTON,
# wie can run the download to keep track of changes.
# add whitebox binary exe zip file to package
# (we use this as fallback, if the download fails during
# `whitebox::install_whitebox()` in the Github Actions call)
fs::dir_create("inst/extdata")
to = getOption("timeout")
options(timeout = 3600)
utils::download.file(
"https://www.whiteboxgeo.com/WBT_Linux/WhiteboxTools_linux_amd64.zip",
destfile = "inst/extdata/WhiteboxTools_linux_amd64.zip"
)
options(timeout = to)
# evaluation of docker images
# (which are created with Github Actions and pushed to dockerhub)
edit_file("inst/documentation/install-whitebox.Rmd")
mdseasy::easy_version(element = "dev", check_renv = FALSE, push = FALSE)
## 2022-05-02 ====
# R 4.2.0
mdseasy::easy_version(element = "dev", check_renv = FALSE, push = FALSE)
# installation of whiteboxtools exe
# see https://github.com/giswqs/whiteboxR/issues/76
# seems that downloading the zip-file from whiteboxgeo.com fails regularly
## 2022-04-12 ====
# fix for installation of whiteboxtools
mdseasy::easy_version(element = "dev", check_renv = FALSE, push = FALSE)
## 2022-03-16 ====
# major overhaul
mdseasy::easy_version(element = "dev", check_renv = FALSE)
## 2022-02-07 ====
# put everything in an R package framework
mdseasy::create_mdspackage(".", tinytest = FALSE, pages = FALSE, open = FALSE)
# fill description
use_package("R", "Depends", min_version = "4.1")
# functions for file createion
usethis::use_r("create")
# use data for storing the content
usethis::use_data_raw(name = "datasets")
usethis::use_r("data")
# execute (for actually creating the files)
usethis::edit_file("execute.R")
## 2021-12-17 ====
# add README
usethis::use_readme_rmd()
# add dev_history.R
mdseasy::easy_dev_history()
usethis::use_build_ignore("dev_history.R")
# use README
usethis::use_readme_rmd()
devtools::build_readme()