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
/cliPublic

Add advice for text + line + col + file hyperlink#670

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
olivroy wants to merge2 commits intor-lib:main
base:main
Choose a base branch
Loading
fromolivroy:patch-1

Conversation

@olivroy
Copy link
Contributor

@olivroyolivroy commentedFeb 15, 2024
edited
Loading

Until#601 is fixed.

I tried looking into fixing it, but couldn't figure it out due to the regexp.

I added this clarification aboutline andcol being numeric, because I was once extracting regexp and forgot to convert to numeric, and they get ignored.

# silently failscli::style_hyperlink(text="R profile at line 5",url="file://~/.Rprofile",params= c(line="5",col="1"))

Edit 2: fromposit-dev/positron#4968 (reply in thread) it is also better to use absolute paths as opposed to relative paths for this syntax

@olivroy
Copy link
ContributorAuthor

olivroy commentedOct 9, 2024
edited
Loading

@gaborcsardi It seems that this syntax doesn't work in Positron? Should an issue be open there, or is that something that can be fixed with cli?

edit: Apparently, this is a newly introduced Positron bug.posit-dev/positron#4968

I changedlist() toc() like it is inwarn_roxy()

https://github.com/r-lib/roxygen2/blob/9652d15221109917d46768e836eaf55e33c21633/R/utils-warn.R#L24-L34

It seems that this works correctly in Positron

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@olivroy

[8]ページ先頭

©2009-2025 Movatter.jp