Skip to content
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

Merged
merged 7 commits into from
Aug 6, 2021

Conversation

sangttruong
Copy link

No description provided.

R/read_txt_Renishaw.R Outdated Show resolved Hide resolved
Copy link
Member

@GegznaV GegznaV left a 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.

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")
Copy link
Member

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.

@GegznaV
Copy link
Member

GegznaV commented Aug 6, 2021

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:
#55 (comment)

@GegznaV GegznaV merged commit d0c0a44 into develop Aug 6, 2021
@GegznaV GegznaV deleted the features/42-read-txt-Renishaw branch August 6, 2021 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants