Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

expand repo links#1447

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ElenaMetori wants to merge5 commits intorstudio:main
base:main
Choose a base branch
Loading
fromElenaMetori:extend_links

Conversation

@ElenaMetori
Copy link

No description provided.

Copy link
Collaborator

@cdervcderv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Cool ! Thanks.

Maybe we could some test like with

test_that("bs4_book() repo specification works - GitLab", {
skip_if_bs4_book_deps_missing()
book<- local_bs4_book(
output_options=list(
repo="https://gitlab.com/hadley/ggplot2-book"
)
)
html<-xml2::read_html(file.path(book,"_book","index.html"))
expect_equal(
xml2::xml_attr(xml2::xml_child(xml2::xml_find_first(html,"//a[@id='book-repo']")),"class"),
"fab fa-gitlab"
)
})

DESCRIPTION Outdated
rsconnect (>= 0.4.3),
servr (>= 0.13),
shiny,
svglite,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Why svglite is added ?

Missing suggest ? I don't see where it is used in the PR.

Copy link
Author

@ElenaMetoriElenaMetoriNov 23, 2023
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

to pass the check, since it's used ininst/examples/index.Rmd, otherwise it doesn't let me make a PR... the "build and deploy book" one

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

So missing suggest - thanks !

As this is for rendering this book only (bookdown demo works ok), I looked into it closer. I believe this is due to change inknitr wheresvglite is called (yihui/knitr@4300e49)

And we are indeed asking forsvglite in our gitbook format for this book

bookdown::gitbook:
dev:svglite

So this is really a dependency only for the book. We do plan its installation

lapply(c('DT', 'formatR', 'svglite', 'rticles'), function(pkg) {
if (system.file(package = pkg) == '') install.packages(pkg)
})

but too late compare toknitr option resolution.

So we do need to add it only for our documentation book and not the whole package in there

Config/Needs/book: remotes, webshot

This is what is used for additional deps when building the book

-uses:r-lib/actions/setup-r-dependencies@v2
with:
extra-packages:local::.
needs:book

So can you move it ?

Thanks

@CLAassistant
Copy link

CLAassistant commentedApr 17, 2024
edited
Loading

CLA assistant check
All committers have signed the CLA.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@cdervcdervcderv left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@ElenaMetori@CLAassistant@cderv

[8]ページ先頭

©2009-2025 Movatter.jp