Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
jrosell committed Sep 18, 2024
1 parent 0c0e8bd commit fd0d551
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 18 deletions.
10 changes: 7 additions & 3 deletions R/dev.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ rebuild_docs_and_check <- function() {
devtools::load_all()
devtools::test(stop_on_failure = TRUE)
previous_version <- "0.0.0.9002"
print("description........")
usethis::use_description(list(
"Title" = "ambhtmx",
"Description" = "Build a Full-stack R App with ambiorix and htmx.",
Expand Down Expand Up @@ -87,9 +88,12 @@ rebuild_docs_and_check <- function() {

# spain_ccaas <- readr::read_rds("inst/extdata/spain_ccaas.rds")
# spain_provinces <- readr::read_rds("inst/extdata/spain_provinces.rds")
# usethis::use_data(spain_ccaas, spain_provinces, overwrite = TRUE)
usethis::use_namespace()
devtools::check(document = TRUE)
# usethis::use_data(spain_ccaas, spain_provinces, overwrite = TRUE)
print("check........")
devtools::check(document = FALSE)
print("document........")
devtools::document()
print("build_site........")
pkgdown::build_site(preview = FALSE)
utils::browseURL(here::here("docs", "index.html"), browser = "firefox")
# usethis::use_version(which = "dev", push = FALSE)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ GITHUB_PAT=<an optional token to install github repos safely>
AMBHTMX_PROTOCOL=<default http but you may want to use https>
AMBHTMX_HOST=<to change host default 127.0.0.1>
AMBHTMX_PORT=<to change port default 3000>
R_SHARE_DIR=/usr/share/R/share/ # change it if required
````
## Code examples
Expand Down
5 changes: 1 addition & 4 deletions docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 15 additions & 9 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pandoc: 3.1.12.3
pandoc: 2.9.2.1
pkgdown: 2.1.0
pkgdown_sha: ~
articles: {}
last_built: 2024-08-08T13:37Z
last_built: 2024-09-18T16:50Z
urls:
reference: https://jrosell.github.io/ambhtmx/reference
article: https://jrosell.github.io/ambhtmx/articles

0 comments on commit fd0d551

Please sign in to comment.