Displaying 13 results from an estimated 13 matches for "prepare_rd".
2011 Mar 13
2
Problems getting html files out of R CMD check
...e package can be unloaded cleanly ... OK
* checking for unstated dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... NOTE
prepare_Rd: CellProfile-R-internal.Rd:10: Dropping empty section \usage
prepare_Rd: CellProfile-R-internal.Rd:12: Dropping empty section \arguments
prepare_Rd: CellProfile-R-internal.Rd:22: Dropping empty section \value
prepare_Rd: CellProfile-R-internal.Rd:25: Dropping empty section \note
prepare_Rd: CellPro...
2019 Oct 08
0
\Sexpr{} within \examples{}
...not
allowed in \examples{}. (Well, sometimes, see below.)
Apart from the check NOTE, I would think it could be better to
evaluate the \Sexpr{} in/before the long line check. Otherwise it is
surely not checking the text that'll appear in the manual in the end.
Maybe it would make sense to call prepare_Rd() before the check, to
evaluate the \Sexpr{} calls?
Here is a reproducible example, tools:::.check_Rd_line_widths()
eventually calls Rd2txt() with fragment = TRUE, via
tools:::find_wide_Rd_lines_in_Rd_object, so I'll just call Rd2txt()
directly here, for simplicity:
rd <- "
\\name{foo...
2011 Mar 26
0
rebuilding vignettes in 2.13-0-alpha fails if name of source dir is not package name
...dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
prcurve: no visible global function definition for ?pcget.lam?
* checking Rd files ... NOTE
prepare_Rd: coreData.Rd:19-20: Dropping empty section \usage
prepare_Rd: coreData.Rd:21-22: Dropping empty section \arguments
prepare_Rd: coreData.Rd:23-24: Dropping empty section \details
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... WARN...
2012 Jan 13
1
checkRd freezes while parsing erroneous preprocessor macros
...I have a typo at line 6, instead of having #endif I typed #endifd.
If I run checkRd(), parse_Rd(), Rd2HTML(), or others including the command line "R CMD Rconv" R will freeze and the only chance I have is to kill R.
As far as I can tell for checkRd() the problem is the internal function prepare_Rd() which runs for ever.
Is there a way to avoid having that freezing behaviour?
I'm on a Mac running Snow Leopard:
R version 2.14.0 (2011-10-31)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_GB.UTF-8/en_US.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8
attached base package...
2012 Nov 16
1
Build without warning RSvgDevice
Hi,
I'm trying to build a modified version of the package RSvgDevice,
without warnings.
I'm having troubles with the description file. Here's the logs :
* checking Rd files ... WARNING
prepare_Rd: RSvgDevice.Rd:1: All text must be in a section
But the RSvgDevice.Rd file seems OKto me, what am I missing ?
Thanks for your help,
Matthieu Decorde
--
Matthieu Decorde, matthieu.decorde at ens-lyon.fr
http://textometrie.ens-lyon.fr - Ing?nieur - Equipex Matrice
ENS de Lyon/CNRS - ICAR UMR5191,...
2018 Jul 12
2
Top level \Sexpr and R CMD check
...her way to generate/modify the \examples{} section dynamically?
Thanks, Gabor
In the Rd file:
\Sexpr[stage=install,strip.white=FALSE,results=rd]{pkg:::decorate_examples('
CODE
')}
and pkg::decorate_examples outputs
\examples{
MODIFIED CODE
}
But then:
* checking Rd files ... WARNING
prepare_Rd: ps_cmdline.Rd:36-42: Section \Sexpr is unrecognized and
will be dropped
2009 Oct 30
1
parse_Rd and/or lazyload problem
...scrunge.Rd" is just "Rdiff.Rd" from the 'tools' package. The file "fakepack.7z" should unzip to create a fake package with a DESCRIPTION file and a "man" directory that contains two Rd files.
Transcript of first example:
eglist <- list( scrunge=tools:::prepare_Rd( 'd:/temp/scrunge.Rd',
defines=.Platform$OS.type, stages='install', warningCalls=FALSE))
tools:::makeLazyLoadDB( eglist, 'd:/temp/ll', compress=FALSE)
tools:::fetchRdDB( 'd:/temp/ll')
# Error: cannot allocate vector of size 1.4 Gb
The second example triggers a...
2010 Mar 30
1
R package checking error.
...OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
Found possibly global 'T' or 'F' in the following function:
ar.dual.dea
* checking Rd files ... NOTE
prepare_Rd: ar.dual.dea.Rd:51: Dropping empty section \seealso
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking examples ... ERROR
Running...
2013 Jul 12
3
While using R CMD check: LaTex error: File `inconsolata.sty' not found
Hi,
While using R CMD check I get the following Latex error message which occurs when creating PDF version of manual:
LaTex error: File `inconsolata.sty' not found
I am using Windows 7 (64-bit) and R 3.0.1. I have MikTex 2.9.
I see that the incosolata.sty is present under \doc\fonts folder. How can I eliminate this problem?
Thanks,
Ravi
[[alternative HTML version deleted]]
2010 Mar 30
1
Error when checking a package.
...OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
Found possibly global 'T' or 'F' in the following function:
ar.dual.dea
* checking Rd files ... NOTE
prepare_Rd: ar.dual.dea.Rd:51: Dropping empty section \seealso
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking examples ... ERROR
Running...
2014 Dec 11
0
package.skeleton leads to R CMD check aborting
...ng without being on the library search path ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... WARNING
prepare_Rd: quickDemo-package.Rd:26: All text must be in a section
* checking Rd metadata ... OK
* checking Rd cross-references ... WARNING
Unknown package ?<pkg>? in Rd xrefs
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sec...
2015 Dec 18
1
Assistance much appreciated
...options, env, macros = macros)
14: recurse(block[[i]])
15: recurse(block[[i]])
16: recurse(block[[i]])
17: recurse(block)
18: getDynamicFlags(block)
19: recurse(block)
20: expandDynamicFlags(recurse(block), options)
21: processRdSexprs(Rd, stage, options, macros = attr(Rd, "macros"))
22: prepare_Rd(f, encoding = encoding, defines = os, stages =
stages, warningCalls = FALSE, stage2 = step > 1L, stage3 = step
> 2L, macros = macros)
23: FUN(X[[i]], ...)
24: lapply(files, .fetch_Rd_object)
25: .build_Rd_db(dir, manfiles, db_file = db_file, encoding =
encoding, built_file...
2015 Dec 17
5
Assistance much appreciated
I have been struggling with this error message - and think I finally
understand it's context.
Start
Line by line debugging shows me the function works:
...
> saveRDS(val, mapfile)
> val
$variables
$variables$IANA_HTTP_status_code_db
[1] 0 1256
$variables$IANA_URI_scheme_db
[1] 1256 3458
$variables$table_of_HTTP_status_codes
[1] 4714 830
$references
named list()
$compressed