#######################################################################################################
######################## Settings file for package "dogPack" ##################################
#######################################################################################################
# If not already there, move this file called 'dogPack_settings.R' into the "inst" folder of
# your package 'dogPack'. (create an "inst" folder if it does not exist)
# do NOT change the name of the object holding the list - in this case, 'stn'
# use the code '.doe$stn$KEY' (with 'KEY' being any of the key=value pairs defined below)
# in the target package to access the values of the object 'stn'.
settings <- list(
# tag = value, # with a comma !!
# possible top block here
# very important line
myAdd01 = FALSE,
myAdd02 = "ZeroAd2",
## general behavior
gen_autoUpdateSettings = TRUE, ## Do not delete this variable (but of course you can change its value)
## block 1 (describe what this collection of variables is about)
block1 = "foo", ## add a comment to describe what variables are about
block1_2 = TRUE,
willBeDeleted1 = 5, ## you can specify any type of variable
block1_nameThemWhateverYouWant = "Henry",
anyName = "anyValue",
myAdd1 = 5,
## block 2 (describe what this collection of variables is about)
myAddTNH = "haha",
block2 = "bar",
block2_2 = 12345,
myAdd2 = 10,
comboDelete1 = "theo",
block2_oneMoreVariable = FALSE,
## block 3 (describe what this collection of variables is about)
block3_giveMeaningfulNames = TRUE,
favouriteColor = "blue",
willBeDeleted2 = "darkred",
comboDelete2 = TRUE,
changed = FALSE,
# new block
John = 1,
paul = 2,
mary = 3,
myAdd3 = "XXX_4",
myAdd4 = "peter",
block4 = "you get the picture",
blabla = TRUE,
andSoOn = 999999,
petterson = "old",
findus = "cat",
mouse = "grey",
# new header
newHeaderKey = TRUE,
obey = TRUE,
willBeDeleted3 = FALSE,
strength = 5000,
######
last = 0 # do not add anything below that
## the last one without comma !!
) # end of list called 'stn'
# any of these key=value pairs can be accessed in the code of your package 'dogPack' by using simply
# .doe$stn$favouriteColor, for example. Instead of 'favouriteColor' any other of the keys defined
# in the list above can be used.
# You can create as many key=value pairs as you want.
# Key=value pairs have to specified exactly in the format as shown above, with a ',' (comma) after the value!
# (as this is nothing but a simple list, and in a list the key=value pairs have to be separated by a comma.)
# The keys have to be unique (obviously).
# Do not change the name of the object holding the list - in this case, 'stn'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.