diff --git a/docs/news/index.html b/docs/news/index.html index 0f02f6a..1a0a1f1 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -120,7 +120,7 @@

diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 7e7ee40..9fcf8e7 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -2,5 +2,5 @@ pandoc: '2.5' pkgdown: 1.5.1 pkgdown_sha: ~ articles: {} -last_built: 2020-07-01T12:48Z +last_built: 2020-07-01T13:20Z diff --git a/docs/reference/Rdapply.html b/docs/reference/Rdapply.html index 576c525..57149bc 100644 --- a/docs/reference/Rdapply.html +++ b/docs/reference/Rdapply.html @@ -239,7 +239,7 @@

Examp # (reprompt() takes care of this too as it uses Rdo2Rdf for saving) fn <- tempfile("u1", fileext="Rd") -Rdo2Rdf(u1, file = fn)
#> The Rd content was written to file /tmp/Rtmp7KiDQT/u1143f1502febdRd
+Rdo2Rdf(u1, file = fn)
#> The Rd content was written to file /tmp/Rtmp3EOrhF/u115b977953d2a7Rd
# the saved file contains escaped percents but they disappear in parsing: file.show(fn) Rdo_show(tools::parse_Rd(fn)) @@ -250,7 +250,7 @@

Examp # todo: additional arg. for list_Rd for this? u2 <- Rdpack:::.Rd_tidy(u1) -Rdo2Rdf(u2, file = fn)

#> The Rd content was written to file /tmp/Rtmp7KiDQT/u1143f1502febdRd
file.show(fn) +Rdo2Rdf(u2, file = fn)
#> The Rd content was written to file /tmp/Rtmp3EOrhF/u115b977953d2a7Rd
file.show(fn) unlink(fn)
diff --git a/docs/reference/Rdo_locate_leaves.html b/docs/reference/Rdo_locate_leaves.html index 119ef3e..d0c8ae9 100644 --- a/docs/reference/Rdo_locate_leaves.html +++ b/docs/reference/Rdo_locate_leaves.html @@ -161,7 +161,7 @@

Examp fn <- tempfile("dummyfun", fileext = "Rd") reprompt(dummyfun, filename = fn)
#> Rd source not supplied, looking for installed documentation. #> Rd source not supplied and installed documentation not found. -#> Trying a 'prompt' function to generate documentation for the object.
#> Error in reprompt(dummyfun, filename = fn): unsuccessful attempt to create Rd doc. using a 'prompt' function.
rdo <- tools::parse_Rd(fn)
#> Warning: cannot open file '/tmp/Rtmp7KiDQT/dummyfun143f11297c1a0Rd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
+#> Trying a 'prompt' function to generate documentation for the object.
#> Error in reprompt(dummyfun, filename = fn): unsuccessful attempt to create Rd doc. using a 'prompt' function.
rdo <- tools::parse_Rd(fn)
#> Warning: cannot open file '/tmp/Rtmp3EOrhF/dummyfun15b9745a7bb7dRd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
f <- function(x) Rdo_is_newline(x) nl <- Rdo_locate_leaves(rdo, f )
#> Error in fxx(object): object 'rdo' not found
diff --git a/docs/reference/Rdo_set_section.html b/docs/reference/Rdo_set_section.html index c55c4c7..1039ca6 100644 --- a/docs/reference/Rdo_set_section.html +++ b/docs/reference/Rdo_set_section.html @@ -170,11 +170,11 @@

Examp dummyfun <- function(x) x reprompt(dummyfun, filename = fnA)

#> Rd source not supplied, looking for installed documentation. #> Rd source not supplied and installed documentation not found. -#> Trying a 'prompt' function to generate documentation for the object.
#> Error in reprompt(dummyfun, filename = fnA): unsuccessful attempt to create Rd doc. using a 'prompt' function.
Rdo_show(tools::parse_Rd(fnA))
#> Warning: cannot open file '/tmp/Rtmp7KiDQT/dummyfun143f11afb6f6bRd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
+#> Trying a 'prompt' function to generate documentation for the object.
#> Error in reprompt(dummyfun, filename = fnA): unsuccessful attempt to create Rd doc. using a 'prompt' function.
Rdo_show(tools::parse_Rd(fnA))
#> Warning: cannot open file '/tmp/Rtmp3EOrhF/dummyfun15b9710e7be52Rd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
## set the author section, create it if necessary. -Rdo_set_section("A.A. Author", "author", fnA, create = TRUE)
#> Warning: cannot open file '/tmp/Rtmp7KiDQT/dummyfun143f11afb6f6bRd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
Rdo_show(tools::parse_Rd(fnA))
#> Warning: cannot open file '/tmp/Rtmp7KiDQT/dummyfun143f11afb6f6bRd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
+Rdo_set_section("A.A. Author", "author", fnA, create = TRUE)
#> Warning: cannot open file '/tmp/Rtmp3EOrhF/dummyfun15b9710e7be52Rd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
Rdo_show(tools::parse_Rd(fnA))
#> Warning: cannot open file '/tmp/Rtmp3EOrhF/dummyfun15b9710e7be52Rd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
## replace the author section -Rdo_set_section("Georgi N. Boshnakov", "author", fnA)
#> Warning: cannot open file '/tmp/Rtmp7KiDQT/dummyfun143f11afb6f6bRd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
Rdo_show(tools::parse_Rd(fnA))
#> Warning: cannot open file '/tmp/Rtmp7KiDQT/dummyfun143f11afb6f6bRd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
+Rdo_set_section("Georgi N. Boshnakov", "author", fnA)
#> Warning: cannot open file '/tmp/Rtmp3EOrhF/dummyfun15b9710e7be52Rd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
Rdo_show(tools::parse_Rd(fnA))
#> Warning: cannot open file '/tmp/Rtmp3EOrhF/dummyfun15b9710e7be52Rd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
unlink(fnA)
#> [1] "/tmp/Rtmp7KiDQT/file143f13c208b5d"
rdo <- tools::parse_Rd(fn) +#> The Rd content was written to file /tmp/Rtmp3EOrhF/file15b97702d7f44
#> [1] "/tmp/Rtmp3EOrhF/file15b97702d7f44"
rdo <- tools::parse_Rd(fn) get_sig_text(rdo)
#> [1] "signature(x = \"ANY\")"
setClass("aRdpack") setClass("bRdpack") @@ -229,7 +229,7 @@

Examp #> Rd source not supplied and installed documentation not found. #> Trying a 'prompt' function to generate documentation for the object. #> success: documentation generated using a 'prompt' function. -#> The Rd content was written to file /tmp/Rtmp7KiDQT/file143f13c208b5d

#> [1] "/tmp/Rtmp7KiDQT/file143f13c208b5d"
rdo <- tools::parse_Rd(fn) +#> The Rd content was written to file /tmp/Rtmp3EOrhF/file15b97702d7f44
#> [1] "/tmp/Rtmp3EOrhF/file15b97702d7f44"
rdo <- tools::parse_Rd(fn) get_sig_text(rdo)
#> [1] "signature(x = \"ANY\", y = \"ANY\")" #> [2] "signature(x = \"aRdpack\", y = \"bRdpack\")" #> [3] "signature(x = \"aRdpack\", y = \"numeric\")" diff --git a/docs/reference/list_Rd.html b/docs/reference/list_Rd.html index de6fae9..2dcff0b 100644 --- a/docs/reference/list_Rd.html +++ b/docs/reference/list_Rd.html @@ -178,7 +178,7 @@

Examp #> Rd source not supplied and installed documentation not found. #> Trying a 'prompt' function to generate documentation for the object.

#> Error in reprompt(dummyfun, filename = fn): unsuccessful attempt to create Rd doc. using a 'prompt' function.
# check that the result can be parsed and show it. -Rdo_show(tools::parse_Rd(fn))
#> Warning: cannot open file '/tmp/Rtmp7KiDQT/dummyfun143f1783f4ccfRd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
+Rdo_show(tools::parse_Rd(fn))
#> Warning: cannot open file '/tmp/Rtmp3EOrhF/dummyfun15b97370d581aRd': No such file or directory
#> Error in file(con, "r"): cannot open the connection
unlink(fn)