Commit 62f96856 authored by Cassandra Gould van Praag's avatar Cassandra Gould van Praag
Browse files

adds strcmp to debug missing git storage

parent 9b999b73
.Rproj.user
.Rhistory
.RData
.Ruserdata
......@@ -3,11 +3,16 @@
# This script will create a directory called "AdvancedMethodsWorkshop-OSF" in the
# same location as this file. Subdirectories will then be created for each component.
# Requires osfr package. You may first need to install devtools from Rstudio Tools>Install Packages
# Requires osfr package.
# Required libraries:
# osfr: You may first need to install devtools from Rstudio Tools>Install Packages
# Then in Rstudio console > devtools::install_github('CenterForOpenScience/osfr')
# Many thanks to @CourtneySoderberg and @DanielLakens for the starting inspiration.
# And pracma for strcmp (debugging)
# Many thanks to @IlsePit,@CourtneySoderberg and @DanielLakens for the starting inspiration.
library(osfr)
library(pracma)
root <- getwd()
root<-file.path(root,'AdvancedMethodsWorkshop-OSF')
......@@ -40,6 +45,10 @@ for (comp in 1:nrow(data_mainProj_info)) {
data_comp <- osf_ls_files(data_comp,n_max=Inf)
#print(data_comp,n=Inf)
if (strcmp(compID,'skz3j')) {
readline(prompt="Press [enter] to continue")
}
# tidy up and get our columns as before
tmp2 <- data.frame(data_comp)
data_comp_info <- tmp2[keepCol]
......
Version: 1.0
RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default
EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8
RnwWeave: Sweave
LaTeX: pdfLaTeX
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment