# NOT RUN {
file <- system.file("extdata/doublelines.txt", package="berryFunctions")
dupes(file, tofile=FALSE)
dupes(file, tofile=FALSE, ignore.empty=TRUE)
## These are skipped by rcmd check (opening external places is not allowed):
# }
# NOT RUN {
dupes(file)
# }
# NOT RUN {
# a template file (dupes.ods) for libreOffice Calc is available here:
system.file("extdata", package="berryFunctions")
# }
# NOT RUN {
system2("nautilus", system.file("extdata/dupes.ods", package="berryFunctions"))
# }
# NOT RUN {
# To open folders with system2:
# "nautilus" on linux ubuntu
# "open" or "dolphin" on mac
# "explorer" or "start" on windows
# }
Run the code above in your browser using DataLab