Yeah, it's a little weird to see at first.  I'll have to sleep on it. :)


Successfully aliased the URL <https://wendells-i2or5orii.now.sh> to the following aliases:

* https://wendell.site
* https://wendells.wendellhu.now.sh
* https://wendells-git-master.wendellhu.now.sh


Successfully aliased the URL <https://studyingthecountries-4eyy80e6f.now.sh> to the following aliases:

* https://studying-the-countries.jhonhst2.now.sh
* https://studying-the-countries-git-master.jhonhst2.now.sh


Successfully aliased the URL <https://pixiv-collection-mwu4rtaxo.now.sh> to the following aliases:

* https://pixiv.now.sh
* https://pixiv-collection.kidonng.now.sh
* https://pixiv-collection-git-master.kidonng.now.sh


test


Dear Poggit user,

This is an automatic message from Poggit-CI. Poggit-CI was triggered by this commit, and the build was created with the following warnings:

1. Sanitized project name, from "0" to "0"

Shall you need any assistance, you may contact us on [on Discord](https://discord.gg/NgHf9jt), or more publicly, [on GitHub](https://github.com/poggit/support/issues). Commenting on this commit directly will **not** notify any Poggit staff.

Regards,
Poggit Bot (@poggit-bot)
The official Poggit automation account


Successfully aliased the URL <https://locally-server-jo43vmmet.now.sh> to the following aliases:

* https://locally.now.sh
* https://locally-server.now.sh
* https://locally-api.uieee.com
* https://locally-server.zce.now.sh
* https://locally-server-git-master.zce.now.sh


Successfully aliased the URL <https://pixiv-collection-nv9m2ucmy.now.sh> to the following aliases:

* https://pixiv.now.sh
* https://pixiv-collection.kidonng.now.sh
* https://pixiv-collection-git-master.kidonng.now.sh


# Specs execution successful
:scroll: [View logs](http://bamboo.comnull)
### Plans updated

Bamboo specs have been successfully imported and the following plans have been updated.

Project | Plan | Build
---|---|---
[Test](http://bamboo.com/browse/TEST) | [Comment test](http://bamboo.com/browse/TEST-CTEST)  | :white_check_mark: [\#1](http://bamboo.com/browse/TEST-CTEST-1)
[New project](http://bamboo.com/browse/NEW) | [Disabled plan](http://bamboo.com/browse/NEW-DISABLED) **disabled** | :white_check_mark: [\#1](http://bamboo.com/browse/NEW-DISABLED-1)

### Deployments updated

Bamboo specs have been successfully imported and the following deployment projects have been updated.

|Deployment project |
----|
[Deployment test](http://bamboo.com/deploy/viewDeploymentProjectVersions.action?id=2162689)|


unused variable 'table'


Successfully aliased the URL <https://rc-drawer-hc3bu2y38.now.sh> to the following aliases:

* https://rc-drawer.react-component.now.sh
* https://rc-drawer-git-master.react-component.now.sh


@jeanarm
In my browser, it has gone back. Please make adjustments so as not to fold back.
![Uploading スクリーンショット 2019-07-11 12.03.14.png…]()


print out top quark scale at LO and NLO


Successfully aliased the URL <https://douban-api-r5oyaey5a.now.sh> to the following aliases:

* https://douban-api.now.sh
* https://douban-api.uieee.com
* https://douban-api.zce.now.sh
* https://douban-api-git-master.zce.now.sh


Successfully aliased the URL <https://dashboard-server-cbyriyovf.now.sh> to the following aliases:

* https://dashboard-server.now.sh
* https://dashboard-server.zce.now.sh
* https://dashboard-server-git-master.zce.now.sh


This was debug code which I wouldn't include in production


In the end you didn't make use of this status code


And here


By ordering the primary is always first, if there is one, otherwise use a non-primary if there is one.


Hey team, any idea when you're going to do a new release? I'm interested in this change in particular.


oo_plant_load_profile (drewyh) - x86_64-MacOS-10.13-clang: OK (2411 of 2414 tests passed, 173 test warnings)

Messages:\n
 * 164 tests had: BND diffs.
 * 4 tests had: MTD diffs.
 * 3 tests had: EIO diffs.
 * 3 tests had: ESO big diffs.
 * 3 tests had: Table big diffs.
 * 2 tests had: MTR small diffs.
 * 1 test had: RDD diffs.
 * 9 tests had: ESO small diffs.

Failures:\n

regression Test Summary
 * Passed: 652
 * Failed: 3

![Build Badge](http://img.shields.io/badge/build%20status-warnings-yellow.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-99.88%25-yellow.png)


@jeanarm There is a gap due to the header margin setting. Please modify it!
![スクリーンショット 2019-07-11 12 09 10](https://user-images.githubusercontent.com/7435505/61042591-caa95500-a3d4-11e9-86a3-36917f7b15fd.png)


How do i aPply this patch? Do i need o edit the main recipes?


@jeanarm
Because there is an appearance defect, please check and complete it yourself.


![スクリーンショット 2019-07-11 12 03 14](https://user-images.githubusercontent.com/7435505/61042675-f6c4d600-a3d4-11e9-836f-80bc5ca7c384.png)


Can you explain why this commit help to have a better date interval handling


@asomers

Could you please review this capsicum support for ping6?

I will also deduplicate the capsicum code in `ping.c` and `ping6.c` and use `cap_*` functions for hostname resolving in `options.c`.


xiugai


Thanks a lot for your feedback. We will definitely consider it while reaching a decision on this.

And as for 501 response code, retrying seems a waste of time because the server doesn't support that particularly requested functionality and is highly unlikely to start supporting it within a reasonable amount of time.


I'm thinking what to provide here.

Some people use `dlnL` directly as probability estimate.
Log-likelihood periodograms are discussed in [Baluev (2008)](https://ui.adsabs.harvard.edu/abs/2008MNRAS.385.1279B) and [Anglada-Escude+ (2013)](https://ui.adsabs.harvard.edu/abs/2013A%26A...556A.126A).

We could simply convert `dlnL` back to `p`, such that the norms `ZK` and `dlnL` return the same `prob`.
(This is also the case for norms `wrms` and `chisq`).


They're serving that script on `www` sub-domain. Not related to different IP.


Pseudo makefile for Windows only.
No current support for GNU/Linux distros.


Successfully aliased the URL <https://stats-for-todoist-pvc0x75wm.now.sh> to the following aliases:

* https://stats-for-todoist.now.sh
* https://stats-for-todoist.ikas.now.sh
* https://stats-for-todoist-git-master.ikas.now.sh


Now could not deploy this pull request due to the `now.json` file explicitly setting the “type” as `docker`, yet the `Dockerfile` is empty or has no commands.


Adding new repository


Successfully aliased the URL <https://simfak-b1wm4e4on.now.sh> to the following aliases:

* https://simfak.widiu7omo.now.sh
* https://simfak-git-master.widiu7omo.now.sh


shader_gles2.h and btGjkPairDetector.cpp contained a unicode byte-order mark which confuses the compiler (lcc)


Successfully aliased the URL <https://vue-jxndskz5j.now.sh> to the following aliases:

* https://redblue.eu.org
* https://vue.redblue.now.sh
* https://vue-git-master.redblue.now.sh


Simpler, clearer now. Thank you. 👍


Successfully aliased the URL <https://accessabar-cs0jnp4ev.now.sh> to the following aliases:

* https://accessabar.handsfree.now.sh
* https://accessabar-git-master.handsfree.now.sh


QUrl for the URL?


Delete the file


[Data tapping  SSIS.docx](https://github.com/Amit19800/MyRepo/files/3381516/Data.tapping.SSIS.docx)


sdc


Of course, that's fine, I will check it over and make appropriate changes.


@jeanarm Overall the code is dirty. .
Write code along the style guide!
Check out Google's style guide for top global companies.
https://google.github.io/styleguide/htmlcssguide.html


@jeanarm
You only have to choose one radio button.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio#Defining_a_radio_group


Successfully aliased the URL <https://ecommerce-kmltqz9tf.now.sh> to the following aliases:

* https://ecommerce.vigneshvilha.now.sh
* https://ecommerce-git-master.vigneshvilha.now.sh


link for hackerank

https://www.hackerrank.com/challenges/maximum-element/copy-from/113956485


Hi Michael, this is an amazing project helping me a lot to achieve results for my own project. Could you help me with how you were able to read the contents of the final boxes with high accuracy on the results of task1??


Rename element `name` to more suitable one like `slider-item`


This is a 20 day old commit haha.


[![Visit Site](https://raw.githubusercontent.com/pantheon-systems/ci-drops-8/0.1.0/data/img/visit-site-36.png)](https://pr-87-badcamp-2019.pantheonsite.io/)

Created multidev environment [pr-87](https://dashboard.pantheon.io/sites/77e169f6-098e-4e68-b9b1-67d0b7cc2f02#pr-87) for badcamp-2019.


Employee dataset


Closes #64


This Clone Scripts is currently in the first steps to be fixed/completed.
If you have experience/desire to join please contact me on my discord server: https://discord.gg/ZJF9MTj


This Clone Scripts is currently in the first steps to be fixed/completed.
If you have experience/desire to join please contact me on my discord server: https://discord.gg/ZJF9MTj

- Mr.TnT.


@jeanarm Be careful with indents.


> > We cannot always search and find not-whitelisted permissions. I got bootloops with ACCESS_FONT_MANAGER, which is a ROM specific feature.
>
> Well, we are on Zeelog's personal device tree, so if he chooses that it's fine for him, we can just fork it and work around this issue. My first comment was just a suggestion of what **might** happen.
>
> Anyways, from my understanding ACCESS_FONT_MANAGER is that custom font chooser service. You can whitelist that package too.
>
> [Here](https://github.com/crdroidandroid/android_frameworks_base/commit/231b61c24b4d223a0a30b309dca41403030aad54#diff-f4ccb1e5096b5cda2b9dde29db0de05aR563)

Could we not just whitelist the process [here](https://github.com/crdroidandroid/android_frameworks_base/blob/9.0/data/etc/privapp-permissions-platform.xml) ?


way did you turned this off?


@jeanarm
In the footer properties, there are multiple same configuration codes. Was it difficult?

The footer is currently stuck on the screen. I keep sticking even if I scroll.
Originally, I want you to see it when you scroll to the bottom.

Please fix it.


- Xin chào mọi người. Rất vui được gặp các bạn. Tôi đã tạo một khóa học để giới thiệu với các bạn về một nền tảng blockchain đáng chú ý trong Klaytn.


![](https://github.trello.services/images/mini-trello-icon.png) [Js worker tweaks](https://trello.com/c/eYqpgVP8/2-js-worker-tweaks)


This is just a demo of spring cloud config


main data file


okay i'll correct all those mistakes.


在


Тут проще `splat` оператор использовать. Если в `options` пустой массив, то аргумент не будет передан. Если  есть элементы, то они будут переданы как аргументы

```ruby
send(validation, value, *options)

...
def validate_presence(value)
  ...
end

def validate_format(value, format)
  ...
end

def validate_type(value, type)
  ...
end
```


@winterdev001 Please!


Successfully aliased the URL <https://python-django-pd9hodqr0.now.sh> to the following aliases:

* https://python-django.zlook119.now.sh
* https://python-django-git-master.zlook119.now.sh


i got this

ALTER TABLE `pet`
	ADD COLUMN `autofeed` tinyint(2) NOT NULL default '0' AFTER `incubate`

MySQL menyatakan: Dokumentasi
#1060 - Duplicate column name 'autofeed'


Thanks Treasure


Successfully aliased the URL <https://ecommerce-qxex487ie.now.sh> to the following aliases:

* https://ecommerce.vigneshvilha.now.sh
* https://ecommerce-git-master.vigneshvilha.now.sh


Clock


Successfully aliased the URL <https://accessabar-9xz1h8hco.now.sh> to the following aliases:

* https://accessabar.handsfree.now.sh
* https://accessabar-git-master.handsfree.now.sh


hey, how stable are these changes? do you want to create a PR to my repo from these?


Sounds reasonable. We could check the numbers afterward by feeding Gaussian noise. I think I never did that for the other normalizations


Successfully aliased the URL <https://python-django-h7aleyknn.now.sh> to the following aliases:

* https://python-django.zlook119.now.sh
* https://python-django-git-master.zlook119.now.sh


1 phút giới thiệu về dự án


Are you asking or saying it is alright?

![PLi Dev EPG menu](https://user-images.githubusercontent.com/6644489/61044926-9f713680-a3d1-11e9-865e-0fd1a40b8bb5.jpg)

See here also
https://github.com/OpenPLi/enigma2/pull/2172


HAMT2_Release (antretterf) - x86_64-MacOS-10.13-clang: Tests Failed (2391 of 2992 tests passed, 29 test warnings)

Messages:\n
 * 279 tests had: AUD diffs.
 * 279 tests had: EIO diffs.
 * 145 tests had: ESO big diffs.
 * 271 tests had: RDD diffs.
 * 67 tests had: ESO small diffs.
 * 232 tests had: Table big diffs.
 * 133 tests had: BND diffs.
 * 37 tests had: ERR diffs.
 * 136 tests had: MDD diffs.
 * 146 tests had: MTD diffs.
 * 64 tests had: MTR big diffs.
 * 14 tests had: MTR small diffs.
 * 5 tests had: SSZ small diffs.
 * 12 tests had: ZSZ small diffs.
 * 4 tests had: SSZ big diffs.
 * 17 tests had: ZSZ big diffs.
 * 1 test had: DXF diffs.
 * 1 test had: SHD diffs.

Failures:\n

regression Test Summary
 * Passed: 34
 * Failed: 601

![Build Badge](http://img.shields.io/badge/build%20status-warnings-yellow.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-79.91%25-red.png)


Erro: Remover ultimo parenteses do primeiro argumento


You‘re right.
Going to fix it today.

> Am 11.07.2019 um 09:15 schrieb martin-badin <notifications@github.com>:
>
> testID is a type of string, not bool
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or mute the thread.


I meant in what format can the location be :-)


Successfully aliased the URL <https://python-django-c0uyw4j0w.now.sh> to the following aliases:

* https://python-django.zlook119.now.sh
* https://python-django-git-master.zlook119.now.sh


Successfully aliased the URL <https://insight-ui-antd-pam5t145x.now.sh> to the following aliases:

* https://insight-ui-antd.dadada.now.sh
* https://insight-ui-antd-git-master.dadada.now.sh


PhyComAddress2 3


Successfully aliased the URL <https://yld-storybook-88p7y9i2d.now.sh> to the following aliases:

* https://yld-storybook.now.sh
* https://yld-storybook.carvil.now.sh
* https://yld-storybook-git-master.carvil.now.sh


Successfully aliased the URL <https://python-django-o5zk0f9wk.now.sh> to the following aliases:

* https://python-django.zlook119.now.sh
* https://python-django-git-master.zlook119.now.sh


If I already have it right, I confirm everything right abu thx.


fix pagefoot css, add padding-bottom


Surely the skin_default sub directory is not needed?

As I understand it,
skin_720 is new skin_default/fallback/emergency for 720 skins
skin_1080 is new skin_default/fallback/emergency for 1080 skins


Successfully aliased the URL <https://python-django-2yjtgao8o.now.sh> to the following aliases:

* https://python-django.zlook119.now.sh
* https://python-django-git-master.zlook119.now.sh


❌ Status for 'xamarin-macios - sample testing (build)': [failure](https://dev.azure.com/xamarin//internal/_build/results?buildId=4118).

* ❌ Debug_iPhone_AF:
* ❌ Debug_iPhone_GR:
* ❌ Debug_iPhone_SZ:
* ❌ Debug_iPhoneSimulator:
* ❌ Release_iPhone_AF:
* ❌ Release_iPhone_GR:
* ❌ Release_iPhone_SZ:
* ❌ Release_iPhoneSimulator:
* ❌ Debug_Mac:
* ❌ Release_Mac:


This contract aims to be inherited from. Are you inviting the child contract's developer to do `owner = 0;` or any other value?


Consider adding whodunnit.


Now could not deploy this pull request since the `now.json` file does not contain valid JSON.

	Click here to see the contents of `now.json`

{
  "version": 2,
  "name": "tko-random-robbie",
  "builds": [
    { "src": "*", "use": "@now/static" }
  ],
  "routes": [
      {"src": "/", "dest": "index.html"},
      {"src": "/rob.html", "dest": "rob.html"},
      {"src": "/poc/[0-9]{6}.html", "dest": "rob.html", "methods": "GET"},
  ]
}

For more information on now.json visit https://zeit.co/docs/features/configuration#now.json.


Same concern here about the child contract.
Also, if I do `paused = true;` in the constructor, what will be the initial value?


Hi! This is the friendly automated conda-forge-webservice.

I updated the Github team because of this commit.

- @mathiaseitz, @trendelkampschroer, @birnbaum were added to this feedstock maintenance team.

You should get push access to this feedstock and CI services.

Feel free to join the community [chat room](https://gitter.im/conda-forge/conda-forge.github.io).

NOTE: Please make sure to not push to the repository directly.
      Use branches in your fork for any changes and send a PR.
      More details [here](https://conda-forge.org/docs/maintainer/updating_pkgs.html#forking-and-pull-requests)


Successfully aliased the URL <https://next-setup-9sbrfc5nj.now.sh> to the following aliases:

* https://hellofriend.now.sh
* https://next-setup.panr.now.sh
* https://next-setup-git-master.panr.now.sh


I am also having problems with loading audio "this.load.audio('song', './assets/audio/action.wav' );" are there any work arounds for this?


I believe you meant enabling ~automatic text formatting~ mentions here, corrected in https://github.com/ckeditor/ckeditor5-mention/commit/1f8cab080dcf038c29ab4b037435b525aa36d65b


Successfully aliased the URL <https://monorepo-725y7rmxj.now.sh> to the following aliases:

* https://monorepo.storybook.now.sh
* https://monorepo-git-next.storybook.now.sh


Successfully aliased the URL <https://next-setup-7mvounv25.now.sh> to the following aliases:

* https://hellofriend.now.sh
* https://next-setup.panr.now.sh
* https://next-setup-git-master.panr.now.sh


I turned it by mistake while testing my beta releases.


Hi @AdrianAlan ,
I am just starting to work with the ML4DQM group and as a finger exercise trying to run the jupyter NB, do I need to run the NB in swan? I tried running it on local but i guess i don't understand how to get access to eos.
I do get a prompt for a password and i enter my NICE password but I guess it doesn't work because later on in the commands it says i
`This Primary Dataset doesn't have JetHT_C_background. Unable to open file (unable to open file: name = '/eos/cms/store/user/fsiroky/consistentlumih5/JetHT_C_background.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
Reading: JetHT_D_background`


Deployment failed with the following error:

~~~
An internal error occurred with ZEIT Now.
~~~


With this `-=`, this is the second time you `SLOAD` `balances[msg.sender]`, and it has not changed from line 40. Can you save some gas?


Also, you could use `SafeMath` here too.


Successfully aliased the URL <https://extract-css-4p5b9dz0i.now.sh> to the following aliases:

* https://extract-css.now.sh
* https://extract-css.bartveneman.now.sh
* https://extract-css-git-master.bartveneman.now.sh


hi humans


Currently I'm testing and changing at the same time (updating my own application on the fly) so it's still in flux. I'm adding "FIXME"s too for that.
In my desired end state almost none of the original library will survive (and I'm not aiming for full API compatibility).

Currently I have:

- Full support for bitmaps with native types
- Full support for TLV on everything. The TLV code is still somewhat in progress and designed for easy Python-like value access. I might want to extract it into a separate library
- Clear layering separation, getting rid of all `str` where there should be `bytes`, and especially getting rid of "this might be a hex string, or an integer list, let's check" parameter types
- More commands, especially WriteFile (for firmware upload)

Still needs work on internal API and TLV, maybe some more tests


Are you creating Ethers out of thin air by the power of copypasta?


hi people


.......some are yet to be labelled...eg calculator


so good~ so nice~


Should it still be here?


remove readme file


Line 22 is irrelevant then.


Should be `-sql`, not just `sql`


temp


Sorry, I've just seen you've fixed this in another commit :)


commit example file


```javascript
let splitter;
const [alice, bob, carol, otherAcct] = accounts;
```


`splitter = await Splitter.new({ from: alice });`


Also check the expected event was emitted.


:white_check_mark: All Rules (5 / 5) Passed

      :crown: Good job! this pull request is aligned with your organization's best practices!

      :point_right: You can review your rules settings at smart policy management :point_left:

:point_right: click here to view a full list of the events :point_left:


Take a look @baitun


avoid this


Probably, I would declare a different `LanguageFeature` like `ProhibitGenericArrayClassLiteral` and initialize it depending on the platform and language version (or would use a `genericArrayClassLiteralSupport` depending on the feature + platform).

To me, it would be more clear, but I don't insist


一些关于c语言的一些总结与感悟。


Also check that:

* the right amount went to the right recipient.
* the contract updated itself correctly.


add package string

get_facts:
change function to work with older versions of comware

get_lldp_neighbors:
implement function to return lldp neighbors

get_environment:
implement function to return monitoring data about cpu, fans, memory and psu

get_config:
implement function to return running and startup config

get_interfaces:
implement function to return information about the interfaces

_short_interface:
Comware uses a long and a short terminology for its interfaces. This function shortens the interface names to the defined short version.


@caballa note the performance improvement here. Is it relevant to Crab in general?

More importantly, is this a sound optimization?
`m_analyzer.get_safe_assertions(safe_assertions);` is a no-op in my case.


Successfully aliased the URL <https://bodgingbeardev-llykyvkis.now.sh> to the following aliases:

* https://bodgingbear.dev
* https://xn--rihx924p.ws
* https://bodgingbeardev.bodgingbear.now.sh
* https://bodgingbeardev-git-master.bodgingbear.now.sh


![](https://github.trello.services/images/mini-trello-icon.png) [밝기 조절 및 기초 UI 구현](https://trello.com/c/LNsl4xH9/3-%EB%B0%9D%EA%B8%B0-%EC%A1%B0%EC%A0%88-%EB%B0%8F-%EA%B8%B0%EC%B4%88-ui-%EA%B5%AC%ED%98%84)


This path is probably only a SUSE-specific convention. I'm not sure how this could be different from different architectures  and distributions. Unless we have the idea, probably it'd still make sense to put this into validate_default_suse_config()? And also check if the module really exists before appending the parameter?


Successfully aliased the URL <https://size-plugin-bot-553kum0hs.now.sh> to the following aliases:

* https://size-plugin-bot.now.sh
* https://size-plugin-bot.kuldeepkeshwar.now.sh
* https://size-plugin-bot-git-master.kuldeepkeshwar.now.sh


Deployment failed with the following error:

~~~
An internal error occurred with ZEIT Now.
~~~


misread it, sry


Probably better append it into $HTTPDOPTS.


Ne moras raditi except jer ce ove vrednosti ispod pregaziti svakako te koje su na request-u


Mozes pisati `auth()->id()`


Successfully aliased the URL <https://accessabar-78mbd2ade.now.sh> to the following aliases:

* https://accessabar.handsfree.now.sh
* https://accessabar-git-master.handsfree.now.sh


Ovo bi bilo dobro staviti kao default, ili na nivou baze, ili na nivou modela

Ovako se radi na nivou modela:

```
   protected $attributes = [
        'completed' => false
    ];
```


Ovde mozes iskoristiti typehint-ing, i navesti
`public function update(Request $request, Todo $todo)`

I onda samo
```
$todo->update($request->all());

return $todo;
```


Ovde imas samo jedan niz, tako da ne moras da radis `array_merge`


@Fluorz It adopted to create one query for date filtering. In previous version, it created two queries so it had given wrong results.


Kada trazis po id-ju mozes da kazes `Todo::find($id)` ili `Todo::findOrFail($id)`. `findOrFail` ce baciti 404, tako da nije uvek primenjiv, ali u ovom slucaju jeste


Moze krace
`return Todo::destroy($id);`


`completed` bi bilo malkice bolje da se zove `is_completed`, jasnije je da je boolean


Mozes pisati `return $this->hasMany(Todo::class);`


Hello @nikhilsteph

I'm trying to understand the difference between the +  and the - operands in pyparsing.
Can you help me with it?

Best!


Dovoljno je da prosledis samo taj niz `$faker->randomElement([null, 1, 2, 3])`


Ovo sto pise u dokumentaciji su samo njihovi default-i, ako hoces da bude default-na vrednost, ne moras ni prosledjivati. Ako hoces da prosledis svoj length, samo prosledis broj


Isto vazi


Isto


> > but i didnt post from other cheats. i used this as a base and coded everything else and recoded 90 percent of everything. so no its not a scam.
>
> lmao, you literally added junk code, renamed every single thing there, use a window installed font instead of a cloud hosted/built-in font, everytime aristois got an update you instantly copy the new shit to your paste.
> even if you took the smallest thing off aristois it will be counted as pasting because you did not code it by yourself.

you are literally a retard. You mean to tell me that aristois has a triggerbot wireframe chams blockbot auto accept, inventory changer etc...


Dovoljno je reci samo `nullable()`. True je default vrednost


Noob question but how do I add this extradata to my scrcpy?


Trebalo bi postaviti foreign key na ovo

`$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');`


Deployment failed with the following error:

~~~
An internal error occurred with ZEIT Now.
~~~


数位DP+状压


This commit is merged, the current version of scrcpy correctly writes the extradata.


testing


have you tested this? Backing out of komascript breaks a few things. Also - not everyone's latex install defaults to 12pt 8.5x11, better to make those settings explicit.


Noice, thanks!


Successfully aliased the URL <https://joinmycall-14qwluxvt.now.sh> to the following aliases:

* https://joinmycall.georgenet.now.sh
* https://joinmycall-git-master.georgenet.now.sh


Setting state to `success` for all statuses.

Only 🤥 (gred) issues found.


`char name[10];`


> Could we not just whitelist the process [here](https://github.com/crdroidandroid/android_frameworks_base/blob/9.0/data/etc/privapp-permissions-platform.xml) ?

That would work too.


for some reason, commenting this line makes stop overlay to open in dx11app (didnt test in others)
I'm on win7 64bit
so I uncomment this line, as it was before, compile, and everything works fine, just as before

if this line is commented then such logs stop appearing in console when I inject dll
```
HookApp::findGameWindow, injectWindow: 0000000000000000
HookApp::findGameWindow, graphicsWindow: 0000000000000000
```

instead, it logs this
```
hook pid: 7416, thread:4848PostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowPostThreadMessage to hook windowsafeInject, pid:7416, result:1
```
and then after like 5 seconds helper exe exits with some error code


Why only for this method? And not also for all the other ones utilizing `diff()`?


Couldn't run policy because this branch has conflicts that must be resolved, the policy will automatically run again after the conflicts are resolved
:point_right: click here to view a full list of the events :point_left:


:x: 1 / 5 Rules Failed

      :cold_sweat: It's not you, it's your code. It may not be aligned with your organization's best practices

      :point_right: You can review your rules settings at smart policy management :point_left:

:point_right: click here to view a full list of the events :point_left:


:hourglass_flowing_sand: Waiting for custom rule data to be resolved
:point_right: click here to view a full list of the events :point_left:


Thanks good catch, I have fixed it but haven't committed yet.


Check failed. Try rerunning the check
:point_right: click here to view a full list of the events :point_left:


use_eigen_HeatBalanceIntRadExchange (drewyh) - x86_64-MacOS-10.13-clang: Tests Failed (2324 of 2924 tests passed, 23 test warnings)

Messages:\n
 * 622 tests had: AUD diffs.
 * 622 tests had: EIO diffs.
 * 427 tests had: ESO big diffs.
 * 614 tests had: RDD diffs.
 * 577 tests had: Table big diffs.
 * 163 tests had: ESO small diffs.
 * 306 tests had: BND diffs.
 * 354 tests had: MDD diffs.
 * 370 tests had: MTD diffs.
 * 116 tests had: SSZ small diffs.
 * 80 tests had: ZSZ small diffs.
 * 75 tests had: MTR small diffs.
 * 187 tests had: MTR big diffs.
 * 96 tests had: ERR diffs.
 * 111 tests had: ZSZ big diffs.
 * 27 tests had: SSZ big diffs.
 * 3 tests had: Table small diffs.
 * 1 test had: DXF diffs.
 * 1 test had: SHD diffs.

Failures:\n

regression Test Summary
 * Passed: 23
 * Failed: 600

![Build Badge](http://img.shields.io/badge/build%20status-warnings-yellow.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-79.48%25-red.png)


This will seriously slow down processing, when there is high latency on the database (not the consumer execution itself). For instance, we have this set at 100 in production on a 4-core server.


Consider sending it to its own file. And use `import`.


`public`. So you are inviting the developer of the child contract to change the owner at will. Maybe do `owner = address(1);`.
Oh, and what value will `owner` be if I do `owner = address(2);` in the constructor?


So what happens if the job happens to Fire while this consumer is executing? Now, it will actually create an additional scheduled message, whereas Reschedule will fail if the job has already fired.


Noted.

I was considering this, but as I wasn't reusing it anywhere else I just packed them together.

Will resubmit.


What happens if `peers.length == 1000000`? Serious question. Please answer below.


Nice. Have a look at the `SafeMath` library to simplify your life.


Yep, agree, love it!


Not so nice, it is the second time you `SLOAD` `peerMap[peers[i]].balance` in 2 lines. It has not changed in between. Can you save some gas?


Is this intended?


7285-UnitVentControlProblem (rraustad) - x86_64-Linux-Ubuntu-18.04-custom_check: OK (9 of 9 tests passed, 0 test warnings)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.png)


Well done. This is in `O(1)`.


You expanded the specs wildly. We said Alice and Bob, and not to expand the specs ;)
Let's discuss the problems of your implementation before we reduce the specs.


Yes, I know that gas costs will grow linearly with the number of peers. I was thinking about implementing another data structure, but was kind of lost. Any suggestions?


Yeah, I considered `SafeMath`, but decided against it as it's just a few checks I do.


You could reduce the storage requirements if you had `removePeer(uint index)` instead.


7285-UnitVentControlProblem (rraustad) - x86_64-Linux-Ubuntu-18.04-cppcheck: OK (0 of 0 tests passed, 0 test warnings)

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.png)


What happens to the owed balance of the peer you remove?


Well done! :)


What does the cell return when you run it?


If you meant full compatibility with the ZVT protocol, well the project in its current stand isn't fully compatible so it's fine. If you meant changing how the library works, there's no 'stable' version of the library so unless there are changes that would break ZVT compatibility I think you're good.

Other breaking changes are not even a thing, because I don't think that many people are using this library as we speak, and whenever I'll have to update my software with this library, I'll simply make changes to be able to use the newer version of this library.

TLV decoding is a big thing. I remember how big that part of the protocol was, and I wasn't even aiming for decoding that (the original library only intended to put a preliminary version for decoding that). But as far as I know, no one uses it exactly because of that.

I could give you collaborator permissions to my repo, as I'd love to have it developed in one central place, instead of having to merge your changes back to my repo.


Why rename in this commit?


Successfully aliased the URL <https://stats-for-todoist-9tqednxto.now.sh> to the following aliases:

* https://stats-for-todoist.now.sh
* https://stats-for-todoist.ikas.now.sh
* https://stats-for-todoist-git-master.ikas.now.sh


When `msg.value` is not a multiple of `peers.length`, what happens to the crumbs?


Yep, good point, probably better to do `uint256 memory currentBalance = peerMap[peers[i]].balance` and reuse it, right?


Deployment failed with the following error:

~~~
An internal error occurred with ZEIT Now.
~~~


Successfully aliased the URL <https://khromedev-3a62p6y6x.now.sh> to the following aliases:

* https://khrome.dev
* https://khromedev.khrome83.now.sh
* https://khromedev-git-master.khrome83.now.sh


The change is left in contract's balance. I think that's fair, no?


If the recipient is a contract that also emits a `LogReceived` event, in which order will `LogReceived` and `LogClaim` appear?


`LogClaimed` as in _already done_?


Balance stays in the contract. I could also automatically send a transaction to the peer with the outstanding balance, of course. Maybe a bit more fair.


This is a pretty important state change. It warrants its own event.


256 when I run it on local and 0 when I run it on SWAN


So, basically leaving the responsibility of getting the index to the client?


Something fishy at line 38


Ok, I think I have found some information about it:
https://sourceforge.net/p/pyparsing/mailman/message/19100860/


Is it ok to pass `newOwner == 0`?


Wouldn't it make sense to add functionality for reading json defaults with the OptionWrapper object after the CLI parameters are read, so that you can read a file specified by a CL argument.


yep, thx


@hariharank97 Something fishy at line 38


Added flags for gmt files from MSigDB and optional use of the cancer-associated genes. Added default running with toy data.


Setting state to `success` for all statuses.

Only 🤥 (gred) issues found.


this is not enough. You need to update chs too


Yes. The contract enforces valid state without making it excessively difficult to the client. The client makes the work to submit proper transactions.


You could imagine a Web2.0 database that keeps track of the index or whatever else. With this info, the client checks that the contract agrees, and it so, then spends the gas for a tx.


can someone send me the .bin file to upload?
Thanks.


Hmmm, need to rethink this. What would `owner = address(1);` do in the first place?


Successfully aliased the URL <https://stats-for-todoist-bt6e9o7rf.now.sh> to the following aliases:

* https://stats-for-todoist.now.sh
* https://stats-for-todoist.ikas.now.sh
* https://stats-for-todoist-git-master.ikas.now.sh


Do you really want the owner to have to send the balance to the recipient as part of the remove peer?


Not sure this is fair. This is burning weis, they are irrecoverable. Of course, the client could make sure this silly mistake not be done. Better would be to credit these to a party.
As part of the exercise, we don't want you to burn any Ether. All must be accounted for and retrievable.


Noted.


Gas cost grows linearly until... until what?


Successfully aliased the URL <https://nuxt-typescript-vuetify-jtuo8pu8y.now.sh> to the following aliases:

* https://nuxt-typescript-vuetify.justhannes.now.sh
* https://nuxt-typescript-vuetify-git-master.justhannes.now.sh


Successfully aliased the URL <https://khromedev-i08smkc5z.now.sh> to the following aliases:

* https://khrome.dev
* https://khromedev.khrome83.now.sh
* https://khromedev-git-master.khrome83.now.sh


Successfully aliased the URL <https://stats-for-todoist-8ifcww598.now.sh> to the following aliases:

* https://stats-for-todoist.now.sh
* https://stats-for-todoist.ikas.now.sh
* https://stats-for-todoist-git-master.ikas.now.sh


Everybody knows `SafeMath`, so even though it is just a few checks, you are making it easier for your code auditor.


Well, it's a moot point. I'll need to ensure there's enough balance in the contract in order to spend on gas in this case, which complicates things. Another option would be to redistribute the balance, but this will also need a possibly significant amount of gas.


Those are very important questions.  ;-) I suppose for consistency there should be some sort of standard. Often times I've thought to just follow GLib types, but, then I start writing `gint` and `gchar` and it seems really annoying.  Other times I've always tried to match the return types/argument types of the functions exactly and end up a multiplicity of different standards in the same code block which also seems annoying.

I weakly prefer the idea of always going with standard C 17 types with <stdbool.h>, but, then, of course, you lose any possibility of compiling on MSVC, because its C compiler is ancient while its C++ compiler is great. Going strictly with GLib types works around those limitations in MSVC C, like the lack of `<stdbool.h>` But then, compiling on MSVC is moot anyway because Guile itself needs gcc or clang to compile on WIndows so that shouldn't be a consideration.

And then there is the question as to whether `gboolean` is the same `sizeof` as `bool` from `<stdbool.h>`, which I imagine is true but I haven't taken the time to prove that is true.  DItto for `gunichar` being equivalent to `int32_t` equivalent to `scm_t_wchar`.  Also GLib's enum and flags are, I believe `int` and `uint` respectively, but again I haven't taken the moment to verify that either.

Largely using the Guile types other than `SCM` is unnecessary because those type are relics of Guile trying to support C89, and the Guile `stdint.h`-like types maps to the real `stdint.h` types with no surprises that I've found.  There are Guile types other than `SCM` that remain useful, like `scm_t_bits`, and `scm_t_wchar` is more expressive than `int32_t`.

So, to wrap up this novel-length explanation, there are two ways forward.
Version 1 is to use gtypes always, even when it seems dumb, like in the case of `gchar`.
Version 2 is to
- Accept that C89 and MSVC support is not a consideration
- Do some research to ensure that GLib types map to the C17 types with no surprises
- Prefer C types with <stdbool.h> and <stdint.h>

I prefer the latter, but, never committed to it because I never have proven to myself that there are no gotchas in that strategy.


Now could not deploy this pull request due to the `now.json` file explicitly setting the “type” as `docker`, yet the `Dockerfile` is empty or has no commands.


`const [ owner, attacker, ... ] = accounts;`


Deployment failed with the following error:

~~~
An internal error occurred with ZEIT Now.
~~~


qwe


Successfully aliased the URL <https://my-react-app-4fx0w3xv9.now.sh> to the following aliases:

* https://my-react-app.nigeljohnwade.now.sh
* https://my-react-app-git-master.nigeljohnwade.now.sh


Don't reuse the same old `.deployed()`. That makes your next `it` depend on the previous one, against unit test best practice. Instead create `.new()` in a `beforeEach`.


Until gas limit is hit, of course :)


I think you might need to run the mkdir command in the second docker image @kiriappeee
```RUN mkdir -p /usr/src/app```


Don't forget to document the new parameter :)


And that the right amount went to the right recipient.


Did you start Ganache with that much in the account?


Successfully aliased the URL <https://cppikbet-4ht9pdvbf.now.sh> to the following aliases:

* https://cppikbet.vitaliks1.now.sh
* https://cppikbet-git-master.vitaliks1.now.sh


А что ещё лежит в этой папке? Мб мы хотим просто целиком её паковать, как /var/log/?


I don't think it's really burnt, it just stays in the contract. I could also do something like: `require(msg.value % peers.length == 0, 'Invalid amount sent!');`

Would you consider this a better approach?


It would change the owner to an address that nobody controls. The real owner would be locked out.


:white_check_mark: All Rules (2 / 2) Passed

      :crown: Good job! this pull request is aligned with your organization's best practices!

      :point_right: You can review your rules settings at smart policy management :point_left:

:point_right: click here to view a full list of the events :point_left:


<details>

<summary>Submitting the task to Taskcluster failed. Details</summary>

Client ID project/taskcluster/tc-github/production-2 does not have sufficient scopes and is missing the following scopes:

```
{
  "AllOf": [
    "docker-worker:capability:privileged",
    {
      "AnyOf": [
        {
          "AnyOf": [
            "queue:create-task:highest:aws-provisioner-v1/releng-svc",
            "queue:create-task:very-high:aws-provisioner-v1/releng-svc",
            "queue:create-task:high:aws-provisioner-v1/releng-svc",
            "queue:create-task:medium:aws-provisioner-v1/releng-svc",
            "queue:create-task:low:aws-provisioner-v1/releng-svc",
            "queue:create-task:very-low:aws-provisioner-v1/releng-svc",
            "queue:create-task:lowest:aws-provisioner-v1/releng-svc"
          ]
        },
        {
          "AnyOf": [
            "queue:create-task:aws-provisioner-v1/releng-svc",
            {
              "AllOf": [
                "queue:define-task:aws-provisioner-v1/releng-svc",
                "queue:task-group-id:taskcluster-github/agKQJB0tStOTErse6fX1WQ",
                "queue:schedule-task:taskcluster-github/agKQJB0tStOTErse6fX1WQ/dEgtWfvaQEKVSvRNA6IHKg"
              ]
            }
          ]
        }
      ]
    }
  ]
}
```

This request requires the client to satisfy the following scope expression:

```
{
  "AllOf": [
    "docker-worker:capability:privileged",
    "queue:route:statuses",
    {
      "AnyOf": [
        {
          "AllOf": [
            "queue:scheduler-id:taskcluster-github",
            {
              "AnyOf": [
                "queue:create-task:highest:aws-provisioner-v1/releng-svc",
                "queue:create-task:very-high:aws-provisioner-v1/releng-svc",
                "queue:create-task:high:aws-provisioner-v1/releng-svc",
                "queue:create-task:medium:aws-provisioner-v1/releng-svc",
                "queue:create-task:low:aws-provisioner-v1/releng-svc",
                "queue:create-task:very-low:aws-provisioner-v1/releng-svc",
                "queue:create-task:lowest:aws-provisioner-v1/releng-svc"
              ]
            }
          ]
        },
        {
          "AnyOf": [
            "queue:create-task:aws-provisioner-v1/releng-svc",
            {
              "AllOf": [
                "queue:define-task:aws-provisioner-v1/releng-svc",
                "queue:task-group-id:taskcluster-github/agKQJB0tStOTErse6fX1WQ",
                "queue:schedule-task:taskcluster-github/agKQJB0tStOTErse6fX1WQ/dEgtWfvaQEKVSvRNA6IHKg"
              ]
            }
          ]
        }
      ]
    }
  ]
}
```

---

* method:     createTask
* errorCode:  InsufficientScopes
* statusCode: 403
* time:       2019-07-11T11:54:30.394Z

</details>


I guess it's okay as long as you have access to address 0.


it could also be that the version of docker used on the build server doesnt support multi stage builds with the AS command, and you need to remove the `AS builder` portion and instead just reference is by `--from=0`


:white_check_mark: All Rules (6 / 6) Passed

      :crown: Good job! this pull request is aligned with your organization's best practices!

      :point_right: You can review your rules settings at smart policy management :point_left:

:point_right: click here to view a full list of the events :point_left:


Noted.


This one is controlled by init script (spectrum profiles).


changes from one of the commits made while pair programming with Guille, PR : https://github.com/myroslavarm/Experimental-Completion/pull/44


It is the owner that would expend the gas. The contract's balance is not used for gas.
In your complicated setup, you could separate the peer knowledge and the balance knowledge. So that you can modify the peer knowledge without touching the balance.
It will get us a bit closer to where I want to get you.


Because we don't have a use case.


Successfully aliased the URL <https://feedback-app-j5uazlpil.now.sh> to the following aliases:

* https://feedback-app.r3nya.now.sh
* https://feedback-app-git-master.r3nya.now.sh


Not travis, production builds. Hangs with a `[sh]` zombie process. Example log:
https://raw.githubusercontent.com/QubesOS/build-logs/bf6e64fbfb535624fd50ce13e41446cb5578c540/build-fedora4/log_2019-07-07_03-59-22
Mostly affects kernel build for 4.1 (fc29), but not sure if hasn't happened for 4.0 too.


Yep, look at `docker-compose.yml` :)


Exactly. And this `peers.length` is under the control of the contract. You do not want such `O(n)`. Never. Only acceptable is `O(k)` where `k` is a parameter of the function itself so that it can be modulated.
Of course, the owner can remove peers until it works again. But which peers? Is it fair?


this seems more readable:

```php
            if ($c[0] === '/') {
```

however, it throws warning if `$c` is empty string, so perhaps:

```php
            if (($c[0] ?? null) === '/') {
```

but that's not so readable any more; so not sure if worth the change


I think line 31
`.search-box .collapse-btn {`
is resulting in issue #319.

For a mobile view (search collapsed state) the search icon (`collapse-btn`) is rendered on its own, independently of the search-box. Since the search-box is not rendered in the collapsed state, making `collapse-btn` a subset of search-box is problematic.

Is it OK to revert the scope of `collapse-btn` or is there a better solution?


Damn, this is great! :D


I think `LogClaim` -> `LogReceived`, but not sure about that.


Successfully aliased the URL <https://programming-20-pd3wz86t6.now.sh> to the following aliases:

* https://programming-20.now.sh
* https://programming-20.mooc.now.sh
* https://programming-20-git-master.mooc.now.sh


Also, yes, when reusing a storage value, memory will be cheaper.


我用得上zabbix3.0.7 执行脚本都可以发现信息，为什么模板不能自动发现了


Congrats! Seems a good simplification


Deployment failed with the following error:

~~~
An internal error occurred with ZEIT Now.
~~~


I did this way, because I wanted this contract to be flexible. On the other hand, I was aware of the issue, so probably I should add a reasonable cap on the number of peers. That would make sense, right?


It is an approach I can accept. The con of it is that if `msg.sender` is a contract that is not so clever, it will fail all the time without it being able to readjust.
Another approach is to explicitly give it to the owner as a tip.


[R/calc_K.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the average number of junctions after an infinite number of generations, provided information on the initial heterozygosity, population size and the number of generations.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calc_K.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calc_K.R:11:20:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L11) *style:* **Variable or function name should be snake_case.**
```r
calc_k <- function(N = Inf,
                   ^
```
[R/calc_K.R:12:20:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L12) *style:* **Variable or function name should be snake_case.**
```r
                   R = Inf,
                   ^
```
[R/calc_K.R:13:20:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L13) *style:* **Variable or function name should be snake_case.**
```r
                   H_0 = 0.5,
                   ^~~
```
[R/calc_K.R:16:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L16) *style:* **Variable or function name should be snake_case.**
```r
  K <- H_0 * C * 2 * N * R / (2 * N * C + R)
  ^
```
[R/calc_K.R:19:5:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L19) *style:* **Variable or function name should be snake_case.**
```r
    K <- H_0 * R
    ^
```
[R/calc_K.R:23:5:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L23) *style:* **Variable or function name should be snake_case.**
```r
    K <- H_0 * C * 2 * N
    ^
```
[R/calc_K.R:27:5:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calc_K.R#L27) *style:* **Variable or function name should be snake_case.**
```r
    K <- Inf
    ^
```
[R/calculate_error.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the error in the estimate of the onset of hybridisation, following Equations 3 & 4 in the Supplementary information of Janzen et al. 2018.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_error.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_error.R:9:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L9) *style:* **Lines should not be more than 80 characters.**
```r
#' @param relative Boolean flag, if TRUE: return the relative error, if FALSE: return error in generations
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_error.R:15:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L15) *style:* **Variable or function name should be snake_case.**
```r
time_error <- function(J = NA,
                       ^
```
[R/calculate_error.R:16:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L16) *style:* **Variable or function name should be snake_case.**
```r
                       N = Inf,
                       ^
```
[R/calculate_error.R:17:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L17) *style:* **Variable or function name should be snake_case.**
```r
                       R = Inf,
                       ^
```
[R/calculate_error.R:18:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L18) *style:* **Variable or function name should be snake_case.**
```r
                       H_0 = 0.5,
                       ^~~
```
[R/calculate_error.R:24:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L24) *style:* **Variable or function name should be snake_case.**
```r
  K <- junctions::calc_k(N, R, H_0, C)
  ^
```
[R/calculate_error.R:30:7:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L30) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if ( relative) return(  error)
      ^
```
[R/calculate_error.R:30:25:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_error.R#L30) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if ( relative) return(  error)
                        ^
```
[R/calculate_MAT.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Function that calculates the maximum time after hybridization after which the number of junctions can still be reliably used to estimate the onset of hybridization. This is following equation 15 in Janzen et al. 2018.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_MAT.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_MAT.R:12:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L12) *style:* **Variable or function name should be snake_case.**
```r
calculate_mat <- function(N = Inf,
                          ^
```
[R/calculate_MAT.R:13:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L13) *style:* **Variable or function name should be snake_case.**
```r
                          R = Inf,
                          ^
```
[R/calculate_MAT.R:14:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L14) *style:* **Variable or function name should be snake_case.**
```r
                          H_0 = 0.5,
                          ^~~
```
[R/calculate_MAT.R:20:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_MAT.R#L20) *style:* **Variable or function name should be snake_case.**
```r
  K <- junctions::calc_k(N, R, H_0, C)
  ^
```
[R/calculate_time.R:1:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L1) *style:* **Lines should not be more than 80 characters.**
```r
#' Estimate the time since the onset of hybridization, using the number of junctions
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_time.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Estimate the time since the onset of hybridization, following equation 14 in Janzen et al. 2018
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_time.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_time.R:11:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L11) *style:* **Lines should not be more than 80 characters.**
```r
#' estimate_time(J = J, N = 100, R = 1000, H_0 = 0.5, C = 1)  # should be 200 again
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/calculate_time.R:13:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L13) *style:* **Variable or function name should be snake_case.**
```r
estimate_time <- function(J = NA,
                          ^
```
[R/calculate_time.R:14:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L14) *style:* **Variable or function name should be snake_case.**
```r
                          N = Inf,
                          ^
```
[R/calculate_time.R:15:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L15) *style:* **Variable or function name should be snake_case.**
```r
                          R = Inf,
                          ^
```
[R/calculate_time.R:16:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L16) *style:* **Variable or function name should be snake_case.**
```r
                          H_0 = 0.5,
                          ^~~
```
[R/calculate_time.R:28:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/calculate_time.R#L28) *style:* **Variable or function name should be snake_case.**
```r
  K <- junctions::calc_k(N, R, H_0, C)
  ^
```
[R/estimate_time_markers.R:1:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L1) *style:* **Lines should not be more than 80 characters.**
```r
#' Estimate the time since the onset of hybridization, using the observed number of junctions, taking into account the distribution of markers
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Estimate the time since the onset of hybridization, following equation 1 in Janzen et al. unpublished
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param marker_distribution A vector containing the position of all markers in Morgan.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param lower_lim lower limit of the optimization algorithm. Increase if the expected admixture time is relatively ancient
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:8:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
#' @param upper_lim upper limit of hte optimization algorithm. If set too large, recent admixture events can be overlooked - best to set as low as possible.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:12:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L12) *style:* **Lines should not be more than 80 characters.**
```r
#' J <- number_of_junctions_markers(N = 100, H_0 = 0.5, t = 200, marker_distribution = markers)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_markers.R:18:35:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L18) *style:* **Variable or function name should be snake_case.**
```r
estimate_time_markers <- function(J = NA,
                                  ^
```
[R/estimate_time_markers.R:19:35:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L19) *style:* **Variable or function name should be snake_case.**
```r
                                  N = Inf,
                                  ^
```
[R/estimate_time_markers.R:20:35:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L20) *style:* **Variable or function name should be snake_case.**
```r
                                  H_0 = 0.5,
                                  ^~~
```
[R/estimate_time_markers.R:34:71:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_markers.R#L34) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  fitted <- stats::optimize(to_fit, interval = c(lower_lim, upper_lim) )
                                                                      ^
```
[R/estimate_time_phased.R:2:57:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L2) *style:* **Variable or function name should be snake_case.**
```r
get_prob_from_matrix_phased <- function(left, right, p, P) {
                                                        ^
```
[R/estimate_time_phased.R:108:19:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L108) *warning:* **no visible global function definition for ‘single_state’**
```r
  seven_states <- single_state(local_time, N = pop_size, d = di)
                  ^~~~~~~~~~~~
```
[R/estimate_time_phased.R:135:23:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L135) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                      ^
```
[R/estimate_time_phased.R:135:32:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L135) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                               ^
```
[R/estimate_time_phased.R:138:10:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L138) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  return( log(focal_prob))
         ^
```
[R/estimate_time_phased.R:142:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L142) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculates the time since admixture, given unphased ancestry data.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:143:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L143) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc_matrix Local_anc can be provided as either matrix with two columns, where the first column represents ancestry on chromosome 1, and the second column represents ancestry on chromosome 2. Ancestry labels used should be [0, 1], where 0 indicates the first ancestor, and 1 indicates the second ancestor. Alternatively, the user can provide a vector using labels indicating whether at the specific marker, the focal individual is homozygous for the first ancestor (label = 1), homozygous for the second ancestor (label = 2), heterozygous [0,1] (label = 3) or heterozygous [1, 0] (label = 4).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:147:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L147) *style:* **Lines should not be more than 80 characters.**
```r
#' @param lower_lim lower limit of the optimization algorithm. Increase if the expected admixture time is relatively ancient
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:148:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L148) *style:* **Lines should not be more than 80 characters.**
```r
#' @param upper_lim upper limit of hte optimization algorithm. If set too large, recent admixture events can be overlooked - best to set as low as possible.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:149:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L149) *style:* **Lines should not be more than 80 characters.**
```r
#' @param optim_pop_size If TRUE, population size is also optimized. Starting point of the optimizaton will then be on the given population size, and half the maximum time.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/estimate_time_phased.R:184:11:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L184) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:4) != length(labels)) {
          ^
```
[R/estimate_time_phased.R:191:58:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_phased.R#L191) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/estimate_time_unphased.R:2:50:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L2) *style:* **Variable or function name should be snake_case.**
```r
get_prob_from_matrix <- function(left, right, p, P) {
                                                 ^
```
[R/estimate_time_unphased.R:12:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L12) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- (p ^ 2) * ( P[1] + P[4] + P[7] ) +
                       ^
```
[R/estimate_time_unphased.R:12:43:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L12) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- (p ^ 2) * ( P[1] + P[4] + P[7] ) +
                                          ^
```
[R/estimate_time_unphased.R:18:22:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L18) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- p * q * ( p * q * P[3] +
                     ^
```
[R/estimate_time_unphased.R:35:24:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L35) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    prob <- (q ^ 2) * ( P[1] + P[4] + P[7]) +
                       ^
```
[R/estimate_time_unphased.R:88:19:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L88) *warning:* **no visible global function definition for ‘single_state’**
```r
  seven_states <- single_state(local_time, N = pop_size, d = di)
                  ^~~~~~~~~~~~
```
[R/estimate_time_unphased.R:115:23:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L115) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                      ^
```
[R/estimate_time_unphased.R:115:32:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L115) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    final_prob <- log( rel_prob )
                               ^
```
[R/estimate_time_unphased.R:118:12:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L118) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
    return( log(focal_prob))
           ^
```
[R/estimate_time_unphased.R:175:11:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L175) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:3) != length(labels)) {
          ^
```
[R/estimate_time_unphased.R:182:58:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/estimate_time_unphased.R#L182) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/number_of_junctions_backcross.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_backcross.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the expected number of junctions after t generations, in a backcrossing mating scheme.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_backcross.R:4:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_backcross.R#L4) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_backcross.R:10:43:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_backcross.R#L10) *style:* **Variable or function name should be snake_case.**
```r
number_of_junctions_backcross <- function(H_0 = 0.5,
                                          ^~~
```
[R/number_of_junctions_di.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_di.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' Calculate the expected number of junctions between two markers separated by a given amount of recombination
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_di.R:3:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_di.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the expected number of junctions after t generations, provided information on the initial heterozygosity, population size, the number of generations since the onset of admixture and the distance between two markers.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_di.R:12:36:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_di.R#L12) *style:* **Variable or function name should be snake_case.**
```r
number_of_junctions_di <- function(N = Inf,
                                   ^
```
[R/number_of_junctions_di.R:13:36:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_di.R#L13) *style:* **Variable or function name should be snake_case.**
```r
                                   H_0 = 0.5,
                                   ^~~
```
[R/number_of_junctions_markers.R:1:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L1) *style:* **Lines should not be more than 80 characters.**
```r
#' Calculate the expected total number of junctions in a chromosome, given the distribution of markers
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_markers.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the expected number of junctions after t generations, provided information on the initial heterozygosity, population size, the number of generations since the onset of admixture and the distribution of markers.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_markers.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param marker_distribution A vector containing the position of all markers in Morgan.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions_markers.R:20:41:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L20) *style:* **Variable or function name should be snake_case.**
```r
number_of_junctions_markers <- function(N = Inf,
                                        ^
```
[R/number_of_junctions_markers.R:21:41:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L21) *style:* **Variable or function name should be snake_case.**
```r
                                        H_0 = 0.5,
                                        ^~~
```
[R/number_of_junctions_markers.R:32:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions_markers.R#L32) *warning:* **no visible global function definition for ‘number_of_junctions_di’**
```r
    expected_junctions <- number_of_junctions_di(N, H_0, t, di)
                          ^~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculate the average number of junctions after t generations, provided information on the initial heterozygosity, population size and the number of generations.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param C Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/number_of_junctions.R:13:33:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L13) *style:* **Variable or function name should be snake_case.**
```r
number_of_junctions <- function(N = Inf,
                                ^
```
[R/number_of_junctions.R:14:33:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L14) *style:* **Variable or function name should be snake_case.**
```r
                                R = Inf,
                                ^
```
[R/number_of_junctions.R:15:33:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L15) *style:* **Variable or function name should be snake_case.**
```r
                                H_0 = 0.5,
                                ^~~
```
[R/number_of_junctions.R:28:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/number_of_junctions.R#L28) *style:* **Variable or function name should be snake_case.**
```r
  K <- junctions::calc_k(N, R, H_0, C)
  ^
```
[R/optim_limits.R:5:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/optim_limits.R#L5) *style:* **Lines should not be more than 80 characters.**
```r
#' @param calc_func function to calculate the time, should accept two arguments: upper, lower and should return a stats::optimize object with two properties: $minimum and $objective
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/optim_limits.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/optim_limits.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param iterations number of times the boundaries should be adjusted to obtain an estimate that is not close to the boundaries. After this number of iterations is exceeded, NA is returned
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/phased_log_likelihood.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/phased_log_likelihood.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculates the log likelihood of observing the phased data, given the population size, initial heterozygosity and time since admixture
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/phased_log_likelihood.R:3:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/phased_log_likelihood.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc_matrix Local_anc can be provided as either matrix with two columns, where the first column represents ancestry on chromosome 1, and the second column represents ancestry on chromosome 2. Ancestry labels used should be [0, 1], where 0 indicates the first ancestor, and 1 indicates the second ancestor. Alternatively, the user can provide a vector indicating whether at the specific marker, the focal individual is homozygous for the first ancestor (0), homozygous for the second ancestor (1) or heterozygous (2).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/phased_log_likelihood.R:38:11:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/phased_log_likelihood.R#L38) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:4) != length(labels)) {
          ^
```
[R/phased_log_likelihood.R:45:58:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/phased_log_likelihood.R#L45) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/sim_backcrossing.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_backcrossing.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param size_in_morgan Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_backcrossing.R:11:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_backcrossing.R#L11) *style:* **Lines should not be more than 80 characters.**
```r
#' recorded to be returned at the end of the simulation. If left at -1, ancestry is recorded at every generation (computationally heavy).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_backcrossing.R:12:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_backcrossing.R#L12) *style:* **Lines should not be more than 80 characters.**
```r
#' @return List with five entries: average_junctions: average number of junctions over time, detected_junctions: average number of detected junctions, given the markers. markers: vector with the locations of the molecular markers, junction_distribution: distribution of junctions per time step average_heterozygosity: average heterozygosity.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_fin_chrom.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_fin_chrom.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Individual based simulation of the accumulation of junctions for a chromosome with regularly distributed markers.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_fin_chrom.R:5:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_fin_chrom.R#L5) *style:* **Lines should not be more than 80 characters.**
```r
#' @param morgan Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_fin_chrom.R:9:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_fin_chrom.R#L9) *style:* **Lines should not be more than 80 characters.**
```r
#' @return \item{avgJunctions}{vector of the average number of junctions at time = [0, total_runtime]}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_fin_chrom.R:17:27:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_fin_chrom.R#L17) *style:* **Remove spaces before the left parenthesis in a function call.**
```r
sim_fin_chrom <- function (pop_size = 100,
                          ^
```
[R/sim_fin_chrom.R:22:28:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_fin_chrom.R#L22) *style:* **Variable or function name should be snake_case.**
```r
                           R = 100) {
                           ^
```
[R/sim_inf_chrom.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_inf_chrom.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Individual based simulation of the accumulation of junctions for a chromosome with an infinite number of recombination sites.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_inf_chrom.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_inf_chrom.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param morgan Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_inf_chrom.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_inf_chrom.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param markers The number of genetic markers superimposed on the chromosome. If markers is set to -1, no markers are superimposed (faster simulation)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_inf_chrom.R:9:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_inf_chrom.R#L9) *style:* **Lines should not be more than 80 characters.**
```r
#' @return \item{avgJunctions}{vector of the average number of junctions at time = [0, total_runtime]}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_unphased.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_phased_unphased.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Individual based simulation of the accumulation of junctions, returning phased and unphased data. Ancestry on both chromosomes of 10 randomly sampled individuals per generations is returned.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_unphased.R:6:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_phased_unphased.R#L6) *style:* **Lines should not be more than 80 characters.**
```r
#' @param size_in_morgan Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_unphased.R:7:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_phased_unphased.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param number_of_markers The number of genetic markers superimposed on the chromosome.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_unphased.R:8:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_phased_unphased.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
#' @param time_points vector with time points at which local ancestry has to be recorded to be returned at the end of the simulation. If left at -1, ancestry is recorded at every generation (computationally heavy).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/sim_phased_unphased.R:11:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/sim_phased_unphased.R#L11) *style:* **Lines should not be more than 80 characters.**
```r
#' @return a tibble with five columns: [time, individual, marker location, ancestry chromosome 1, ancestry chromosome 2]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/unphased_log_likelihood.R:2:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/unphased_log_likelihood.R#L2) *style:* **Lines should not be more than 80 characters.**
```r
#' @description Calculates the log likelihood of observing the unphased data, given the population size, initial heterozygosity and time since admixture
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/unphased_log_likelihood.R:3:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/unphased_log_likelihood.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' @param local_anc_matrix Local_anc can be provided as either matrix with two columns, where the first column represents ancestry on chromosome 1, and the second column represents ancestry on chromosome 2. Ancestry labels used should be [0, 1], where 0 indicates the first ancestor, and 1 indicates the second ancestor. Alternatively, the user can provide a vector indicating whether at the specific marker, the focal individual is homozygous for the first ancestor (0), homozygous for the second ancestor (1) or heterozygous (2).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/unphased_log_likelihood.R:34:11:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/unphased_log_likelihood.R#L34) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (sum( labels %in% 1:3) != length(labels)) {
          ^
```
[R/unphased_log_likelihood.R:41:58:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/unphased_log_likelihood.R#L41) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                      local_anc[2:length(local_anc)]      )
                                                         ^
```
[R/util.R:22:10:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L22) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  return( get_states_vector(local_anc))
         ^
```
[R/util.R:22:11:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L22) *warning:* **no visible global function definition for ‘get_states_vector’**
```r
  return( get_states_vector(local_anc))
          ^~~~~~~~~~~~~~~~~
```
[R/util.R:56:42:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L56) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
                    (local_anc_matrix[, 1 ] == local_anc_matrix[, 2]))
                                         ^
```
[R/util.R:108:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L108) *style:* **Variable or function name should be snake_case.**
```r
get_expectation_O_state <- function(P, p, focal_state) {
^~~~~~~~~~~~~~~~~~~~~~~
```
[R/util.R:108:37:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L108) *style:* **Variable or function name should be snake_case.**
```r
get_expectation_O_state <- function(P, p, focal_state) {
                                    ^
```
[R/util.R:116:49:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L116) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (focal_state == 3) cond_prob <- (q ^ 2) * ( P[1] + P[4] + P[7]) +
                                                ^
```
[R/util.R:122:49:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L122) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  if (focal_state == 4) cond_prob <- (p ^ 2) * ( P[1] + P[4] + P[7]) +
                                                ^
```
[R/util.R:146:1:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L146) *style:* **Variable or function name should be snake_case.**
```r
get_expectation_O_state_phased <- function(P, p, focal_state) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/util.R:146:44:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L146) *style:* **Variable or function name should be snake_case.**
```r
get_expectation_O_state_phased <- function(P, p, focal_state) {
                                           ^
```
[R/util.R:151:18:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/R/util.R#L151) *warning:* **no visible global function definition for ‘get_expectation_O_state’**
```r
    cond_prob <- get_expectation_O_state(P, p, focal_state)
                 ^~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-equations.R:11:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-equations.R#L11) *style:* **Variable or function name should be snake_case.**
```r
  A <- is.infinite(v3)
  ^
```
[tests/testthat/test-equations.R:18:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-equations.R#L18) *style:* **Variable or function name should be snake_case.**
```r
  J <- junctions::number_of_junctions(N = 100, R = 1000,
  ^
```
[tests/testthat/test-marker_dist.R:4:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-marker_dist.R#L4) *style:* **Variable or function name should be snake_case.**
```r
  R <- 1000
  ^
```
[tests/testthat/test-marker_dist.R:16:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-marker_dist.R#L16) *style:* **Variable or function name should be snake_case.**
```r
  N <- 1e3
  ^
```
[tests/testthat/test-marker_dist.R:17:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-marker_dist.R#L17) *style:* **Variable or function name should be snake_case.**
```r
  R <- 1000
  ^
```
[tests/testthat/test-marker_dist.R:60:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-marker_dist.R#L60) *style:* **Variable or function name should be snake_case.**
```r
  N <- 1e3
  ^
```
[tests/testthat/test-marker_dist.R:61:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-marker_dist.R#L61) *style:* **Variable or function name should be snake_case.**
```r
  R <- 1000
  ^
```
[tests/testthat/test-sims.R:4:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-sims.R#L4) *style:* **Variable or function name should be snake_case.**
```r
  R <- 100 #chromosome size
  ^
```
[tests/testthat/test-sims.R:5:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-sims.R#L5) *style:* **Variable or function name should be snake_case.**
```r
  N <- 100 #population size
  ^
```
[tests/testthat/test-sims.R:6:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-sims.R#L6) *style:* **Variable or function name should be snake_case.**
```r
  H_0 <- 0.5 #initial heterozygosity
  ^~~
```
[tests/testthat/test-sims.R:29:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-sims.R#L29) *style:* **Variable or function name should be snake_case.**
```r
  N <- 50 #population size
  ^
```
[tests/testthat/test-sims.R:30:3:](https://github.com/thijsjanzen/junctions/blob/0f6e260da45978fc0050cef055790f7c11fb7b96/tests/testthat/test-sims.R#L30) *style:* **Variable or function name should be snake_case.**
```r
  H_0 <- 0.5 #initial heterozygosity
  ^~~
```


How would you implement this tip?


If you want me to take a look, just open a Pull Request


Successfully aliased the URL <https://abusi-edilizi-opendata-3qowoql59.now.sh> to the following aliases:

* https://abusi-edilizi-opendata.dej611.now.sh
* https://abusi-edilizi-opendata-git-master.dej611.now.sh


If you have access to address 0, make sure you get rich from it.
I think nobody will never get access to address 0. Setting to address 0 means you are renouncing ownership.
https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/ownership/Ownable.sol#L54-L57


Successfully aliased the URL <https://wiki-ojtq78b1x.now.sh> to the following aliases:

* https://wiki.ryanc.top
* https://wiki.sirm2zisv.now.sh
* https://wiki-git-master.sirm2zisv.now.sh


That's right, I will just change it to private and this should be okay.


:) Nice, that's even more straightforward.


Oof