Merge branch 'fix-library-load'
* fix-library-load: utils: Move library() calls to beginning of file
This commit is contained in:
commit
3c517431f6
10
utils.R
10
utils.R
@ -3,6 +3,10 @@
|
|||||||
# License: GPL version 3
|
# License: GPL version 3
|
||||||
# Jens Mathis Sauer (c) 2020
|
# Jens Mathis Sauer (c) 2020
|
||||||
|
|
||||||
|
library(survival)
|
||||||
|
library(survminer)
|
||||||
|
library(tidyverse)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Write plot to filename
|
# Write plot to filename
|
||||||
#
|
#
|
||||||
@ -95,12 +99,6 @@ sma_break.time.by = 5 * 365.25
|
|||||||
sma_init <- function() {
|
sma_init <- function() {
|
||||||
if (exists("sma_initialized") == FALSE) {
|
if (exists("sma_initialized") == FALSE) {
|
||||||
print("Initialize secMalASCT workspace")
|
print("Initialize secMalASCT workspace")
|
||||||
|
|
||||||
print("Loading libraries")
|
|
||||||
library(survival)
|
|
||||||
library(survminer)
|
|
||||||
library(tidyverse)
|
|
||||||
|
|
||||||
print("Loading data")
|
print("Loading data")
|
||||||
#
|
#
|
||||||
# Use superassignment operator '<<-' to make
|
# Use superassignment operator '<<-' to make
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user