Skip to content

Commit

Permalink
switched from WARN log to message
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Wu committed Apr 16, 2024
1 parent 1faf04b commit e299377
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions R/converters.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ DIAUmpiretoMSstatsFormat = function(
getOption("MSstatsLog")("INFO", msg_final)
getOption("MSstatsMsg")("INFO", msg_final)
getOption("MSstatsLog")("INFO", "\n")
msg_deprecation = paste("** FUNCTION DEPRECATION NOTICE: We would like to",
msg_deprecation = paste("FUNCTION DEPRECATION NOTICE: We would like to",
"notify you that the DIAUmpiretoMSstatsFormat function",
"currently available in both MSstats and MSstatsConvert,",
"will undergo a transition process. Starting from release 3.21",
"the DIAUmpiretoMSstatsFormat function in MSstats will be deprecated.",
"Please take the necessary steps to update your codebase",
"and migrate to MSstatsConvert::DIAUmpiretoMSstatsFormat before",
"release 3.21 to avoid any disruptions to your workflow.")
getOption("MSstatsMsg")("WARN", msg_deprecation)
message(msg_deprecation)
input
}

Expand Down Expand Up @@ -203,15 +203,15 @@ MaxQtoMSstatsFormat = function(
getOption("MSstatsLog")("INFO", msg_final)
getOption("MSstatsMsg")("INFO", msg_final)
getOption("MSstatsLog")("INFO", "\n")
msg_deprecation = paste("** FUNCTION DEPRECATION NOTICE: We would like to",
msg_deprecation = paste("FUNCTION DEPRECATION NOTICE: We would like to",
"notify you that the MaxQtoMSstatsFormat function",
"currently available in both MSstats and MSstatsConvert,",
"will undergo a transition process. Starting from release 3.21",
"the MaxQtoMSstatsFormat function in MSstats will be deprecated.",
"Please take the necessary steps to update your codebase",
"and migrate to MSstatsConvert::MaxQtoMSstatsFormat before",
"release 3.21 to avoid any disruptions to your workflow.")
getOption("MSstatsMsg")("WARN", msg_deprecation)
message(msg_deprecation)
input
}

Expand Down Expand Up @@ -270,15 +270,15 @@ OpenMStoMSstatsFormat = function(
getOption("MSstatsLog")("INFO", msg_final)
getOption("MSstatsMsg")("INFO", msg_final)
getOption("MSstatsLog")("INFO", "\n")
msg_deprecation = paste("** FUNCTION DEPRECATION NOTICE: We would like to",
msg_deprecation = paste("FUNCTION DEPRECATION NOTICE: We would like to",
"notify you that the OpenMStoMSstatsFormat function",
"currently available in both MSstats and MSstatsConvert,",
"will undergo a transition process. Starting from release 3.21",
"the OpenMStoMSstatsFormat function in MSstats will be deprecated.",
"Please take the necessary steps to update your codebase",
"and migrate to MSstatsConvert::OpenMStoMSstatsFormat before",
"release 3.21 to avoid any disruptions to your workflow.")
getOption("MSstatsMsg")("WARN", msg_deprecation)
message(msg_deprecation)
input
}

Expand Down Expand Up @@ -364,15 +364,15 @@ OpenSWATHtoMSstatsFormat = function(
getOption("MSstatsLog")("INFO", msg_final)
getOption("MSstatsMsg")("INFO", msg_final)
getOption("MSstatsLog")("INFO", "\n")
msg_deprecation = paste("** FUNCTION DEPRECATION NOTICE: We would like to",
msg_deprecation = paste("FUNCTION DEPRECATION NOTICE: We would like to",
"notify you that the OpenSWATHtoMSstatsFormat function",
"currently available in both MSstats and MSstatsConvert,",
"will undergo a transition process. Starting from release 3.21",
"the OpenSWATHtoMSstatsFormat function in MSstats will be deprecated.",
"Please take the necessary steps to update your codebase",
"and migrate to MSstatsConvert::OpenSWATHtoMSstatsFormat before",
"release 3.21 to avoid any disruptions to your workflow.")
getOption("MSstatsMsg")("WARN", msg_deprecation)
message(msg_deprecation)
input
}

Expand Down Expand Up @@ -496,15 +496,15 @@ DIANNtoMSstatsFormat = function(input, annotation = NULL,
getOption("MSstatsLog")("INFO", msg_final)
getOption("MSstatsMsg")("INFO", msg_final)
getOption("MSstatsLog")("INFO", "\n")
msg_deprecation = paste("** FUNCTION DEPRECATION NOTICE: We would like to",
msg_deprecation = paste("FUNCTION DEPRECATION NOTICE: We would like to",
"notify you that the DIANNtoMSstatsFormat function",
"currently available in both MSstats and MSstatsConvert,",
"will undergo a transition process. Starting from release 3.21",
"the DIANNtoMSstatsFormat function in MSstats will be deprecated.",
"Please take the necessary steps to update your codebase",
"and migrate to MSstatsConvert::DIANNtoMSstatsFormat before",
"release 3.21 to avoid any disruptions to your workflow.")
getOption("MSstatsMsg")("WARN", msg_deprecation)
message(msg_deprecation)
input
}

Expand Down Expand Up @@ -582,15 +582,15 @@ ProgenesistoMSstatsFormat = function(
getOption("MSstatsLog")("INFO", msg_final)
getOption("MSstatsMsg")("INFO", msg_final)
getOption("MSstatsLog")("INFO", "\n")
msg_deprecation = paste("** FUNCTION DEPRECATION NOTICE: We would like to",
msg_deprecation = paste("FUNCTION DEPRECATION NOTICE: We would like to",
"notify you that the ProgenesistoMSstatsFormat function",
"currently available in both MSstats and MSstatsConvert,",
"will undergo a transition process. Starting from release 3.21",
"the ProgenesistoMSstatsFormat function in MSstats will be deprecated.",
"Please take the necessary steps to update your codebase",
"and migrate to MSstatsConvert::ProgenesistoMSstatsFormat before",
"release 3.21 to avoid any disruptions to your workflow.")
getOption("MSstatsMsg")("WARN", msg_deprecation)
message(msg_deprecation)
input
}

Expand Down Expand Up @@ -675,15 +675,15 @@ PDtoMSstatsFormat = function(
getOption("MSstatsLog")("INFO", msg_final)
getOption("MSstatsMsg")("INFO", msg_final)
getOption("MSstatsLog")("INFO", "\n")
msg_deprecation = paste("** FUNCTION DEPRECATION NOTICE: We would like to",
msg_deprecation = paste("FUNCTION DEPRECATION NOTICE: We would like to",
"notify you that the PDtoMSstatsFormat function",
"currently available in both MSstats and MSstatsConvert,",
"will undergo a transition process. Starting from release 3.21",
"the PDtoMSstatsFormat function in MSstats will be deprecated.",
"Please take the necessary steps to update your codebase",
"and migrate to MSstatsConvert::PDtoMSstatsFormat before",
"release 3.21 to avoid any disruptions to your workflow.")
getOption("MSstatsMsg")("WARN", msg_deprecation)
message(msg_deprecation)
input
}

Expand Down Expand Up @@ -787,15 +787,15 @@ SkylinetoMSstatsFormat = function(
getOption("MSstatsLog")("INFO", msg_final)
getOption("MSstatsMsg")("INFO", msg_final)
getOption("MSstatsLog")("INFO", "\n")
msg_deprecation = paste("** FUNCTION DEPRECATION NOTICE: We would like to",
msg_deprecation = paste("FUNCTION DEPRECATION NOTICE: We would like to",
"notify you that the SkylinetoMSstatsFormat function",
"currently available in both MSstats and MSstatsConvert,",
"will undergo a transition process. Starting from release 3.21",
"the SkylinetoMSstatsFormat function in MSstats will be deprecated.",
"Please take the necessary steps to update your codebase",
"and migrate to MSstatsConvert::SkylinetoMSstatsFormat before",
"release 3.21 to avoid any disruptions to your workflow.")
getOption("MSstatsMsg")("WARN", msg_deprecation)
message(msg_deprecation)
input
}

Expand Down Expand Up @@ -875,15 +875,15 @@ SpectronauttoMSstatsFormat = function(
getOption("MSstatsLog")("INFO", msg_final)
getOption("MSstatsMsg")("INFO", msg_final)
getOption("MSstatsLog")("INFO", "\n")
msg_deprecation = paste("** FUNCTION DEPRECATION NOTICE: We would like to",
msg_deprecation = paste("FUNCTION DEPRECATION NOTICE: We would like to",
"notify you that the SpectronauttoMSstatsFormat function",
"currently available in both MSstats and MSstatsConvert,",
"will undergo a transition process. Starting from release 3.21",
"the SpectronauttoMSstatsFormat function in MSstats will be deprecated.",
"Please take the necessary steps to update your codebase",
"and migrate to MSstatsConvert::SpectronauttoMSstatsFormat before",
"release 3.21 to avoid any disruptions to your workflow.")
getOption("MSstatsMsg")("WARN", msg_deprecation)
message(msg_deprecation)
input
}

Expand Down Expand Up @@ -939,14 +939,14 @@ FragPipetoMSstatsFormat = function(
getOption("MSstatsLog")("INFO", msg_final)
getOption("MSstatsMsg")("INFO", msg_final)
getOption("MSstatsLog")("INFO", "\n")
msg_deprecation = paste("** FUNCTION DEPRECATION NOTICE: We would like to",
msg_deprecation = paste("FUNCTION DEPRECATION NOTICE: We would like to",
"notify you that the FragPipetoMSstatsFormat function",
"currently available in both MSstats and MSstatsConvert,",
"will undergo a transition process. Starting from release 3.21",
"the FragPipetoMSstatsFormat function in MSstats will be deprecated.",
"Please take the necessary steps to update your codebase",
"and migrate to MSstatsConvert::FragPipetoMSstatsFormat before",
"release 3.21 to avoid any disruptions to your workflow.")
getOption("MSstatsMsg")("WARN", msg_deprecation)
message(msg_deprecation)
input
}

0 comments on commit e299377

Please sign in to comment.