Skip to content

Make preferably work with devel version of pkgdown #8

@wviechtb

Description

@wviechtb

At the moment, preferably doesn't seem to work together with the development version of pkgdown. After remotes::install_github("r-lib/pkgdown"), trying to build the docs leads to:

Error in readLines(con) : cannot open the connection
Calls: <Anonymous> ... %||% -> <Anonymous> -> yaml.load -> paste -> readLines
In addition: Warning message:
In readLines(con) :
  cannot open file '/home/wviechtb/rlib/4.1/preferably/pkgdown/_pkgdown.yml': No such file or directory
Execution halted

There are some useful developments in pkgdown that I would like to take advantage of and at the same time use the very nice preferably template. I understand that making preferably compatible with the devel version of pkgdown is a bit like shooting at a moving target, but sooner or later, when a new version of pkgdown is released on CRAN, this will become an issue. Maybe there is even a simple fix (seems like a _pkgdown.yml file needs to be bundled with preferably, although I don't know exactly what needs to go in there). In any case, I thought I would bring this to your attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions