-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt unittest for read_txt_Renishaw() function #54
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I see the paths to files were changed and the tests now work.
Please, change the names of variables with file names.
R/read_txt_Renishaw.R
Outdated
path <- system.file("extdata/fileio/txt.Renishaw", package="hySpc.read.txt") | ||
paracetamol <- paste0(path, "/paracetamol.txt") | ||
laser <- paste0(path, "/laser.txt.gz") | ||
chondro <- paste0(path, "/chondro.txt") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you, please, not use the names paracetamol
, laser
, and chondro
for file names. Use f_paracetamol
, f_laser
, and f_chondro
instead.
I think, for "Adapt unittest for read_txt_Renishaw() function" PR these changes would be OK. But after merging, "Improve unit test for read_txt_Renishaw() function" PR should be created and each imported object should be tested using this template: |
No description provided.