Closed mkhassan-isu closed 3 days ago
lets add this line of code to the sql_fte function
sql_fte <- function(data_source = 'Edify', name) {
base <- system.file('sql', package='utDataStoR')
file <- paste(
base,
'/',
'fte',
'/',
'fte_off_edify.sql',
sep = ''
)
fs::file_copy(
file,
here::here('sql', name))
warning("This function has been deprecated and is no longer supported.
Please use the 'make_fte_sql' function instead for improved functionality and support.")
}
We also need to rewrite the function to have the correct naming prefix.
@mkhassan-isu Can you let me know what pull request this is in. Then we can close it.
@andreabringhurst Here is the pull request:
I am closing this issue. It will be fixed when pull request #43 is approved.
The function sql_fte should be renamed to make_fte_sql to maintain consistency with other similar functions in the package. However, to prevent breaking backward compatibility, we need to create a new function named make_fte_sql while keeping sql_fte intact. Additionally, a warning message will be added to sql_fte to inform users that this function will be deprecated in the future.