Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 54fc851

Browse files
committed
remove the allow rmd deployment option
1 parent 90c061f commit 54fc851

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/cpp/session/SessionMain.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,7 @@ void handleClientInit(const boost::function<void()>& initFunction,
622622
bool shinyAppsInstalled =
623623
module_context::isPackageVersionInstalled("shinyapps", "0.2.1");
624624
sessionInfo["shinyapps_installed"] = shinyAppsInstalled;
625-
sessionInfo["allow_rmd_deployment"] = shinyAppsInstalled &&
626-
options.allowRmdDeployment();
625+
sessionInfo["allow_rmd_deployment"] = shinyAppsInstalled;
627626

628627
sessionInfo["rmarkdown_available"] =
629628
modules::rmarkdown::rmarkdownPackageAvailable();

src/cpp/session/include/session/SessionOptions.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,12 +286,6 @@ class Options : boost::noncopyable
286286
return allowOverlay() || allowRpubsPublish_;
287287
}
288288

289-
bool allowRmdDeployment() const
290-
{
291-
// ShinyApps.io doesn't support R Markdown deployment
292-
return false;
293-
}
294-
295289
// user info
296290
std::string userIdentity() const
297291
{

0 commit comments

Comments
 (0)