-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace 'library()' with 'require()' which is (about 5 times) faster
- Loading branch information
Showing
6 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
library(shiny, quietly = TRUE) | ||
library(DRomics, quietly = TRUE) | ||
library(ggplot2, quietly = TRUE) | ||
library(shinyjs, quietly = TRUE) | ||
library(shinyBS, quietly = TRUE) | ||
library(shinycssloaders, quietly = TRUE) | ||
library(tools, quietly = TRUE) | ||
library(svglite, quietly = TRUE) | ||
require("shiny", quietly = TRUE) | ||
require("DRomics", quietly = TRUE) | ||
require("ggplot2", quietly = TRUE) | ||
require("shinyjs", quietly = TRUE) | ||
require("shinyBS", quietly = TRUE) | ||
require("shinycssloaders", quietly = TRUE) | ||
require("tools", quietly = TRUE) | ||
require("svglite", quietly = TRUE) | ||
addResourcePath('DRomicspkg', system.file("extdata", package="DRomics")) | ||
options(shiny.maxRequestSize=30*1024^2) | ||
|
||
text_bgdose <- "The value of doses under which doses can be replaced by 0, to be considered as the background dose for BMD calculation, is necessary only if there is no dose at zero in the data. To prevent hazardous calculation of BMDs by extrapolation, DRomics will not run without null doses in the design or specification of this background dose." | ||
text_bgdose <- "The value of doses under which doses can be replaced by 0, to be considered as the background dose for BMD calculation, is necessary only if there is no dose at zero in the data. To prevent hazardous calculation of BMDs by extrapolation, DRomics will not run without null doses in the design or specification of this background dose." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
library("testthat") | ||
library("DRomics") | ||
require("testthat") | ||
require("DRomics") | ||
test_check("DRomics") |