Answering my own question here ...
The problem was that I was using
mooringS7 <- S7::new_class("mooring", ETC
instead of
mooringS7 <- S7::new_class("mooringS7", ETC
With the change to the latter, all works fine now. Thanks very much to all who
have helped, so generously and s
Oh, Hadley, I'm sorry to bother you whilst you're on vacation. Please don't
take too much time on. I'm certainly not in a rush at all.
To answer your question, yes, I rebuilt the documentation (within RStudio, via
the 'More/Document' scheme) and it still fails.
I wonder if I need to do a
met
Did you re-document? You’ll need that to correctly regenerate the .Rd, I
think. (Sorry I’m on vacation so I’m guessing at stuff from my phone)
Hadley
On Thursday, January 4, 2024, Daniel Kelley wrote:
> Thanks. I installed the latest roxygen2 and pkgdown, and tried to make a
> simple reprex
>
From the CRAN polcies:
"Packages on which a CRAN package depends should be available from a
mainstream repository: if any mentioned in ‘Suggests’ or ‘Enhances’
fields are not from such a repository, where to obtain them at a
repository should be specified in an ‘Additional_repositories’ field
Thanks. I installed the latest roxygen2 and pkgdown, and tried to make a
simple reprex
git clone https://github.com/dankelley/mooring.git
cd mooring
git checkout S7
Rscript -e "pkgdown::clean_site()"
Rscript -e "pkgdown::build_site()"
but it still fails. (Full output is below, for completeness.
Thanks, both. I'm not familiar with Additional_repositories. Must the
package source be specified there? Or can it be specified via documentation
a la Rd file?
On Wed, Jan 3, 2024 at 12:14 PM Uwe Ligges
wrote:
>
>
> On 03.01.2024 17:58, Duncan Murdoch wrote:
> > On 03/01/2024 11:33 a.m., Josiah
On 03.01.2024 17:58, Duncan Murdoch wrote:
On 03/01/2024 11:33 a.m., Josiah Parry wrote:
I have a scenario where I have an exported function that requires the
installation a package that *is not* available on CRAN. The body of the
function is generally:
fx <- function() {
rlang::check_inst
This bug is fixed in the dev version (I don’t remember off the top of my
head in which of pkgdown and roxygen2 you need but it might be both). I’m
planning CRAN updates for both in the near future.
Hadley
On Thursday, January 4, 2024, Daniel Kelley wrote:
> # Question
>
> Is there an online exa
On 03/01/2024 11:33 a.m., Josiah Parry wrote:
I have a scenario where I have an exported function that requires the
installation a package that *is not* available on CRAN. The body of the
function is generally:
fx <- function() {
rlang::check_installed("noncranpkg")
noncranpkg::gx()
}
As
Lovely, thank you!
On Wed, Jan 3, 2024 at 11:43 AM Uwe Ligges
wrote:
>
>
> On 03.01.2024 17:33, Josiah Parry wrote:
> > I have a scenario where I have an exported function that requires the
> > installation a package that *is not* available on CRAN. The body of the
> > function is generally:
> >
On 03.01.2024 17:33, Josiah Parry wrote:
I have a scenario where I have an exported function that requires the
installation a package that *is not* available on CRAN. The body of the
function is generally:
fx <- function() {
rlang::check_installed("noncranpkg")
noncranpkg::gx()
}
As req
I have a scenario where I have an exported function that requires the
installation a package that *is not* available on CRAN. The body of the
function is generally:
fx <- function() {
rlang::check_installed("noncranpkg")
noncranpkg::gx()
}
As required, this package is in the Suggests field. B
On Wed, 3 Jan 2024 13:34:27 +
Daniel Kelley wrote:
> Error:
> ! in callr subprocess.
> Caused by error in `map2(.x, vec_index(.x), .f, ...)`:
> ! In index: 1.
Interesting that the actual error messages seem to be completely
empty.
By chance (I was searching for "rlang See `$stdout` for sta
# Question
Is there an online example online of specializing `plot()` for S7 objects, such
that `pkgdown::build_site()` will produce webpages? I ask because I find lots
of users (of other packages) tend to consult websites made with pkgdown, rather
than using the online help within R. I think
14 matches
Mail list logo