Skip to content

Commit cdafc7e

Browse files
more fixes to links fn
1 parent c045854 commit cdafc7e

11 files changed

Lines changed: 2 additions & 13 deletions

R/fn_write.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ write_links_for_website <- function (path_to_pkg_rt_1L_chr = getwd(), user_manua
483483
any(txt_chr == " - text: Developer version of usual manual (PDF)"),
484484
any(txt_chr == " - text: Project website"))
485485
txt_chr <- txt_chr[-(1:(length(changes_chr[changes_chr ==
486-
T]) + 2))]
486+
T]) * 2))]
487487
}
488488
c("home:", " links:", ifelse(!is.na(user_manual_url_1L_chr),
489489
" - text: User manual (PDF)", NA_character_),

_pkgdown.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
home:
2-
links:
3-
- text: User manual (PDF)
4-
href: https://github.com/ready4-dev/ready4fun/releases/download/v0.0.0.9278/ready4fun_user_0.0.0.9278.pdf
5-
- text: Developer version of usual manual (PDF)
6-
href: https://github.com/ready4-dev/ready4fun/releases/download/v0.0.0.9278/ready4fun_developer_0.0.0.9278.pdf
7-
- text: Project website
8-
href: https://www.ready4-dev.com/
9-
href: https://github.com/ready4-dev/ready4fun/releases/download/v0.0.0.9276/ready4fun_developer_0.0.0.9278.pdf
10-
- text: Project website
11-
href: https://www.ready4-dev.com/
121
development:
132
mode: auto
143
reference:

data-raw/fns/write.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ write_links_for_website <- function(path_to_pkg_rt_1L_chr = getwd(), # Needs dup
407407
changes_chr <- c(any(txt_chr == " - text: User manual (PDF)"),
408408
any(txt_chr == " - text: Developer version of usual manual (PDF)"),
409409
any(txt_chr == " - text: Project website"))
410-
txt_chr <- txt_chr[-(1:(length(changes_chr[changes_chr==T])+2))]
410+
txt_chr <- txt_chr[-(1:(length(changes_chr[changes_chr==T])*2))]
411411
}
412412
c("home:",
413413
" links:",
0 Bytes
Loading
0 Bytes
Loading
0 Bytes
Loading
0 Bytes
Loading
0 Bytes
Loading
0 Bytes
Loading

pkgdown/favicon/favicon-16x16.png

0 Bytes
Loading

0 commit comments

Comments
 (0)