-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roxygen 7 #2524
Roxygen 7 #2524
Conversation
…on-markdown text!)
Roxygen drops dupes now, so consequences of this typo got mroe severe
Noticed it because it produced Rd file with two copies of same usage
Dunno why re-Roxygenizing made check stop grandfathering it, but fixed now
This reverts commit 29a82ab.
(was present before, but on a different line number)
|
||
\item{Q}{Process covariance matrix given if there is no data to estimate it.} | ||
|
||
\item{restart}{Used for iterative updating previous forecasts. When the restart is TRUE it read the object in SDA folder written from previous SDA.} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file used to contain duplicate definitions for the parameters that are shared between sda.enkf and sda.enkf.original, but when rebuilt using Roxygen 7 it now only lists each parameter name once.
That seems desirable for functions documented in the same file, but note that where definitions differ only the one from sda.enkf
is used (and the definitions from sda.enkf.original
are not visible anywhere). @para2x please check carefully (the whole diff of this file, not just these lines I'm commenting at) and advise: Is that the correct result here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any problems. Thanks for doing it! One less repository for which I need to hold back R package updates...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only comment is the % that is escaped for latex I believe using %. Not sure if the pdf generation is smart enough for that.
@@ -23,7 +23,7 @@ | |||
##' @param eps used to set artificial bound on min width / max height of bins as described in Denby and Mallows (2009) on page 24. | |||
##' @param xlab is label for the x axis | |||
##' @param plot = TRUE produces the plot, FALSE returns the heights, breaks and counts | |||
##' @param lab.spikes = TRUE labels the \% of data in the spikes | |||
##' @param lab.spikes = TRUE labels the % of data in the spikes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this still work as expected with the pdf version. % is a latex char and I think that is why it was escaped.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding is that the PDF version is built from the Rd files without re-invoking Roxygen, and it's still spelled \%
in the Rd file. this is just a switch from us typing it to Roxygen inserting it.
Description
First commit in this PR is just bumping Roxygen and recompiling docs:
**/DESCRIPTION
: version bump in the RoxygenNote field, no other changes**/NAMESPACE
: only modules/emulator changes, by now exporting S4 classesjump
andmvjump
. I see no problem with this, but someone who understands S4 classes better than me should double-check.*/man*.Rd
: Changes are mostly minor and obviously correct: line-wrapping, tweaks to translation betweenfoo
and \code{foo} vs \verb{foo}, better cross-package reference links, etc.Exceptions to the "obviously correct" rule are handled below.I reviewed the above diff by hand, took notes on changes that looked wrong, then committed it and moved on to phase two. The remaining commits are me finding and resolving issues uncovered by the version change:
PEcAn.data.atmosphere::met2CF.PalEONregional
was defined twice, copy-paste identically, in the same file. Fixed that.Motivation and Context
Review Time Estimate
Types of changes
Checklist: