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

refactor: remove alternate http backends and other deprecated functions#1282

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
nealrichardson wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromrm-deprecations

Conversation

@nealrichardson
Copy link
Contributor

Closes#1281 and then some

I don't see any of these functions referenced inhttps://github.com/search?q=repo%3Arstudio%2Frstudio%20%22rsconnect%3A%3A%22&type=code so I presume this is safe, but maybe that's not enough assurance that nothing here would affect usage in RStudio.

@nealrichardson
Copy link
ContributorAuthor

macos failure is due tohttps://cran.r-project.org/web/packages/xfun/index.html just being released and CRAN must be out of sync somehow

Copy link
Contributor

@jonkeanejonkeane left a comment

Choose a reason for hiding this comment

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

Thanks for this. Most of my comments are just linking where we deprecated the thing for the record.

Comment on lines +274 to 275
#' @note These functions only work
#' for applications deployed to ShinyApps.io.
Copy link
Contributor

Choose a reason for hiding this comment

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

Very minor but this can all be on one line now, yeah?

}else {
check_bool(quarto,allow_na=TRUE)
}
check_bool(quarto,allow_na=TRUE)
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for this cleanup, FTR#828 is when this deprecation was added

Comment on lines +306 to -312
# Previously exported, but deprecated since 2015
authorizedUsers<-function(appDir= getwd()) {
.Deprecated("showUsers")
Copy link
Contributor

Choose a reason for hiding this comment

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

But we still use this internally so we're keeping it around? Is it not possible to shift everything toshowUsers?

And if yes: did the.Deprecated("showUsers") get exposed to users in that internal use? Do we want to maintain that?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Remarkably, yes, it is used internally in one place, and wrapped insuppressWarnings() presumably to squelch the deprecation warning.showUsers looked sufficiently different that I didn't want to swap it in, so instead of deleting this, I just made it internal.

Copy link
Contributor

Choose a reason for hiding this comment

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

and wrapped in suppressWarnings() presumably to squelch the deprecation warning.

😱 ooph.

ok ok I'm fine with this here, but maybe we should have an issue to clean this up in the future?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Maybe, though it's not clear that this function is problematic per se, maybe it's useful in its internal use?

Comment on lines -269 to -287
if (isStaticFile(appDir)&&!dirExists(appDir)) {
lifecycle::deprecate_warn(
when="1.0.0",
what="deployApp(appDir = 'takes a directory, not a document,')",
with="deployDoc()"
)
return(deployDoc(
appDir,
appName=appName,
appTitle=appTitle,
account=account,
server=server,
upload=upload,
recordDir=recordDir,
launch.browser=launch.browser,
logLevel=logLevel,
lint=lint
))
}
Copy link
Contributor

Choose a reason for hiding this comment

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

FTR#698 introduced this.

What's the error look like when someone does send a document toappDir? Not that we need to keep that as easy as possible for folks to get on to the right path, but I want to make sure it's notvery hard to decipher.

Comment on lines -443 to -449
lifecycle::deprecate_warn(
"1.0.0",
I("The `rsconnect.http` option"),
details= c(
"It should no longer be necessary to set this option",
"If the default http handler doesn't work for you, please file an issue at <https://github.com/rstudio/rsconnect/issues>"
)
Copy link
Contributor

Choose a reason for hiding this comment

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

FTR:#762

@@ -1,63 +0,0 @@
#' Discover servers automatically
Copy link
Contributor

Choose a reason for hiding this comment

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

FTR#750

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

Reviewers

@jonkeanejonkeanejonkeane approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Remove non-libcurl backends

3 participants

@nealrichardson@jonkeane

[8]ページ先頭

©2009-2025 Movatter.jp